diff options
author | Werner Koch <wk@gnupg.org> | 2024-04-04 16:39:14 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-04-05 16:18:34 +0200 |
commit | c5d7a332c8401e24263f0e235824f5862e37433a (patch) | |
tree | 6ee5e90a2fad49af68c51895781f0f682bedc5c1 /kbx | |
parent | gpg: Allow to create a Kyber key from keygrips. (diff) | |
download | gnupg2-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