Werner Koch
8055f186a3
gpg: Let export-clean remove expired subkeys.
* g10/key-clean.h (KEY_CLEAN_NONE, KEY_CLEAN_INVALID)
(KEY_CLEAN_ENCR, KEY_CLEAN_AUTHENCR, KEY_CLEAN_ALL): New.
* g10/key-clean.c (clean_one_subkey): New.
(clean_all_subkeys): Add arg CLEAN_LEVEL.
* g10/import.c (import_one): Call clean_all_subkeys with
KEY_CLEAN_NONE.
* g10/export.c (do_export_stream): Call clean_all_subkeys depedning on
the export clean options.
--
GnuPG-bug-id: 3622
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit c2fd65ec8498a08ee36ca52d99b6b014f6db8d93)
2018-07-09 10:25:06 +02:00
..
2017-05-11 18:12:37 +02:00
2017-05-10 11:13:12 +09:00
2017-07-20 18:13:40 +02:00
2018-03-23 09:06:20 +01:00
2018-03-28 18:44:45 +09:00
2017-08-08 11:43:22 +02:00
2017-07-24 20:09:52 +02:00
2018-04-25 09:37:21 +09:00
2016-11-02 12:53:58 +01:00
2018-05-31 12:08:22 +02:00
2017-04-11 13:52:19 +09:00
2018-05-02 20:15:10 +02:00
2018-04-06 17:32:25 +02:00
2017-08-01 19:08:16 +02:00
2017-07-28 17:46:43 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2017-03-31 20:07:20 +02:00
2017-11-22 20:54:47 +01:00
2017-03-07 20:25:54 +09:00
2018-05-31 12:08:22 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2018-07-09 10:25:06 +02:00
2018-05-02 20:15:10 +02:00
2017-07-21 17:49:10 +02:00
2018-07-05 21:41:02 +02:00
2015-02-04 09:15:34 +01:00
2018-06-11 08:49:32 +02:00
2018-03-08 14:08:51 +09:00
2015-02-04 09:15:34 +01:00
2018-07-03 09:21:12 +09:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2018-07-03 11:56:18 +02:00
2017-03-07 20:25:54 +09:00
2018-07-09 10:25:06 +02:00
2017-03-29 12:08:31 +02:00
2018-06-07 18:43:17 +02:00
2017-07-27 11:38:57 +02:00
2018-07-09 10:25:06 +02:00
2018-07-09 10:25:06 +02:00
2018-02-22 14:23:01 +01:00
2018-07-09 10:24:37 +02:00
2018-07-09 10:24:37 +02:00
2017-07-27 11:38:57 +02:00
2018-03-29 11:56:02 +09:00
2017-12-13 10:52:34 +01:00
2018-07-03 11:56:18 +02:00
2018-02-22 14:23:01 +01:00
2017-03-31 20:07:20 +02:00
2017-07-13 18:29:01 +02:00
2017-07-24 21:10:58 +02:00
2018-07-03 11:56:18 +02:00
2018-07-06 08:24:57 +02:00
2018-07-09 10:24:37 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2018-03-08 14:08:51 +09:00
2017-08-01 19:08:16 +02:00
2018-05-31 12:08:22 +02:00
2018-07-05 21:41:02 +02:00
2018-03-21 19:45:31 +01:00
2018-04-12 17:53:17 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2018-07-05 21:41:02 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-08-01 08:41:47 +02:00
2017-01-23 19:16:55 +01:00
2018-04-12 17:53:17 +02:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01: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
2018-07-05 21:41:02 +02:00
2018-07-03 09:21:12 +09:00
2017-05-22 09:27:36 +09:00
2017-03-30 16:01:52 +02:00
2015-11-17 14:53:03 +01:00
2015-09-02 15:08:57 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-03-08 14:08:49 +01:00
2017-05-10 11:13:03 +09:00
2018-03-26 18:06:43 +02:00
2018-03-26 18:20:16 +02:00
2018-03-26 18:06:43 +02:00
2018-07-03 11:56:18 +02:00
2017-04-24 14:14:05 +02:00
2017-03-07 20:25:54 +09:00
2017-12-13 10:52:34 +01:00
2016-12-06 12:16:56 +01:00
2018-07-09 10:24:37 +02:00
2018-07-09 10:24:37 +02:00
2018-07-09 10:24:37 +02:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00