PGP encrypt/GnuPG decrypt problem

Charly Avital shavital at mac.com
Tue Nov 23 22:50:12 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The public key created with GnuPG in your linux system is, as you 
indicated:
> ------------------------
> pub  1024D/CC4BD445 2004-11-23 MyKeyID (MyKeyID) 
> <bcrane at netcentrix.net>
> sub  2048g/50FA58C8 2004-11-23

Please note that the subkey is 50FA58C8

Your GnuPG system in your linux box tells you that:
> gpg: encrypted with ELG-E key, ID 26B23A2E

When encrypting to a DSA-ElGamal key, it's the subkey that is used for 
encryption. Therefore ID 26B23A2E should correspond to a subkey.

This does not check against previous information stating that the 
subkey of the public key you generated is 50FA58C8.

You cannot find 0x26B23A2E in your PGP keyring, because 0x26B23A2E is a 
subkey. PGP, in public key properties, displays the existence and the 
dates of a subkey, but not its ID. At least, this is the way it works 
in a Macintosh environment. I don't know whether PGP, in a Windows 
environment, displays subkeys IDs. I don't think it does.

Excuse my question: when you encrypted in PGP, are you sure you used 
0xCC4BD445? Your PGP keyring contains such a key, as you reported; but 
did you use it to encrypt that test file?

As suggested by Neil Williams:
Encrypt a file using GnuPG and decrypt it using GnuPG without 
transferring it.

Charly
Macintosh GnuPG 1.3.92 PGP 8.1
On Nov 23, 2004, at 9:51 AM, Bill Crane wrote:

> I'm a novice and I've struggled with this problem for a few days.  
> I've searched the FAQs and other information sources looking for 
> information regarding the problem that I'm having.  While I've found 
> some information in the GnuPG FAQ from question 5.9, I'm still stuck.
>
> Quick Synopsis.
>

[snip]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.92 (Darwin)

iD8DBQFBo7Ci8SG5rMkbCF4RAlIEAJ9Hxp3ZaL74bbClPPAp0jWSr7zyswCgxexX
NBX8FLU9wm3XV9+k4Lz/iCk=
=LtIg
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list