Decryption Fails on UserName but not on EmailAddress ???
kloecker at kde.org
Sat Sep 26 17:26:35 CEST 2009
On Saturday 26 September 2009, nschroth wrote:
> On the target (recipient) machine:
> --list-keys shows my Primary Key, My desktop Key and a co-worker's
> desktop key
> --list-secret-keys shows only my Primary Ke
> --list-keys PrimaryKeyUserName it only lists my primary key.
> This has happen when a file was encrypted from EITHER my desktop or
> mycoworker's desktop.
You have to check the source (sender) machine. The wrong key is used
> David Shaw wrote:
> > On Sep 25, 2009, at 7:19 PM, nschroth wrote:
> >> I have been reading previous posts on this topic but have not
> >> found my answer.
> >> When I ENcrypt on BoxA using -r UserName, decryption on BoxB
> >> errors with :
> >> "decryption failed: secret key not available".
> >> However, doing the same test using the email address associated
> >> with the
> >> recipient, Decryption WORKS.
> > It sounds like you have two keys. When you use "-r username"
> > you're matching one of them. When you use "-r
> > emailaddress at example.com" you're matching the other one.
> > Check your keyring to be sure: do a "gpg --list-keys username" to
> > see all keys that match that name.
> > David
> > _______________________________________________
> > Gnupg-users mailing list
> > Gnupg-users at gnupg.org
> > http://lists.gnupg.org/mailman/listinfo/gnupg-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the Gnupg-users