Automating, passwd command replies, "Need the secret key to do this."

No Spam lyngly at
Sun Dec 7 20:59:52 CET 2008

Hello, I saw the following thread unanswered and am having the same problem when I try generate revoke keys, adduid and many other commands. I'm never prompted for my secret key, and these commands don't take them as arguments.

> I tried it again.  The problem is the response to "passwd" doesn't 
> appear to be a prompt.  It's only a complaint, and the "passwd" command 
> doesn't seem to take an argument.
> John W. Moore III wrote:
>> Hash: SHA512
>> Thomas Gagné wrote:
>>>    Command> passwd
>>>    Need the secret key to do this.
>> the Command passwd is for changing the passphrase.  Of course, it is
>> possible to change the passphrase to nothing but first the Secret Key
>> needs to be unlocked.  Otherwise, anyone could change Your passphrase to
>> anything or nothing.
>> The "Need Secret Key to do this" is the prompt to enter the passphrase
>> in order to unlock the Secret Key.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20081207/4906e971/attachment.htm>

More information about the Gnupg-users mailing list