Skip to content

Instantly share code, notes, and snippets.

@nathanleclaire
Created November 17, 2021 06:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanleclaire/9d2d45c568d333c051d67e9f53384478 to your computer and use it in GitHub Desktop.
Save nathanleclaire/9d2d45c568d333c051d67e9f53384478 to your computer and use it in GitHub Desktop.
$ solana-keygen new --outfile ~/my-solana-wallet/my-keypair2.json
Generating a new keypair

For added security, enter a BIP39 passphrase

NOTE! This passphrase improves security of the recovery seed phrase NOT the
keypair file itself, which is stored as insecure plain text

BIP39 Passphrase (empty for none): thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 6, kind: Other, message: "The handle is invalid." }', keygen\src/keygen.rs:574:92
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

only works with --no-bip39-passphrase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment