Home GnuPG
Diffusion GnuPG 4c4999b8185a

scd:openpgp: Allow PKSIGN with keygrip also for OPENPGP.3.

Description

scd:openpgp: Allow PKSIGN with keygrip also for OPENPGP.3.

* scd/app-openpgp.c (check_keyidstr): Add optional arg r_use_auth to
test also for OpenPGP.3.
(do_sign): Enable that new mode.

This is very useful to allow gpgsm to use a certificate based on the
OpenPGP card's authentication key. That key is usually used for ssh
but it makes sense to use it also for user certificate based
authentication.

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

Details

Provenance
wernerAuthored on Mar 27 2020, 7:35 PM
Parents
rGe06a8e3e87f0: gpgsm: Fix the previous commit.
Branches
Unknown
Tags
Unknown