Are there risks in translating mnemonic phrases?

17 replies 208 views
Posts: 252 · Reputation: 12
#1Nov 22, 2024, 10:08 AM
I just started digging into this whole BIP39 and BIP32 thing. Tried generating some random mnemonic words, but I'm confused about translating them. Like, if Mr. A in China has his words exposed and Mr. B in Germany sees them, what's the risk? Should translation be a concern?
3 Reply Quote Share
cobra51Newbie
Posts: 100 · Reputation: 31
#2Nov 24, 2024, 03:11 PM
Uhh, that’s kinda missing the point of BIP39. These mnemonics aren’t just simple translations. Each word is tied to a specific index in a language-specific list, so they don't translate directly. If someone tries to translate them, they'll probably just get gibberish.
3 Reply Quote Share
0xNodeMember
Posts: 671 · Reputation: 80
#3Nov 24, 2024, 04:38 PM
So you’re saying if Mr. B finds Mr. A's words and thinks he can just translate them, it’s likely gonna fail? Like, checksum issues or something?
2 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#4Nov 24, 2024, 07:08 PM
Exactly. If an attacker gets their hands on the mnemonic, there’s no need for them to translate it into their own language. Just keep it in the original, that way it works.
3 Reply Quote Share
stacksatsHero Member
Posts: 404 · Reputation: 2023
#5Nov 24, 2024, 07:53 PM
To translate legally, you would still need to pick words from a language-specific list. And honestly, it’s not like the words are gonna match up perfectly, even if they exist in both lists.
2 Reply Quote Share
gang2015Member
Posts: 682 · Reputation: 62
#6Nov 25, 2024, 10:06 AM
Right, unless someone finds a collision in the PBKDF2 HMAC-SHA512 process, but that’s practically unlikely. The words themselves are hashed, not their meanings.
3 Reply Quote Share
Posts: 252 · Reputation: 12
#7Nov 25, 2024, 09:35 PM
If you can’t guess a seed in English, you’re not likely gonna have better luck in, like, Japanese or Mandarin, you know?
2 Reply Quote Share
cobra51Newbie
Posts: 100 · Reputation: 31
#8Nov 27, 2024, 06:27 AM
And if you're backing up in a different language, just use that official BIP word list. Trying to translate manually could lead to mistakes.
3 Reply Quote Share
0xNodeMember
Posts: 671 · Reputation: 80
#9Nov 27, 2024, 10:44 AM
What if Mr. B doesn't even know about those non-English lists? Some wallets don't support all of them. Like, Electrum only covers a handful.
5 Reply Quote Share
chrisomegaFull Member
Posts: 158 · Reputation: 631
#10Nov 27, 2024, 03:04 PM
Good point. BIP39 does discourage using anything but English since many wallets just ignore the rest of the languages.
2 Reply Quote Share
chain2011Senior Member
Posts: 49 · Reputation: 842
#11Nov 29, 2024, 04:54 AM
Definitely shouldn’t translate passphrases. Like, one English word could mean multiple things in Chinese, which causes confusion.
0 Reply Quote Share
cobra51Newbie
Posts: 100 · Reputation: 31
#12Nov 29, 2024, 07:15 AM
Yeah, and updating BIP39 isn’t straightforward either since it doesn’t even have version numbers. That’s why new languages haven't been added.
6 Reply Quote Share
wizard_2016Full Member
Posts: 127 · Reputation: 575
#13Nov 29, 2024, 11:36 AM
I’ve noticed Electrum kinda covers you if you import a BIP39 seed, but you’re gonna get an ‘unknown wordlist’ warning. Still generates fine, right?
2 Reply Quote Share
grimgangFull Member
Posts: 32 · Reputation: 355
#14Nov 30, 2024, 02:32 PM
Yep, to create wallets from seeds, Electrum doesn’t need the wordlist. But it does need it for verification, which is where that warning comes in.
3 Reply Quote Share
gang2015Member
Posts: 682 · Reputation: 62
#15Nov 30, 2024, 03:18 PM
I’m gonna test this out myself just to see how it goes. I mean, I took precautions, but there’s something interesting about this whole idea.
3 Reply Quote Share
chrisomegaFull Member
Posts: 158 · Reputation: 631
#16Nov 30, 2024, 05:56 PM
Yeah, keep us posted! I'm curious how it’ll turn out.
1 Reply Quote Share
Posts: 3523 · Reputation: 35
#17Nov 30, 2024, 08:37 PM
I tested with Italian and the addresses still generated correctly. I think I misunderstood how Electrum retrieves those lists.
0 Reply Quote Share
Posts: 3523 · Reputation: 35
#18Dec 1, 2024, 01:43 AM
No worries. Good to know it works with that language too.
3 Reply Quote Share

Related topics