Read recovery phrases against the BIP39 list, and fix four more privacy readings

A recovery phrase is now twelve to twenty-four words that are all on the
BIP39 English list, so a long request ("show every plane over london then
…") reaches Ask GEV while a phrase holding "find" or "please" is still
caught. A time in brackets is no IPv6 address (only a bracketed host after
"//" is), "St 123456 A" is no National Insurance number (spaced in pairs or
not at all), "my, ID 12345" keeps its owner, a partial "ssn 1" stays
private while typed, any CVV value is private, and a code followed by
"thanks" or "now" is still a code. Idaho's reading no longer slows down on
very long lines.

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-18 18:17:22 -08:00
1 parent d15c69a8ae
commit 2487500927
6 files changed
+252 -48

No files matched your search

+9
View File
@@ -394,6 +394,9 @@ test('streets named for keys, tokens and codes, and ZIP+4 after a state, are pla
'Access Token Road',
'Api Key Lane',
'GATE CODE LANE',
'meet at Central Park [12:30:00]',
'10 Main St 123456 A Block',
'show every plane over london then show every ship near boston please',
'SECURITY CODE PLAZA',
'OTP Bank',
'Auth Code ABCD Street',
@@ -480,6 +483,12 @@ test('spelled-out emails, addresses, phrases, codes and short phone numbers stay
'lockbox is 4821',
'ab 12 34 56 c',
'https://[::1]/',
'my, ID 12345',
'ssn 1',
'cvv BANK',
'PIN ABCD thanks',
'OTP ABCDEF now',
'AB123456C',
'ssn 123',
'Jo 12345-6789',
'Joe 1234 12345 thanks',