How to batch generate ECC key

Daniel Kahn Gillmor dkg at
Fri Dec 29 21:55:46 CET 2017

On Fri 2017-12-29 01:18:27 +0100, Rezart Qelibari für GnuPG wrote:

> I want to batch generate a key using an ECC algorithm using the following command:  
> $ cat config.txt | gpg —-batch —generate-key  

for modern gnupg, i think what you want is:

   gpg --quick-gen-key 'alice <alice at>' ed25519

and then, taking the generated fingerprint as $FPR, do:

   gpg --quick-add-key $FPR cv25519 encrypt

this is documented in the gpg(1) man page.

Normally, i'd just have suggested to use just quick-gen-key's
"futuredefault", but i just ran into:

while testing, so i'm giving you the more complicated version here..


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list