Home GnuPG
Diffusion GnuPG b2363c1dd97d

scd: Allow standard keyref scheme for app-openpgp.

Description

scd: Allow standard keyref scheme for app-openpgp.

* scd/app-openpgp.c (do_change_pin): Allow prefixing the CHVNO with
"OPENPGP."

The generic keyref allows for better error detection in case a keyref
is send to a wrong card. This has been taken from master commit
3231ecdafd71ac47b734469b07170756979ede72 which has additional changed
for gpg-card-tool, which is only available there.

(cherry picked from commit 6651a0640d0f1b4dd161210dc55974d9b93b7253)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 5 2019, 2:48 PM
Parents
rG3d368c1a7d1c: scd:openpgp: Support GET DATA response with no header for DO 0x00FA.
Branches
Unknown
Tags
Unknown