1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-30 19:58:44 +01:00
gnupg/agent
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
..
agent.h gpg: Fix leftover unprotected card backup key. 2024-01-24 11:45:31 +01:00
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
cache.c agent: Make the request origin a part of the cache items. 2018-03-27 08:40:58 +02:00
call-pinentry.c agent: Add translatable text for Caps Lock hint 2023-03-07 14:08:38 +01:00
call-scd.c agent,w32: Fix resource leak for a process. 2023-05-26 10:08:07 +09:00
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
command-ssh.c gpg: Fix leftover unprotected card backup key. 2024-01-24 11:45:31 +01:00
command.c gpg: Fix leftover unprotected card backup key. 2024-01-24 11:45:31 +01:00
cvt-openpgp.c gpg: Fix leftover unprotected card backup key. 2024-01-24 11:45:31 +01:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c agent: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02:00
findkey.c gpg: Fix leftover unprotected card backup key. 2024-01-24 11:45:31 +01:00
genkey.c gpg: Fix leftover unprotected card backup key. 2024-01-24 11:45:31 +01:00
gpg-agent-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
gpg-agent.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
gpg-agent.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +02:00
keyformat.txt agent: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02:00
learncard.c gpg: Fix leftover unprotected card backup key. 2024-01-24 11:45:31 +01:00
Makefile.am w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +02:00
pkdecrypt.c agent: Add optional ecdh parameter arg to KEYTOCARD. 2023-10-27 12:21:26 +02:00
pksign.c agent: Add optional ecdh parameter arg to KEYTOCARD. 2023-10-27 12:21:26 +02:00
preset-passphrase.c Backport of the new option parser from 2.3 2020-12-04 12:12:20 +01:00
protect-tool.c gpg: Fix leftover unprotected card backup key. 2024-01-24 11:45:31 +01:00
protect.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
t-protect.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
trans.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trustlist.c agent: Add trustlist flag "de-vs". 2023-09-07 17:14:10 +02:00
w32main.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00