Skip to content

Instantly share code, notes, and snippets.

@sowbug
Last active January 22, 2018 00:01
Show Gist options
  • Save sowbug/38c43afadbb84acd57b09d845befa0d2 to your computer and use it in GitHub Desktop.
Save sowbug/38c43afadbb84acd57b09d845befa0d2 to your computer and use it in GitHub Desktop.
# Thanks https://lists.gnupg.org/pipermail/gnupg-users/2016-May/055985.html
#
# To specify the passphrase on the command line:
#
# gpg --pinentry-mode loopback --passphrase "secret" --batch --generate-key x25519-gen.gpgbatch
%echo Generating ed25519 primary and cv25519 subkey
Key-Type: eddsa
Key-Curve: Ed25519
Key-Usage: sign
Name-Real: Curvy Carl
Name-Email: [email protected]
Subkey-Type: ecdh
Subkey-Curve: Curve25519
Expire-Date: 0
Passphrase: secret
%commit
%echo done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment