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 <al...@example.biz>' 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:

   https://dev.gnupg.org/T3655

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

hth,

     --dkg

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to