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

2012-10-25 Thread Werner Koch
On Wed, 24 Oct 2012 11:29, jaimefde...@gmail.com said: But then I have to use pinentry, and I don't want to. I tried You have to ;-). Search this list for pinentry wrapper to see how you can work around it. me type the new password. I think that passphrase-fd only read one password at a

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

2012-10-24 Thread Jaime Fernández
2012/10/19 Werner Koch w...@gnupg.org 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

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

2012-10-19 Thread 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 gpg never gives me the chance to write the new password. I saw other similar post Do not use --passphrase-fd

[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 us...@user1.com