Re: GET_HIDDEN deprecated in gpgv2

2013-03-21 Thread Werner Koch
On Thu, 21 Mar 2013 10:22, jaimefde...@gmail.com said:

 I don't understand, I thought that GPA used GPGME not command line, so I
 dont know how I should use command-fd. I want to avoid the use of pinentry
 or any other external graphical tool.

It is not about the command line but by complying to the protocol
required by command-fd/status-fd.  The common way to implement this
protocol is to emply a finite state machine.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


GET_HIDDEN deprecated in gpgv2

2013-03-20 Thread Jaime Fernández
Hi!
I've been testing gpg in batch mode and I realized that I can change the
password using this line in gpgv1:

$ gpg --status-fd 1 --command-fd 0 --edit-key KEYIDpassword

where password is the following text file:

passwd
oldpasswd
newpasswd
Y
save
Y

And the output show something like this:

[GNUPG:] GET_HIDDEN passphrase.enter
[GNUPG:] GOT_IT

But this doesn't work in gpgv2. Is there any reason? Thanks you in advance!
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users