You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: simplify encryption key management and remove V1/V2 version distinction
- Make secretPepper configurable via ROOT_SECRET_PEPPER env var
- Derive HKDF salt/info dynamically from pepper instead of hardcoding
- Remove KeyVersion field from Project model (Go GORM + Python SQLAlchemy)
- Merge DeriveMasterKeyWrappingKey into single DeriveUserKEK function
- Rename ParseTokenV2 to ParseProjectToken, remove Version field
- Consolidate ResetSecretKey + RotateSecretKey(V2) into single RotateSecretKey
- Split key rotation into JWT admin route (non-encrypted only) and Bearer route
- Remove extractMasterKey, OldAPIKey param, GetParsedToken from admin handler
- Update Dashboard to route rotation based on encryption_enabled status
- Remove legacy key_version checks from Dashboard settings page
- Update E2E tests and unit tests to match simplified model
0 commit comments