Re: Call gpg with gpgme

2016-09-19 Thread Justus Winter
Hi, Le Roy Francis writes: > My snippet works just fine if not for the pinentry. Please reconsider. Your code may work today, but if you are not using gpgme, it will likely break in the future. > Is there a way of > avoiding the pinentry pop-up and enter the pin in STDIN ? Is gpg > --pinentry-

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 js.

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 tr

Re: Call gpg with gpgme

2016-09-17 Thread Werner Koch
On Fri, 16 Sep 2016 20:45, thecisso...@hotmail.fr said: > 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 ? Yes, you need to implement the callback for gpgm

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 ht