1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 01:40:05 +01:00
bitcoin-bips/bip-0039
nullius 50c4f1255e
Fix two errors in the BIP 39 French wordlist
The BIP 39 wordlist contained two significant technical errors:

 - Byte Order Marker (BOM) U+FEFF at the beginning of the first line,
   preceding the word "abaisser".

 - No newline '\n' char terminating the last line, after "zoologie".

The former may cause user loss of funds.  An implementation which
generates a mnemonic phrase and also turns it into a BIP 39 seed value
may feed the string "<U+FEFF>abaisser" to the KDF, while displaying the
word "abaisser" to the user.  Of course, it cannot be expected that the
user would enter "<U+FEFF>abaisser" upon attempt to restore a wallet.
In the face of a buggy wordlist, whitespace handling and normalization
cannot be absolutely relied on to remove a notoriously mischievous
character.  Those who provide technical support may be well advised to
ask French users with unrestorable wallets, "Did your mnemonic phrase
contain the word 'abaisser'?"

The latter broke the shell script I use to massage wordlists into C
sources when building https://github.com/nym-zone/easyseed .

I know of only one commonplace platform where software regularly
prepends UTF-8 files with a spurious U+FEFF, and oftentimes omits a line
terminator on the last line even when asked to create a Unix ('\n') text
file.  It is RECOMMENDED that new wordlists be examined for correctness
using standard shell tools on a sane platform.
2018-01-01 04:50:24 +00:00
..
bip-0039-wordlists.md Add Korean wordlist 2017-08-10 10:56:41 +09:00
chinese_simplified.txt Add Chinese wordlist to BIP39 2014-12-16 08:11:49 +01:00
chinese_traditional.txt Add Chinese wordlist to BIP39 2014-12-16 08:11:49 +01:00
english.txt Added bip39 english wordlist 2014-02-07 20:43:04 +01:00
french.txt Fix two errors in the BIP 39 French wordlist 2018-01-01 04:50:24 +00:00
italian.txt Added bip39 Italian wordlist 2016-01-28 11:12:47 +01:00
japanese.txt Normalize word in wordlist to begin with 2015-03-12 14:10:02 +09:00
korean.txt Add Korean wordlist 2017-08-10 10:56:41 +09:00
spanish.txt NFKD normalize spanish word list 2015-03-11 23:17:02 -07:00