Diffusion GnuPG d2f1a0a791db

scd: Add condition for VERIFY with 0x82.

Authored by gniibe on Aug 27 2020, 3:41 AM.

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

Committed
gniibeAug 27 2020, 3:54 AM
Parents
rG0be5decc0972: build: Silence gcc warning -Wformat-zero-length
Branches
Unknown
Tags
Unknown