Werner Koch
c6cecbd89a
gpg: New option --default-new-key-adsk.
* g10/options.h (opt): Add field def_new_key_adsks.
* g10/gpg.c (oDefaultNewKeyADSK): New.
(opts): Add --default-new-key-adsk.
(main): Parse option.
* g10/keyedit.c (menu_addadsk): Factor some code out to ...
(append_adsk_to_key): new. Add compliance check.
* g10/keygen.c (pADSK): New.
(para_data_s): Add adsk to the union.
(release_parameter_list): Free the adsk.
(prepare_adsk): New.
(get_parameter_adsk): New.
(get_parameter_revkey): Remove unneeded arg key and change callers.
(proc_parameter_file): Prepare adsk parameter from the configured
fingerprints.
(do_generate_keypair): Create adsk.
--
GnuPG-bug-id: 6882
(cherry picked from commit ed118e2ed521d82c1be7765a0a19d5b4f19afe10)
2024-07-01 15:00:16 +02:00
..
2022-12-01 13:59:06 +09:00
2024-05-16 09:42:39 +09:00
2024-02-21 15:55:14 +01:00
2024-04-05 11:02:43 +02:00
2024-01-22 16:52:22 +01:00
2022-09-30 16:40:31 +02:00
2021-04-16 20:21:23 +02:00
2023-12-18 16:23:19 +01:00
2023-11-08 13:57:53 +09:00
2023-06-20 09:08:14 +09:00
2023-11-17 08:40:49 +09:00
2023-11-17 08:40:49 +09:00
2024-02-27 11:33:21 +01:00
2024-02-27 11:33:21 +01:00
2022-09-13 16:34:00 +09:00
2022-03-02 21:12:28 +02:00
2024-03-14 21:51:27 +01:00
2022-10-07 11:16:55 +09:00
2019-07-18 11:02:34 +09:00
2020-11-11 09:13:13 +09:00
2021-11-13 21:03:02 +01:00
2022-10-14 14:49:37 +09:00
2023-11-17 08:40:49 +09:00
2022-11-09 10:37:58 +09:00
2022-11-09 10:37:58 +09:00
2019-09-30 14:08:13 +02:00
2024-03-04 14:22:42 +01:00
2023-06-13 10:07:07 +02:00
2023-03-01 17:22:20 +01:00
2024-07-01 14:48:48 +02:00
2015-02-04 09:15:34 +01:00
2024-07-01 15:00:16 +02:00
2021-05-19 02:42:35 +02:00
2023-05-24 14:16:10 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2023-05-24 12:06:37 +02:00
2024-04-17 12:57:53 +02:00
2023-05-24 14:16:10 +02:00
2017-03-07 20:25:54 +09:00
2024-06-24 11:49:51 +02:00
2022-10-28 09:30:49 +02:00
2022-09-14 12:08:58 +09:00
2017-07-27 11:38:57 +02:00
2024-03-04 14:22:42 +01:00
2024-03-04 14:22:42 +01:00
2020-09-22 16:20:41 +02:00
2023-12-29 10:57:26 +09:00
2024-03-04 14:22:42 +01:00
2024-07-01 15:00:16 +02:00
2024-07-01 15:00:16 +02:00
2024-07-01 15:00:16 +02:00
2024-03-04 14:22:42 +01:00
2024-04-17 12:57:53 +02:00
2021-06-03 13:32:25 +09:00
2017-03-31 20:07:20 +02:00
2024-07-01 14:48:48 +02:00
2024-07-01 14:48:48 +02:00
2024-07-01 14:48:48 +02:00
2024-03-14 21:51:27 +01:00
2024-02-10 14:26:55 +01:00
2017-03-07 20:25:54 +09:00
2020-10-20 12:15:56 +02:00
2023-03-01 17:22:20 +01:00
2020-02-18 18:07:46 -05:00
2019-07-11 12:32:44 +09:00
2021-05-25 13:39:59 +02:00
2024-07-01 15:00:16 +02:00
2024-06-05 11:18:13 +02:00
2024-01-09 17:25:48 +01:00
2022-09-13 16:34:00 +09:00
2023-06-13 10:07:07 +02:00
2019-07-23 12:04:21 +09:00
2023-05-09 08:17:30 +02:00
2021-12-10 15:43:28 +09:00
2021-12-10 15:43:28 +09:00
2022-03-08 20:00:31 +02:00
2023-06-13 10:07:07 +02:00
2021-03-24 14:51:42 +09:00
2017-01-23 19:16:55 +01:00
2021-05-20 13:38:39 +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
2020-06-09 10:32:47 +09:00
2023-03-01 17:22:20 +01:00
2024-01-10 17:18:34 +01:00
2021-04-23 08:50:39 +02:00
2024-02-10 14:26:55 +01:00
2015-11-17 14:53:03 +01:00
2015-09-02 15:08:57 +02:00
2024-02-10 14:26:55 +01:00
2024-02-10 14:26:55 +01:00
2016-11-05 12:02:19 +01:00
2016-03-08 14:08:49 +01:00
2024-02-10 14:26:55 +01:00
2024-03-04 14:22:42 +01:00
2024-03-04 14:22:42 +01:00
2024-03-04 14:22:42 +01:00
2024-04-17 12:57:53 +02:00
2024-02-10 14:26:55 +01:00
2020-09-04 11:32:47 +02:00
2021-05-20 13:38:39 +02:00
2016-12-06 12:16:56 +01:00
2023-02-16 18:10:03 +01:00
2024-03-06 10:00:37 +01:00
2022-01-12 13:34:31 +09:00
2024-02-10 14:26:55 +01:00
2016-11-05 12:02:19 +01:00