<div dir="ltr"><div>How to generate ed25519 keys using "gpg --full-generate-key --batch" command?</div><div><br></div><div>This is the command from one of the latest my at:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">gpg --full-generate-key --batch << EOF<br>%no-protection<br>Key-Type: ecc<br>Key-Curve: ed25519<br>Subkey-Type: ecc<br>Subkey-Length: cv25519<br>Expire-Date: 0<br>Name-Real: demo-cluster<br>Name-Comment: secrets encryption<br>EOF<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">gpg: signing failed: Invalid digest algorithm<br>gpg: make_keysig_packet failed: Invalid digest algorithm<br>gpg: key generation failed: Invalid digest algorithm</blockquote><div><br></div><div>What are the correct values or config for such a standard case?</div><div>Where is it possible to see the correct list of available algorithms and their settings (curve) for such configurations?</div><div>I thought that (sub)key-type accepts the same numbers as seen in interactive non-batch "gpg --full-generate-key".</div><div>Using interactive "--full-generate-key" works, of course, flawlessly, but I was not able to get enough hints from it on how to build config for batch operations.</div><div><br></div><div>Why one algo is ed25519 and the other one is cv25519?</div><div><br></div><div>Sad that there are no clear instructions/docs for that, or it is required to learn all docs by heart and make PhD for all related crypto libs and apps. But if you give me some info I hopefully will be able to compile some little article. Just tired that 99% of all examples on the internet use RSA and "--quick-gen-key".<br></div><div><br></div><div>(I've been reading your docs and trying to google answers for quite some time :) )</div><div>(Cursed XXI century, why do some applications can't add a little bit more convenience and stop trying to look like crap from the 1990s)<br></div></div>