1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch e4f61df850
gpg: Implement encryption to ADSKs.
* g10/getkey.c (get_pubkey_fromfile): Add optional arg r_keyblock.
* g10/pkclist.c (find_and_check_key): Also encrypt to RENC subkeys.
* g10/getkey.c (parse_key_usage): Make public.
* g10/misc.c (openpgp_pk_algo_usage): Take PUBKEY_USAGE_RENC in
account.
* g10/packet.h (PKT_public_key): Change pubkey_usage from byte to u16.
(PKT_user_id): Cosmetic fix: change help_key_usage from int to u16.
* g10/sig-check.c (check_signature_metadata_validity): Handle time
conflict for ADSKs.
--

GnuPG-bug-id: 6395

This patch handles ADSK keys and encrypts to them.  It does not yet
allow the creation of them.  We backport this from master early to get
this part of the code out into the field.
2023-03-03 10:09:47 +01:00
..
2022-10-31 14:33:10 +01:00
2022-10-31 14:33:10 +01:00
2021-11-13 21:02:22 +01:00
2022-10-31 14:33:10 +01:00
2023-03-03 10:09:47 +01:00
2015-02-04 09:15:34 +01:00
2018-03-08 14:08:51 +09:00
2022-10-31 14:33:10 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2023-03-03 10:09:47 +01:00
2022-11-15 17:24:04 +01:00
2017-03-07 20:25:54 +09:00
2023-03-03 10:09:47 +01:00
2023-03-03 10:09:47 +01:00
2023-03-03 10:09:47 +01:00
2017-03-07 20:25:54 +09:00
2017-01-23 19:16:55 +01:00
2020-10-28 18:10:01 +01:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2016-03-08 14:08:49 +01:00
2016-12-06 12:16:56 +01:00