Page MenuHomeFreeBSD

security/gnupg: add the --shared-access option to scdaemon

Authored by asomers on Nov 21 2019, 2:10 AM.



security/gnupg: add the --shared-access option to scdaemon

gnupg's scdaemon opens smart cards in exclusive mode, which prevents other
applications (such as PKCS#11 libraries) from concurrently accessing the
card). Upstream refuses to fix the problem. This commit adds a
--shared-access option to scdaemon. When enabled, scdaemon will access the
smart card in shared mode, playing nicely with other applications. The
default behavior is unchanged.

See Also:

Obtained-from: GPGTools

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

I haven't tested this (I have no way of actually testing it), so I'm relying on you there. You definitely have my approval to commit this whenever you're ready.

This revision is now accepted and ready to land.Nov 21 2019, 6:21 PM

I guess I should add to please make sure that make -C ${WRKSRC} check completes successfully.

What is the status of this patch? What help can I be of here? I'll hold off on updating to 2.2.18 (just released) so as not to interfere here.

It's ready to go, but I had one more question at . I was waiting for your answer, not because it's strictly required but just in case you had something surprising to say.