Werner Koch
48251cf9a7
gpg: Improve generation of keys stored on card (brainpool,cv25519).
...
* g10/keygen.c (ask_key_flags_with_mask): Allow more than ECDH for
legacy curves.
(ask_algo): Tweak mapping of ECC to OpenPGP algos
(parse_key_parameter_part): Ditto.
(generate_subkeypair): Create the subkey with the time stored on the
card.
--
This fixes two problems with generating keys from a card:
1. The key usage is now set correctly for brainpool curves.
2. The add-key and --quick-add-key commands now also take the creation
time from the time stored on the card. Without that we would need
to update the creation time and fingerprint already stored on the
card which is a no-go if another key has already been created using
that on-card key.
Note: To create a key on a card without an OpenPGP keyblock use
gpg-card.
Signed-off-by: Werner Koch <wk@gnupg.org>
2020-06-03 16:22:42 +02:00
..
2017-05-11 18:12:37 +02:00
2019-05-14 11:20:07 +09:00
2019-11-27 11:58:47 +01:00
2020-04-03 10:44:32 +02:00
2020-04-03 10:44:32 +02:00
2020-02-20 11:13:32 +01:00
2017-07-24 20:09:52 +02:00
2020-02-20 11:13:32 +01:00
2020-04-03 10:44:32 +02:00
2016-11-02 12:53:58 +01:00
2018-11-08 12:14:23 +09:00
2018-05-29 12:42:52 +02:00
2017-04-11 13:52:19 +09:00
2018-05-02 20:15:10 +02:00
2019-06-23 20:21:02 -04:00
2017-08-01 19:08:16 +02:00
2020-04-16 08:52:29 +02:00
2019-05-17 13:40:24 +02:00
2019-07-18 11:02:34 +09:00
2020-01-17 16:09:01 +09:00
2020-01-01 19:05:16 +01:00
2020-05-22 11:58:21 +09:00
2018-10-24 15:56:18 -04:00
2019-07-25 11:21:58 +09:00
2019-07-25 11:21:58 +09:00
2019-09-30 14:08:13 +02:00
2020-03-13 13:19:31 +01:00
2018-11-08 21:31:12 +02:00
2017-07-21 17:49:10 +02:00
2020-03-18 12:30:06 +01:00
2015-02-04 09:15:34 +01:00
2020-03-14 19:12:41 +01:00
2019-11-28 12:05:32 +01:00
2015-02-04 09:15:34 +01:00
2020-02-10 16:50:47 +01:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2020-03-13 17:14:34 +01:00
2017-03-07 20:25:54 +09:00
2020-03-13 17:14:34 +01:00
2019-03-15 20:41:38 +01:00
2018-06-07 18:41:17 +02:00
2017-07-27 11:38:57 +02:00
2019-09-05 20:38:23 +02:00
2018-10-25 16:53:05 -04:00
2019-11-28 11:16:13 +01:00
2020-02-18 18:07:46 -05:00
2020-03-13 17:14:34 +01:00
2020-02-18 18:07:46 -05:00
2019-03-15 19:14:34 +01:00
2020-06-03 16:22:42 +02:00
2020-02-18 18:07:46 -05:00
2020-05-04 14:55:34 +02:00
2020-02-18 18:07:46 -05:00
2017-03-31 20:07:20 +02:00
2017-07-13 18:29:01 +02:00
2020-03-13 13:19:31 +01:00
2020-04-15 22:21:46 +02:00
2020-04-15 22:23:10 +02:00
2020-04-03 15:30:08 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2020-04-15 22:23:10 +02:00
2020-02-18 18:07:46 -05:00
2019-07-11 12:32:44 +09:00
2018-01-28 18:59:18 +01:00
2020-03-14 18:04:47 +01:00
2020-03-13 17:14:34 +01:00
2020-04-15 22:23:10 +02:00
2019-01-26 23:10:38 +01:00
2019-09-27 15:44:23 +02:00
2019-07-23 12:04:21 +09:00
2020-03-13 17:14:34 +01:00
2020-05-22 11:58:21 +09:00
2020-05-22 11:58:21 +09:00
2019-05-17 13:40:24 +02:00
2017-03-07 20:25:54 +09:00
2020-04-08 09:29:43 +09:00
2017-01-23 19:16:55 +01:00
2020-01-17 16:09:01 +09: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
2018-10-24 15:56:18 -04:00
2020-03-13 17:14:34 +01:00
2020-03-13 13:34:49 +01:00
2020-02-12 17:29:51 +01:00
2019-09-09 15:01:47 +02:00
2015-11-17 14:53:03 +01:00
2015-09-02 15:08:57 +02:00
2019-09-09 15:01:47 +02: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-27 08:48:00 +02:00
2020-02-18 18:07:46 -05:00
2018-03-26 18:06:43 +02:00
2020-03-13 17:14:34 +01:00
2020-02-10 16:50:47 +01:00
2017-03-07 20:25:54 +09:00
2019-09-09 15:01:47 +02:00
2016-12-06 12:16:56 +01:00
2018-07-06 11:40:16 +02:00
2020-04-03 15:30:08 +09:00
2018-07-06 11:40:16 +02:00
2020-02-10 15:32:55 +01:00
2016-11-05 12:02:19 +01:00