diff options
| author | Werner Koch <[email protected]> | 2020-11-26 07:46:20 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2020-11-26 08:54:23 +0000 |
| commit | 764c69a841abc1a4dff2fa86b4cd0b63ec737860 (patch) | |
| tree | fe39ca58f8eb43656319a48a728c0d626042a955 /dirmngr/dirmngr-status.h | |
| parent | gpg: Report an error for receiving key from agent. (diff) | |
| download | gnupg-764c69a841abc1a4dff2fa86b4cd0b63ec737860.tar.gz gnupg-764c69a841abc1a4dff2fa86b4cd0b63ec737860.zip | |
scd: Add special serialno compare for OpenPGP cards.
* scd/app.c (is_same_serialno): New.
(check_application_conflict): Use this.
(select_application): Ditto.
(app_switch_current_card): Ditto.
* scd/app-openpgp.c (check_keyidstr): Ignore the card version and also
compare case insensitive.
--
This is required because we change what we emit as serialno of OpenPGP
cards but existing keys still use the old form of the serial
number (i.e. with a firmware version).
See-commit: 3a8250c02031080c6c8eebd5dea03f5f87f9ddd7
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/dirmngr-status.h')
0 files changed, 0 insertions, 0 deletions
