Home GnuPG
Diffusion GnuPG e7eafe101975

scd: Fix flushing of CA-FPR data objects

Description

scd: Fix flushing of CA-FPR data objects

* scd/app-openpgp.c (do_setattr): Add new table item to flush a
different tag.

For whatever reasons the OpenPGP card reads the 3 CA fingerprints from
one object but sets them individually using 3 different tags. The
cache flushing was not prepared for this and so a changed CA
fingerprint showed only up after a card reset. This patch fixes it.

(cherry picked from commit c9f4c1f0de06672c6ae2b793d86cc001d131f9a6)

Fixed conflict by removing the UIF-* entries from the table.

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

Details

Provenance
wernerAuthored on Jan 25 2019, 9:37 AM
Parents
rG77a285a0a949: agent: Support --mode=ssh option for CLEAR_PASSPHRASE.
Branches
Unknown
Tags
Unknown