Diffusion GnuPG c9f4c1f0de06

scd: Fix flushing of CA-FPR data objects

Authored by werner on Jan 25 2019, 9:37 AM.

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.

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

Details

Committed
wernerJan 25 2019, 9:38 AM
Parents
rGae966bbe9b16: agent: Support --mode=ssh option for CLEAR_PASSPHRASE.
Branches
Unknown
Tags
Unknown