Way to use existing scdaemon

Daurnimator quae at daurnimator.com
Wed Feb 22 23:56:20 CET 2017

On 20 February 2017 at 18:59, Werner Koch <wk at gnupg.org> wrote:
> You can use all scdaemon commands via gpg-agent by prefixing the command
> with "SCD ", like this
>   $ gpg-connect-agent
>   > scd apdu --atr
>   S CARD-ATR 3BDA11FF81B1FE551F0300318473800180009000E4
>   OK

Does this provide the necessary locking/transactions?
e.g. if I run 'scd setdata aabbcc' 'scd pksign openpgp.1' from two
programs at once, is there a race?

Going through gpg-connect-agent also doesn't allow responding to scdaemon.
e.g. 'scd learn' without --force doesn't let me reply to the 'inquire'

More information about the Gnupg-devel mailing list