You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fact that validation/checksum fails by default when any letter is uppercase (word lookup fails, wordlists are necessarily lowercase) is a strong suggestion that it's an error to pass uppercase letters at all, but intuitively it seems like it should be case insensitive and should generate the same seed value lowercase would.
bip32-rs doesn't allow seed generation without validating checksums, but if you didn't look at that checksum before proceeding you would get a different seed due to the fact that pbkdf2 will happily eat whatever it is given.
A simple solution would seem to be forcing all phrases to lowercase when validating and generating seeds, but it may be something library consumers should do instead of the library.
The text was updated successfully, but these errors were encountered:
BIP0039 says nothing about case.
The fact that validation/checksum fails by default when any letter is uppercase (word lookup fails, wordlists are necessarily lowercase) is a strong suggestion that it's an error to pass uppercase letters at all, but intuitively it seems like it should be case insensitive and should generate the same seed value lowercase would.
bip32-rs
doesn't allow seed generation without validating checksums, but if you didn't look at that checksum before proceeding you would get a different seed due to the fact thatpbkdf2
will happily eat whatever it is given.A simple solution would seem to be forcing all phrases to lowercase when validating and generating seeds, but it may be something library consumers should do instead of the library.
The text was updated successfully, but these errors were encountered: