gpg problem while decrypting

Thomas Sjögren thomas at
Wed Jun 16 10:59:36 CEST 2004

On Thu, Jun 10, 2004 at 05:21:03PM +0530, Deepak Kolhar wrote:
>  I'm getting following error  under unix environment when i try to decrypt a
> file  from another user .
> 'gpg: decryption failed: secret key not available'
> I've generated a key from a user   'UserA' for example. It's working fine
> there.
> But when i try to decrypt a file (which is encrypted from user a ) from a
> user 'User-BCD'. it gives above error.
> Both the user are on the same server.
> The exact message is
> gpg: encrypted with ELG-E key, ID 3E07473B
> gpg: decryption failed: secret key not available
> What may be the reasons. and how this problem can be soved.

User-BCD has encrypted the document to him/herself? If you want A to be
able to read the message BCD has to encrypt the document to A.
BCD has to run
gpg -es -r A document.doc

== thomas at | thomas at
== Encrypted e-mails preferred | GPG KeyID: 114AA85C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
Url : /pipermail/attachments/20040616/b46af111/attachment-0001.bin

More information about the Gnupg-users mailing list