Conflict Due to Multiple Instances of Smart Card Daemon

muredanta muredanta at protonmail.com
Sat May 25 01:23:05 CEST 2019


Thanks for that. Given that I need to do multiple operations on the card with different GNUPGHOME values during one session, is there a way to cause an earlier instance of scdaemon to either exit or to release the card, so that a new instance can have exclusive access? It seems like this would have to happen before the second invocation of gpgme_op_interact().

Thanks!

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, May 23, 2019 6:53 PM, Werner Koch <wk at gnupg.org> wrote:

> On Wed, 22 May 2019 00:21, gnupg-users at gnupg.org said:
>
> > work without requring removal/re-insertion of the card, but presumably
> > such a change has security implications or the original developers
> > would not have used PCSC_SHARE_EXCLUSIVE. So... I don't know if such a
> > change is advisable. Any feedback on that? I'm thinking that it may
>
> Don't. We are currently working on autoswitching between different
> applications on the card and thus a controlling instance is required. A
> second daemon (ie. using a second GNUPGHOME) on the same reader is thus
> not a good idea.
>
> FWIW, scdameon handles several readers just fine.
>
> Shalom-Salam,
>
> Werner
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.





More information about the Gnupg-users mailing list