Hi,

I'm trying to write a script that will remove the passphrase from a
secret key.  Here's the command I'm using:

gpg --passphrase-fd 0 --command-fd 0 --edit-key [EMAIL PROTECTED] < input

The input file looks like:

---input start---
oldpassphrase
passwd


save
quit
Y
---input end---

gpg doesn't seem to be reading the new passphrase from fd 0. The man
page says --passphrase-fd will only work if you're using one
passphrase, which is probably why this fails. Is there any other way
to make this work?

Thanks in advance,
-Kai

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

Reply via email to