Home GnuPG
Diffusion GnuPG 1a2c8267f54b

gpg: When using a parm file w/o usage don't set the RENC usage.

Description

gpg: When using a parm file w/o usage don't set the RENC usage.

* g10/keygen.c (proc_parameter_file): Don't include RENC in the
default usage.

Testplan:

$ gpg --gen-key --batch <<EOF
Key-Type: EDDSA
Key-Curve: ed448
Key-Usage: cert
Name-Real: Meh Muh
Name-Email: test-3@example.org
Expire-Date: 2025-01-01
Passphrase: abc
subkey-type: ecdh
Subkey-curve: cv448
EOF

and check that the R flag does not show up in the usage.

Details

Provenance
wernerAuthored on Jan 16 2024, 2:02 PM
Parents
rGdaedb3c96549: doc: Describe the ssh-agent protocol options for Windows.
Branches
Unknown
Tags
Unknown