docs(security): 2.4.0 at-rest encryption key advisory + --encryption-key - #79
Conversation
✅ Deploy Preview for authorizerdev-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Pushed New page: Email Verification Contract
Adapted rather than copied: dropped the test-matrix section and the internal Go file references ( Breaking changes documented
Social logins now require provider attestation of the email. New section under the social-provider list covering why OAuth proves nothing about an address, the Entra specifics (no
Two deliberate non-changes
I did verify the claims I did port. The 30-minute link TTL and "resend mints a fresh request when none exists" are both real in main ( Verified
|
Adds the email verification contract as a docs page (ported from the server repo) and documents the 2.4.0 changes that break existing deployments: - --enable-email-verification with no SMTP is now a fatal boot error - social logins whose provider does not attest the email no longer reach an existing account (nOAuth), plus the three Entra fixes and the escape hatch - _delete_user / DeleteUser take id instead of email, across GraphQL, REST and gRPC versioned_docs/version-1.x is deliberately untouched — delete_user really did take email in v1.
The schema type is DeleteUserRequest, not DeleteUserInput.
247543a to
14d06bb
Compare
authorizerdev/authorizer#755 landed the verify-email core on main, which documents two user-visible behaviours the ported page lacked: requesting a new link invalidates the previous one immediately (nonce rotation), and the resend response is deliberately generic so it cannot be used to probe which addresses are registered.
Documents the security advisory and breaking change from authorizerdev/authorizer#742.
2.2.1-rc.2→2.4.0-rc.13, RSA/ECDSA only, with an affected/not-affected table and remediation steps.--jwt-secretkeys the encryption. It doesn't any more, and the runtime error message they quoted was stale.--encryption-keyreference in server-config, with the three-state behaviour table (set / falls back / refuses to start).Also advises setting
--encryption-keyexplicitly even on HMAC installs: while it and--jwt-secretare the same value, rotating the JWT secret — routine on its own — silently destroys every TOTP enrolment, because the at-rest key has no re-encryption path.Verified with
npm run build; new anchors resolve.