Repository navigation
v6.8.0
·
13 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
An installation that moves to a new host name can now register new passkeys for the new relying party ID while the passkeys of the old one keep working for a transition period. After a sign-in with an old passkey, the app asks the user to create a new one. With the new variables unset nothing changes. One migration.
Features
- Passkeys can move to a new RP ID: new passkeys are registered for
WEBAUTHN_RP_ID, passkeys ofWEBAUTHN_LEGACY_RP_IDsign in through a second button on the login page and in the session-expired dialog ("Sign in with a passkey from "). A sign-in with such a passkey shows a notice, hideable for the session, that names the old host andWEBAUTHN_LEGACY_RP_ID_DEADLINEand links to Settings → Security, where old passkeys are marked. The client chooses only between the two configured RP IDs; the assertion is verified against the RP ID of the stored request options. See "Moving passkeys to a new RP ID" indocs/configuration.md— @CybotTM (#1062)
Upgrade notes
- Migration
Version20261203_AddWebauthnCredentialRpIdadds the nullable columnwebauthn_credentials.rp_id; existing rows stay null and count as the legacy RP ID until their next sign-in. WEBAUTHN_LEGACY_RP_IDandWEBAUTHN_LEGACY_RP_ID_DEADLINEdefault to empty. Set the RP ID and the legacy RP ID in one change, and keep both origins inWEBAUTHN_ALLOWED_ORIGINS.SECURITY.mdlists 6.8.x as the supported line (#1063).
Full Changelog: v6.7.0...v6.8.0