Re: Pass expiration date param to subkey only via unattended key generation

2022-10-05 Thread s7r
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 Thank you very much! I will see how I can apply this, in a single sh script with the unattended key generation as well. The thing is I "feed"

Re: Pass expiration date param to subkey only via unattended key generation

2022-10-05 Thread Werner Koch via Gnupg-users
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

Re: Pass expiration date param to subkey only via unattended key

2022-10-04 Thread Mahmut Cavdar via Gnupg-users
Hi s7r, I don't know whether updating source code is an option for you or not. Since it's the only way I can think, let me point the related line in old commit:

Pass expiration date param to subkey only via unattended key generation

2022-10-04 Thread s7r
Dear All, Context: https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html A script will create on demand GPG keys unattended that will be further used to automatically sign a document, but the requirement is that they must also include an Encryption subkey to