gpg script to remove passphrase from secret key

Werner Koch wk at
Tue Mar 29 12:18:52 CEST 2005

On Mon, 28 Mar 2005 18:43:12 -0800, Kai-Min Sung said:

> and here's the input file:

> ---input start---
> passwd
> old_pass

> Y
> save
> Y

> ---input end---

If you use such a canned input file, make sure that it is only used
with gpg versions you tested.  The correct way is to parse the
status-fd messages and provide the answers as required.



More information about the Gnupg-users mailing list