feat: show the recovery code, and check a written-down copy (recovery-code-v3, Phase 6)

RecoveryCodeScreen shows the nine blocks in a numbered grid behind a
press, the code's 24 words for other apps behind a press of their own,
and asks for two blocks (never the first) from the paper; a match
records the backup. An unreadable codes file offers the phrase, which
seed.dat still holds. Key recovery offers the code for a code profile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-25 23:16:02 +02:00
1 parent 37efc10641
commit 5c6082d7d2
9 files changed
+1083 -1

No files matched your search

@@ -255,6 +255,27 @@
<string name="read_to_the_end_of_the_list_to_sign">Read to the end of the list to sign.</string>
<string name="recovery_phrase">Recovery phrase</string>
<string name="recovery_code">Recovery code</string>
<string name="the_recovery_code_is_nine_blocks">Your recovery code is nine blocks of four letters and digits. It is the only way back to this profile: the key that signs as you is derived from it.\n\nOnly you have this code. Keep it private — nobody from Giza will ever ask you for it.\n\nWrite all nine blocks down and keep them somewhere safe that is not this phone. If you lose both the phone and the code, this profile is gone for good.</string>
<string name="display_recovery_code">Display recovery code</string>
<string name="unlocking_your_code">Unlocking your code…</string>
<string name="keep_this_code_safe_do_not_share_it">Keep this code safe.\nDo not share it.</string>
<string name="the_ninth_block_is_part_of_the_code">The ninth block is part of the code. Write down all nine.</string>
<string name="block_number">Block %1$d</string>
<string name="could_not_unlock_your_recovery_code">Could not unlock your recovery code. Please try again.</string>
<string name="this_device_holds_no_code_for_this_profile">This device holds no recovery code for the profile that is signed in.</string>
<string name="no_profile_is_open_so_there_is_no_code_to_show">No profile is open, so there is no recovery code to show.</string>
<string name="show_the_recovery_phrase_instead">Show the recovery phrase instead</string>
<string name="you_have_not_backed_up_your_recovery_code">You have not backed up your recovery code</string>
<string name="use_this_profile_in_another_app">Use this profile in another app</string>
<string name="these_24_words_are_this_profile_for_other_apps">These 24 words are this profile for apps that take a recovery phrase. Your recovery code is still your backup — these words can't give it back.</string>
<string name="show_the_words">Show the words</string>
<string name="type_blocks_from_what_you_wrote_down">To check your backup, type block %1$d and block %2$d from what you wrote down.</string>
<string name="check_backup">Check backup</string>
<string name="those_blocks_do_not_match">Those blocks don't match the code. Check what you wrote down and try again.</string>
<string name="your_code_could_not_be_read_to_check">Your code could not be read to check against. Please try again.</string>
<string name="your_backup_matches">Your backup matches your recovery code.</string>
<string name="i_understand_that_if_i_lose_this_phone_and_my_code">I understand that if I lose this phone and my recovery code, I lose this profile.</string>
<string name="write_down_and_secure_the_nine_block_code">Write down and secure the nine-block code that this profile is derived from.</string>
<string name="ready_to_sign">Ready to sign</string>
<string name="recents">Recents</string>
<string name="reindex_events">Reindex events</string>