mirror of
git://git.gnupg.org/gnupg.git
synced 2024-09-24 15:31:41 +02:00
0a805ed160
* include/cipher.h (PUBKEY_USAGE_NONE): New.
* g10/getkey.c (parse_key_usage): Set new flag.
--
We do not want to use the default capabilities (derived from the
algorithm) if any key flags are given in a signature. Thus if key
flags are used in any way, the default key capabilities are never
used.
This allows to create a key with key flags set to all zero so it can't
be used. This better reflects common sense.
(cherry picked from commit
|
||
---|---|---|
.. | ||
_regex.h | ||
ChangeLog-2011 | ||
cipher.h | ||
host2net.h | ||
Makefile.am | ||
types.h | ||
zlib-riscos.h |