Diffusion GnuPG 3231ecdafd71

scd: Allow standard keyref scheme for app-openpgp.

Authored by werner on Feb 5 2019, 2:48 PM.

Description

scd: Allow standard keyref scheme for app-openpgp.

* scd/app-openpgp.c (do_change_pin): Allow prefixing the CHVNO with
"OPENPGP."
* tools/card-call-scd.c (scd_change_pin): Change API to use strings.
* tools/gpg-card-tool.c (cmd_passwd): Adjust for change.
(cmd_unblock): Ditto.

The generic keyref allows for better error detection in case a keyref
is send to a wrong card.

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

Details

Committed
wernerFeb 5 2019, 3:01 PM
Parents
rG1c0fa3e6f746: card: Implement non-interactive mode.
Branches
Unknown
Tags
Unknown