-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesthigh priorityHigh priority issueHigh priority issuesecuritySecurity-related issuesSecurity-related issues
Description
Part of #2
Securely store OAuth tokens at rest.
Tasks:
- AES-256-GCM encryption
- PBKDF2 key derivation
- JSON storage format (
~/.infershield/tokens.json) - Read/write/delete operations
Security:
- Master key from
INFERSHIELD_MASTER_KEYenv var - Random IV per token
- Store: {iv, authTag, ciphertext}
Refresh / lifecycle (from #5)
- Check expiry before use
- Refresh if nearing expiry (e.g., <5m)
- Persist refreshed tokens
- Handle refresh failure (revoke + re-auth required)
(Former issue #5 merged here.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthigh priorityHigh priority issueHigh priority issuesecuritySecurity-related issuesSecurity-related issues