Repository navigation
feat(auth): password managers forget passkeys you remove - #391
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 54 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Every account page tells the browser's password manager, by the WebAuthn Signal API's signalAllAcceptedCredentials, the credential ID of every passkey that still signs in: the rows sign-in itself checks against. The password manager then forgets the account's others, such as one removed in the settings, instead of offering a passkey that can only fail.
PiquelChips
force-pushed
the
feat/forget-removed-passkeys
branch
from
November 6, 2026 13:25
1619ad3 to
d441bb4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When you removed a passkey in the settings, your password manager kept it. It went on offering that passkey at sign-in, where it could only fail.
Now every account page tells the browser's password manager which of your passkeys still sign in, using the WebAuthn Signal API (
signalAllAcceptedCredentials). Where the browser supports it (Chrome 132+, Safari 26), the password manager hides or deletes the others. This sits beside the existingsignalCurrentUserDetails, which already keeps a renamed handle up to date.The password manager drops every passkey of the account that the list leaves out, so a missing ID would lose a working passkey. To prevent that:
list_active, the same rows sign-in checks an assertion against, with no filtering or paging. A passkey is on it exactly when it can sign in.-and_), one of them removed, plus another account's passkey. Each page must list exactly the 11 active ones. Making the server drop one passkey fails it.settings.spec.tschecks, after sign-up, adding a passkey and removing one, that what the page sends matches exactly the credentials Chromium's virtual authenticators hold (same RP ID, user handle and IDs), and that Chromium accepts the call. Dropping one ID fails it. It passed against a preview.The admin dashboard sends nothing, so an administrator's browser is never told about other accounts. Security keys such as a YubiKey keep their copy, since browsers never signal external authenticators.
Proved by the two tests above, each seen failing with a passkey left out, and by
settings.spec.tspassing against a piqueld preview.Reviewed with review-loop: 2 rounds with 2× GPT-6.1 Sol and Claude Opus 5.5. Verdict: approved
Note
Written by Claude Opus 5.5 in Claude Code and reviewed by GPT-6.1 Sol and Claude Opus 5.5 (via T3 Code)