Home GnuPG
Diffusion GnuPG 53eddf9b9ea0

scd: Fail when no good algorithm attribute.

Description

scd: Fail when no good algorithm attribute.

* scd/app-openpgp.c (parse_algorithm_attribute): Return the error.
(change_keyattr): Follow the change.
(app_select_openpgp): Handle the error of parse_algorithm_attribute.

This change allows following invocation of app_select_openpgp, which
may work well (if the problem is device side for initial connection).

  • GnuPG-bug-id: T5963
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 11 2022, 4:16 AM
Parents
rG5e5df82b5f28: scd:openpgp: New card vendor.
Branches
Unknown
Tags
Unknown
Tasks
T5963: Yubikey: scdaemon causes libc segfault and clashes with ECC keys