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<password

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
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to