On Wed, 5 Oct 2022 00:21, s7r said: > Question is: keys can be generated unattended just fine, except I did > not find a clear way to pass an Expire date param to the encryption > subkey only, and not the primary key as well. The requirement is that
Use gpg --quick-gen-key --batch t...@test.com ed25519 sign,cert and then gpg --quick-add-key --batch FINGERPRINT cv25519 encr sign,cert 2y Use --status-fd to get status lines which will return you the fingerprint from the first command. You might also want to use --yes to allow creating a key with an already existing name or --passphrase "mysecret" to avoid the pinentry. (commands typed from memory so you may nned to consult the man page.) Salam-Shalom, Werner -- The pioneers of a warless world are the youth that refuse military service. - A. Einstein
signature.asc
Description: PGP signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users