On Wed, 14 Sep 2016 17:23, thecisso...@hotmail.fr said:
> Hi, I am trying to build a node.js module to interact with the smart
> card. I code the add-on in c++ with gpgme. Is there any way on knowing
> if the card is connected with gpgme?

Yes, you can use the Assuan protocol to directly talk to scdaemon via
gpg-agent.  GPGME has support this, albeit not documented.
gpa/src/cardman.c uses this feature.  For testing you can employ
gpg-connect-agent, for example:

  gpg-connect-agent 'scd serialno' /bye



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

Attachment: pgp_XbDlfgQ2v.pgp
Description: PGP signature

Gnupg-users mailing list

Reply via email to