diff options
author | Werner Koch <wk@gnupg.org> | 2023-04-18 17:04:58 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2023-04-18 17:07:04 +0200 |
commit | fa4f716917e545a98e7c22469c51e980aa79443d (patch) | |
tree | 4ad5a09389d1e3b35bf04ab1a83a996fe0a6ad6f /NEWS | |
parent | scd: On a Yubikey re-select the last app after the use of APDU. (diff) | |
download | gnupg2-fa4f716917e545a98e7c22469c51e980aa79443d.tar.xz gnupg2-fa4f716917e545a98e7c22469c51e980aa79443d.zip |
gpg: Make sure that we are not accidently working with the PIV app.
* g10/call-agent.c (agent_scd_switchapp): New.
* g10/card-util.c (get_info_for_key_operation): Call it.
--
It may happen that the active card was last used for PIV and in that
case certain commands will fail because they assume the OpenPGP app.
Fortunately we have a pretty central place to assure that the right
app has been selected.
The bug can be easily noticed on Windows.
GnuPG-bug-id: 6378
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,8 @@ Noteworthy changes in version 2.4.1 (unreleased) * gpg: Make list-options "show-sig-subpackets" work again. Fixes regression in 2.4.0. [rG5a223303d7] + * gpg: Fix the keytocard command for Yubikeys. [T6378] + Release-info: https://dev.gnupg.org/T6454 |