Home GnuPG
Diffusion GnuPG af189be481df

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.

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
rG90a87d96eaf5: build: Silence gcc warning -Wformat-zero-length
Branches
Unknown
Tags
Unknown