1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch 3b69d8bf71
gpg: Fix leftover unprotected card backup key.
* agent/command.c (cmd_learn): Add option --reallyforce.
* agent/findkey.c (agent_write_private_key): Implement reallyforce.
Also add arg reallyforce and pass it along the call chain.

* g10/call-agent.c (agent_scd_learn): Pass --reallyforce with a
special force value.
* g10/keygen.c (card_store_key_with_backup): Use that force value.
--

This was a regression in 2.2.42.  We took the easy path to fix it by
getting the behaviour back to what we did prior to 2.2.42.  With GnuPG
2.4.4 we use an entire different and safer approach by introducing an
ephemeral private key store.

GnuPG-bug-id: 6944
2024-01-24 11:45:31 +01:00
..
2023-06-20 09:06:30 +09:00
2022-10-31 14:33:10 +01:00
2021-11-13 21:02:22 +01:00
2015-02-04 09:15:34 +01:00
2023-09-18 11:29:21 +02:00
2018-03-08 14:08:51 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2022-11-15 17:24:04 +01:00
2023-11-28 15:26:37 +01:00
2017-03-07 20:25:54 +09:00
2023-03-03 10:09:47 +01:00
2023-09-07 19:05:39 +02:00
2023-03-03 10:09:47 +01:00
2023-03-03 10:09:47 +01:00
2017-01-23 19:16:55 +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
2023-09-07 19:05:39 +02:00