- terra_sdk version:2.0.5
- Python version:3.8.9
- Operating System: Mac os 12.1
Description
mnemonic = 'notice oak worry limit wrap speak medal online prefer cluster roof addict wrist behave treat actual wasp year salad speed social layer crew genius'
mk = MnemonicKey(mnemonic=mnemonic)
What I Did
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/edison/Library/Python/3.8/lib/python/site-packages/terra_sdk/key/mnemonic.py", line 59, in __init__
seed = Mnemonic("english").to_seed(mnemonic)
File "/Users/edison/Library/Python/3.8/lib/python/site-packages/mnemonic/mnemonic.py", line 249, in to_seed
stretched = hashlib.pbkdf2_hmac("sha512", mnemonic, passphrase, PBKDF2_ROUNDS)
ValueError: [digital envelope routines: CRYPTO_internal] bad key length
Install as:
Set as default
Add to the path (.zshrc or .bashrc)
Reload the terminal and check
Check if the following works
If works, send @Vritra4 a hug ❤️ !
Thank you sir, I’ll give it a try !
@Vritra4 more info
I’m on
LibreSSL 2.8.3as well. I’m not sure what is causing this error tho but i can confirm 2x is not working for me on my mac but works on my dev vm running on .