Diffusion GnuPG e769609cd3c1

scd: Allow KEYGRIP as KEYIDSTR.

Authored by gniibe on Apr 23 2019, 3:51 AM.

Description

scd: Allow KEYGRIP as KEYIDSTR.

* scd/app-openpgp.c (struct app_local_s): Add keygrip_str.
(store_keygrip): New.
(read_public_key): Call store_keygrip to hold keygrip.
(get_public_key): Likewise.
(send_keypair_info): Use stored keygrip_str.
(check_keyidstr): Allow use of KEYGRIP.
(do_check_pin): Allow use of KEYGRIP of signing slot.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
gniibeApr 23 2019, 3:51 AM
Parents
rGb0f0791e4ade: scd: Factor out a function to check keyidstr.
Branches
Unknown
Tags
Unknown