secret key not found
Rupali Chitre
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:
--homedir DIR
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
'HKCU\Software\GNU\GnuPG:HomeDir'.
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20120507/5883ab10/attachment-0001.htm>
More information about the Gnupg-users
mailing list