Home GnuPG
Diffusion GnuPG 58b091df831f

scd: Change how the removed card flag is set.

Description

scd: Change how the removed card flag is set.

* scd/command.c (cmd_serialno): Set/clear card removed flags for all
connections using the current card.

This seems to solve the problems I had in gpg-card and ssh. I am not
sure why the old code was done this way - maybe an oversight when
adding support for multiple cards.

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

Details

Provenance
wernerAuthored on Jun 30 2020, 2:39 PM
Parents
rGfb10b6cba43f: card: Better detect removed cards. Add TCOS PIN menu.
Branches
Unknown
Tags
Unknown