[gnupg-users] Change key password in batch mode

Werner Koch wk at gnupg.org
Fri Oct 19 18:39:02 CEST 2012


On Mon,  8 Oct 2012 13:13, jaimefdez86 at 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 along with --command-fd.


Salam-Shalom,

   Werner

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




More information about the Gnupg-users mailing list