Javascript and smartcard

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Sep 13 01:02:05 CEST 2016


On Mon 2016-09-12 06:04:19 +0200, Le Roy Francis wrote:
> Hi, I was wondering if by any chances, there is, in addition to the
> Javascript port of gpgme (OpenPGP.js), a Node.js module to interact
> with smart card?

You might consider writing a patch or extension to OpenPGP.js that knows
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.

         --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 930 bytes
Desc: not available
URL: </pipermail/attachments/20160913/f4efa270/attachment-0001.sig>


More information about the Gnupg-users mailing list