Re: Javascript and smartcard

2016-09-21 Thread Werner Koch
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 sc

Re: Javascript and smartcard

2016-09-14 Thread Le Roy Francis
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 mailto:w...@gnupg.org>> a écrit: On Tue, 13 Sep 2016 01:02, d...@fifthhorseman

Re: Javascript and smartcard

2016-09-13 Thread Werner Koch
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 Nativ

Re: Javascript and smartcard

2016-09-12 Thread Daniel Kahn Gillmor
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 tal

Re: Javascript and smartcard

2016-09-11 Thread Robert J. Hansen
> Hi, I was wondering if by any chances, there is, in addition to the > Javascript port of gpgme (OpenPGP.js)... OpenPGP.js is not a GPGME binding. It doesn't use GnuPG at all. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/m

Javascript and smartcard

2016-09-11 Thread Le Roy Francis
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? Regards. Francis Le Roy. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/m