Skip to content

Commit 5e58eae

Browse files
PiquelChipsclaude
andcommitted
docs: say what older unknown_account events meant, and that #101 plans the 404
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a96887a commit 5e58eae

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎crates/common/src/events.rs‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,8 +1010,9 @@ crate::str_enum! {
10101010
InvalidCredential = "invalid_credential",
10111011
/// A passkey's signature counter did not increase, so it may have been copied.
10121012
CounterRegression = "counter_regression",
1013-
/// No active account holds the handle. Only older events have it: handle
1014-
/// sign-in now refuses such a handle before any attempt.
1013+
/// No active account with a passkey held the handle, or the text was no
1014+
/// handle. Only older events have it: handle sign-in now refuses these
1015+
/// before any attempt.
10151016
UnknownAccount = "unknown_account",
10161017
/// The account is disabled, or cannot sign in this way any more.
10171018
AccountUnavailable = "account_unavailable",

‎docs/security/handles.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This was decided in [#255](https://github.com/piquel-fr/piquel-fr/issues/255).
3737
| Anyone, through handle sign-in | Whether the handle belongs to an account that can sign in with a passkey by handle: one that is active, or scheduled for deletion, and has an unrevoked passkey. If so, that account's credential IDs too, which `WebAuthn` lists for the browser: how many passkeys it has and, from their lengths, often which provider holds them. |
3838
| Anyone admitted to signup, and every account holder through a rename | Whether the handle, or a look-alike, is held or was held, and which look-alike. |
3939
| Relying parties the user signs in to | The handle, as `preferred_username`. |
40-
| Anyone, once a profile is published (#101) | The profile. An unpublished profile answers 404 like an unknown handle, so it reveals nothing beyond what sign-in does. |
40+
| Anyone, once a profile is published (#101) | The profile. #101 has an unpublished profile answer 404 like an unknown handle, so it reveals nothing beyond what sign-in does. |
4141

4242
The account picker (signing in without a handle) reveals nothing: the
4343
authenticator names the account.

0 commit comments

Comments
 (0)