Javascript and smartcard

Le Roy Francis thecissou98 at
Wed Sep 14 17:23:29 CEST 2016

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 <wk at<mailto:wk at>> a écrit:

On Tue, 13 Sep 2016 01:02, dkg at 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20160914/86061a81/attachment-0001.html>

More information about the Gnupg-users mailing list