summaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2024-04-04 16:39:14 +0200
committerWerner Koch <wk@gnupg.org>2024-04-05 16:18:34 +0200
commitc5d7a332c8401e24263f0e235824f5862e37433a (patch)
tree6ee5e90a2fad49af68c51895781f0f682bedc5c1 /kbx
parentgpg: Allow to create a Kyber key from keygrips. (diff)
downloadgnupg2-c5d7a332c8401e24263f0e235824f5862e37433a.tar.xz
gnupg2-c5d7a332c8401e24263f0e235824f5862e37433a.zip
gpg: Do not allow to accidently set the RENC usage.
* g10/keygen.c (print_key_flags): Print "RENC" if set. (ask_key_flags_with_mask): Remove RENC from the possible set of usages. Add a direct way to set it iff the key is encryption capable. -- This could be done by using "set your own capabilities" for an RSA key. In fact it was always set in this case. GnuPG-bug-id: 7072
Diffstat (limited to 'kbx')
0 files changed, 0 insertions, 0 deletions