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?

Le 13 sept. 2016, à 12:22, Werner Koch <w...@gnupg.org<mailto:w...@gnupg.org>> 
a écrit:

On Tue, 13 Sep 2016 01:02, d...@fifthhorseman.net said:

 how to talk to gpg-agent for use of secret keys.  That way gpg-agent
 could delegate the work to the smartcard via scdaemon, and OpenPGP.js
 wouldn't need to know anything about the secret key material.

It might be worth to look at Native Messaging (Chrome) and Web
Extensions (Firefox) for accessing gpg-agent from OpenPGP.js.  The only
extra external dependency would then be a tool to connect stdin/stdout
to gpg-agent's socket (--browser-socket in that case) and maybe to
auto-start gpg-agent.


Salam-Shalom,

   Werner
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to