Home GnuPG
Diffusion GnuPG d2f1a0a791db

scd: Add condition for VERIFY with 0x82.

Description

scd: Add condition for VERIFY with 0x82.

* scd/app-openpgp.c (verify_chv2): Check availability of keys in
question.

Backport master commit of:
af189be481df02a77e088aa0a60a1fc02dfa12bf

With buggy Gnuk (<= 1.2.15), when no encr/auth keys are available,
it fails decrementing the signature error counter. This change
can avoid the issue.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Aug 27 2020, 3:41 AM
Parents
rG0be5decc0972: build: Silence gcc warning -Wformat-zero-length
Branches
Unknown
Tags
Unknown