Repository navigation
Encrypted mnemonics available in 3.11.0
#2101
xoloki-stacks
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
clarinet 3.11.0contains support for encrypted mnemonics. This feature gives users the option to encrypt the mnemonic seed phrase in their deployment files, so if a user's machine is compromised by a filesystem reading vulnerability, the seed phrase is not leaked to the attacker.To use this feature, a user must first run
clarinet deployments encrypt, which will prompt the user for the seed phrase and a password, then print the encrypted mnemonic to the console. The user can then put the resulting ciphertext into their deployment config file using the keyencrypted_mnemonic. The next time the user runsclarinet deployments apply, they will be prompted for the password, and the mnemonic will be decrypted for use in that session.For example, if your
settings/Mainnet.tomlfile looks like this:You would then run:
You would then replace the
mnemonicfield in your settings file with theencrypted_mnemonicoutput above:Then the next time you deploy your package, you will be prompted for the password:
All reactions