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
{{ message }}
Repository navigation
Commit 4b28fa4
Browse filesBrowse the repository at this point in the historyBrowse files
A signature counter regression, a sign of a copied passkey, was only logged
at debug, which the default filter drops, and the authentication
transaction rolled back with no security_audit_log row.
It now logs a warning with the stable event
`auth.passkey_counter_regression` and the user_id, rolls back the
authentication transaction, and appends a `passkey.counter_regression`
`rejected` audit row on the pool. Regressions are caught both by
webauthn-rs against the ceremony snapshot (CredentialPossibleCompromise,
which now converts to PasskeyError::CounterRegression) and by the locked
recheck. Other browser-triggered rejections stay at debug so
unauthenticated clients cannot flood the logs or a victim's audit history.
Refresh and authorization-code rejections commit their revocation and
audit row through `commit_rejection`, now built on the new
`record_rejection`, and both replay warnings are logged before that commit
with the user_id. Tests read
audit rows through `list_for_user` behind a `test-support` feature, and
`just db prepare` builds with all features so its query is cached.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments