Re: Call gpg with gpgme

2016-09-17 Thread Le Roy Francis
My snippet works just fine if not for the pinentry. Is there a way of avoiding the pinentry pop-up and enter the pin in STDIN ? Is gpg --pinentry-mode loopback of any use ? Thanks. FLR. Le 17/09/2016 à 13:59, Le Roy Francis a écrit : > I have found another way, as my project is based on node

Re: Call gpg with gpgme

2016-09-17 Thread Le Roy Francis
I have found another way, as my project is based on node js. I use the child_process package to launch gpg. I have already wrote a function to generate a new key pair directly in a smart card. Nonetheless, if I fail to create a node js function good enough for my needs, I give your solution a

Call gpg with gpgme

2016-09-16 Thread Le Roy Francis
Hi, how can I interface directly with gpg via gpgme like in the gpgme_op_edit. Is gpgme_op_spawn of any use in this case ? Is there an equivalent of gpgme_op_assuan_transact_ext for GPG ? Thanks. FLR ___ Gnupg-users mailing list Gnupg-users@gnupg.org

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 > a écrit: On Tue, 13 Sep 2016 01:02,

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

Building gpgme on windows with GCC 5.1.0

2016-08-08 Thread Le Roy Francis
Hi, I have difficulties building gpgme on windows. I have tried to cross compile on ubuntu, but I was unable to found a cross compile toolchain with gcc version 5.1.0.. Building with MSYS on windows also gave me error. Is there a simple way of building gpgme on windows ? Thanks. FLR.

Generate private key on smartcard GPGME

2016-08-06 Thread Le Roy Francis
Hi, I can't figure out how to generate directly a key pair on a smartcard (I am working with a Nitrokey) using GPGPME. How can I do that and is it even possible ? Thanks. F.L.R. ___ Gnupg-users mailing list Gnupg-users@gnupg.org

GPGME & Smartcard

2016-07-30 Thread Le Roy Francis
Hello, I got several questions on how to use the gpgme lib (C++) along with a Open PGP Smart Card. First, I saw in the documentation a function called gpgme_op_card_edit. I don't fully understand how that's work, would you mind providing me an example ? Secondly, I haven't received my Smart