From 18efe4439a0d278217130e0f04c174a90d87a713 Mon Sep 17 00:00:00 2001 From: Robert DeLanghe <1240090+bdelanghe@users.noreply.github.com> Date: Tue, 27 Oct 2026 08:11:33 -0400 Subject: [PATCH] content: add approve.script.already_has_passkey (from chitin #63) bdelanghe/chitin#63 gave the approve page a reason for WebAuthn InvalidStateError (the device already holds a passkey synced through iCloud Keychain) as the token script.already_has_passkey. It landed after #66 copied the approve group, so the shared file lacked it and chitin's pin to brand main fails its every-used-key-is-a-token test. Same text and description as chitin #63. Closes #69 Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_0117AAnztxdG2tNqQSCsQB7q --- content/strings.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/strings.json b/content/strings.json index 714e392..9817551 100644 --- a/content/strings.json +++ b/content/strings.json @@ -183,6 +183,10 @@ "$value": "The passkey prompt was cancelled or timed out.", "$description": "Page script: the reason shown when the WebAuthn prompt is dismissed or times out (NotAllowedError)." }, + "already_has_passkey": { + "$value": "This device already has your passkey (synced through iCloud Keychain). You can approve from here now; no new passkey is needed.", + "$description": "Page script: the reason shown when registering on a device that already holds one of the registered passkeys (WebAuthn InvalidStateError), e.g. an iPad that got the iPhone's passkey through iCloud Keychain." + }, "changed": { "$value": "this message changed since the page loaded. Reload and read it again.", "$description": "Page script: the reason shown when the challenge's recipient or text differs from what the page shows; nothing is signed."