Re: GET_HIDDEN deprecated in gpgv2

2013-03-21 Thread Jaime Fernández
Thanks for the quick answer! >In any case, the code you use is >pretty fragile because it does not follow the rules for using >--command-fd. See the GPA project on how to correctly use it. I don't understand, I thought that GPA used GPGME not command line, so I dont know how I should use command

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 KEYID Y save Y And the output show something like this: [GNUPG:] GET_HIDDEN passphrase.enter [GNUPG:] GOT_IT But this doesn't work in gp

Re: [gnupg-users] Change key password in batch mode

2012-10-24 Thread Jaime Fernández
2012/10/19 Werner Koch > On Mon, 8 Oct 2012 13:13, jaimefde...@gmail.com said: > > > $ gpg --batch --passphrase-fd 0 --status-fd 2 --command-fd 0 --edit-key > user > > What's wrong with > > gpg2 --passwd USER > > ? > But then I have to use pinentry, and I don't want to. I tried gpg --pa

Re: [gnupg-users] Decrypting file encrypted for multiple recipients using a given ID in batch mode

2012-10-24 Thread Jaime Fernández
Thanks, I will take this on mind. 2012/10/19 Werner Koch > On Sun, 7 Oct 2012 02:34, jaimefde...@gmail.com said: > > > If I type a password gpg will try it with all the posible recipients but > > this is not the behaviour that I want, is there any way to force a user? > > FWIW: GnuPG 2.1.0-beta

[gnupg-users] Change key password in batch mode

2012-10-08 Thread Jaime Fernández
Hi, I want to edit the password in batch mode, I try this: (where 12345 is the old password) $ gpg --batch --passphrase-fd 0 --status-fd 2 --command-fd 0 --edit-key user 12345 [GNUPG:] GET_LINE keyedit.prompt passwd [GNUPG:] GOT_IT [GNUPG:] USERID_HINT 4565CE*** User1 [GNUPG:] NEED_PASSPHR

[gnupg-users] Decrypting file encrypted for multiple recipients using a given ID in batch mode

2012-10-06 Thread Jaime Fernández
Hi, I've some files encrypted to multiple recipients and I want to use gpg in batch mode like this: $ gpg --passphrase-fd 0 --batch --d file.gpg If I type a password gpg will try it with all the posible recipients but this is not the behaviour that I want, is there any way to force a user? Tha

[gnupg-user] Get options from gpg.conf

2012-09-06 Thread Jaime Fernández
Hi, is there any way to dump the options included in gpg.conf like the homedir? Thanks! ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users