Page MenuHome GnuPG

PGP DSA keys altered when exported
Closed, ResolvedPublic

Description

When importing a public DSA key, generated by some PGP software and afterwards
exporting the key using gpg, the exported key is different from the one imported.

The first about 600 bytes are the same, but everything else is completely different.

The key is still valid.

Tested using Encryption Desktop 10.3.0 for key creation and gpg 1.4.11 (Ubuntu
12.04) for exporting.

This does not happen when using RSA keys.

Example files are attached.

Details

Version
1.4.11

Event Timeline

werner claimed this task.
werner added a project: Not A Bug.

That is not a bug. During import GPG removes invalid or unneeded parts,
reorders packets to fix bugs introduced by some older keyservers, and so on.
During export some other stuff might be removed depending on certain GPG options.

If you want to learn about the details please write to the gnupg-users mailing list.