feat: sign in with a recovery code, and a typo is a suggestion (recovery-code-v3, Phase 5)
The sign-in field recognises a code by its shape before it reads words, so a code typed with spaces is not mistaken for a phrase. A code with one located typo says which block and character and offers the corrected code; accepting it goes to the confirm step, never straight to a write. Older eight-block codes are refused by name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ee5eb68017
commit
37efc10641
11 files changed
+306
-12
No files matched your search
@@ -453,23 +453,29 @@
|
||||
<string name="ask_again">Ask again</string>
|
||||
<!-- Sign in: docs/nsec-sign-in.md, phase 4. -->
|
||||
<string name="a_password_protected_key_ncryptsec_is_not">A password-protected key (ncryptsec) is not supported yet. Decrypt it in the app it came from and paste the nsec.</string>
|
||||
<string name="enter_a_recovery_phrase_or_an_nsec_to_sign_in">Enter a recovery phrase or an nsec to sign in.</string>
|
||||
<string name="enter_a_recovery_phrase_or_an_nsec_to_sign_in">Enter a recovery code, a recovery phrase or an nsec to sign in.</string>
|
||||
<string name="paste">Paste</string>
|
||||
<string name="recognised_as_a_nostr_secret_key_no_wallet">Recognised as a nostr secret key.</string>
|
||||
<string name="recognised_as_a_recovery_phrase_it_also">Recognised as a recovery phrase.</string>
|
||||
<string name="once_restored_here_stop_using_this_phrase">Giza keeps no wallet. Restoring the phrase here brings back the profile it signs as, and nothing else.</string>
|
||||
<string name="recognised_as_a_public_key_you_will_see">Recognised as a public key. You will see this profile and the people it follows; messages stay closed and nothing can be sent. Paste the nsec later to open it.</string>
|
||||
<string name="recovery_phrase_nsec_or_npub">Recovery phrase, nsec or npub</string>
|
||||
<string name="recovery_phrase_nsec_or_npub">Recovery code, phrase, nsec or npub</string>
|
||||
<string name="sign_in_with_a_recovery_phrase_an_nsec_or">Sign in with a recovery phrase, an nsec, or an npub to look around</string>
|
||||
<string name="signed_in">Signed in</string>
|
||||
<string name="signing_you_in">Signing you in…</string>
|
||||
<string name="that_is_not_a_recovery_phrase_or_a_nostr_key">That is not a recovery phrase or a nostr key.</string>
|
||||
<string name="that_is_not_a_recovery_phrase_or_a_nostr_key">That is not a recovery code, a recovery phrase or a nostr key.</string>
|
||||
<string name="that_nostr_secret_key_is_not_valid">That nostr secret key is not valid.</string>
|
||||
<string name="that_recovery_phrase_is_not_valid_check">That recovery phrase is not valid. Check each word and the order.</string>
|
||||
<string name="the_key_could_not_be_saved_on_this_device">The key could not be saved on this device.</string>
|
||||
<string name="the_words_or_the_key_never_leave_this_device">Whatever you paste stays on this device. Giza checks it, shows you the profile it opens, and writes nothing until you confirm.</string>
|
||||
<string name="this_key_is_already_on_this_device">This key is already on this device.</string>
|
||||
<string name="twelve_words_nsec1_or_npub1">Twelve words, nsec1… or npub1…</string>
|
||||
<string name="twelve_words_nsec1_or_npub1">LB… code, twelve words, nsec1… or npub1…</string>
|
||||
<string name="recognised_as_a_recovery_code">Recognised as a recovery code.</string>
|
||||
<string name="that_is_not_a_recovery_code_check_it_has_nine_blocks">That is not a recovery code. Check that it has nine blocks of four.</string>
|
||||
<string name="there_s_a_typo_in_this_code_check_each_block">There's a typo in this code. Check each block.</string>
|
||||
<string name="that_is_an_older_eight_block_code">That is an older eight-block code. Giza only uses nine-block recovery codes.</string>
|
||||
<string name="block_character_looks_wrong_did_you_mean">Block %1$d, character %2$d looks wrong. Did you mean %3$s?</string>
|
||||
<string name="use_this_code">Use this code</string>
|
||||
<string name="use_a_different_key">Use a different key</string>
|
||||
<string name="you_are_signing_in_as">You are signing in as</string>
|
||||
<!-- Sign in: the search that found nothing, docs/nsec-sign-in.md, phase 5. -->
|
||||
|
||||
Reference in new issue
Block a user