secret key not found
rychitre at yahoo.com
Tue May 8 00:08:44 CEST 2012
It still gives same error. I added '--homedir DIR ' in command.
echo paraphrase|gpg.exe --homedir DIR --batch --secret-keyring temporary --passphrase-fd 0 --decrypt-files E:\a.txt.gpg
gpg: keyblock resource `DIR/secring.gpg': No such file or directory
gpg: keyblock resource `DIR/temporary': No such file or directory
gpg: keyblock resource `DIR/pubring.gpg': No such file or directory
gpg: encrypted with RSA key, ID XXXXX
gpg: encrypted with RSA key, ID YYYY
gpg: decryption failed: No secret key
--- On Mon, 5/7/12, Werner Koch <wk at gnupg.org> wrote:
From: Werner Koch <wk at gnupg.org>
Subject: Re: secret key not found
To: "Rupali Chitre" <rychitre at yahoo.com>
Cc: "Hauke Laging" <mailinglisten at hauke-laging.de>, Gnupg-users at gnupg.org
Date: Monday, May 7, 2012, 2:53 PM
On Mon, 7 May 2012 18:54, rychitre at yahoo.com said:
> It gives below error. Why it is looking in 'C:/Documents and
> Settings/Default User/Application'? Can someone help on this?
Because that is the correct directory as told by your Windows version
(by means of CSIDL_APPDATA) or configured by you:
Set the name of the home directory to DIR. If this option is not used,
the home directory defaults to '~/.gnupg'. It is only recognized when
given on the command line. It also overrides any home directory
stated through the environment variable 'GNUPGHOME' or (on W32
systems) by means of the Registry entry
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnupg-users