GnuPG fails to import some PGP keys

Daniele Arena daniele@ripe.net
Thu, 19 Oct 2000 15:47:12 +0200 (CEST)


Hi Werner and all,

Thanks a lot for the answer!



> I have looked again at that message and I was able to import the key
> using this trick:
>
> gpg --dearmor < msg00011.txt > x; gpg --import x
>
> The dearmor strips the armor the same way gpg does it but creates an
> outputfile even when you get a CRC error.
The trick actually works, except for one key, 0x1228A499 (see below for the full public key). I have to import this key in PGP, then export it and import it in GPG (with "allow-non-selfsigned-uid") to make it work.
> The CRC does make sense to protect against transmission errors but
> there is no cryptograhic reason why it is needed. Two solutions:
>
> a) Write a utility to regenerate the CRC
> b) Implement --ignore-crc-error in gpg
>
> Probably you want me to implement solution b - should not be a
> problem.
If you could implement the b), that would be great. It would be especially nice when supplying a file containing many keys, because both "gpg --import" and "gpg --dearmor" exit as soon as they get a CRC error. Plus, unfortunately I have another problem. There is a key which won't get loaded, and this time it's not because of a CRC error. It seems to be a typical "missing self-signature" problem, but even the "--allow-non-selfsigned-uid" doesn't help. The key is 0x41B35C52, it is correctly imported by PGP 5.0, and not even the "import-then-export-with-pgp-then-try-gpg" trick works. Did I maybe hit an incompatibility? You can find the key at the bottom of the message, if someone wants to give it a try. Again, thanks. Cheers, Daniele. -------------------------------------------------------------------------- Daniele Arena RIPE NCC - Database Group phone : +31 20 535 4444 Singel 258 fax : +31 20 535 4445 1016AB Amsterdam e-mail : daniele@ripe.net The Netherlands # PGPKEY-1228A499 -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3in mQENAzdeyqYAAAEIAJgij3SZwdMPZE6e3qxP5ZKRGSY0S/7PUI8UVfYJkSUA6zJW 2xhgSJgRjKyz++mC9W/8wK7OnDJO18eq54tecl4EhdnmPxwRYr+hZ6pAfUMXOJs5 v9hQj9L5STfcc3K/CbEmIcYdXr26tAsR/Z1CvW8iHbf21xQNjoQpm6n5gWFjX3rz k0AQj0xabpvBwxyKQbCaCKPcUz8aGhrni2t5YETeWrlayy1RDvecKz9VmG++rL8f etfI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1VCM1F+pJabEkHBpc3F4Cb1qRE5fLsi0V7jkLNGMF9dXF/hEy8kZFcHi6 N0GVlvKK77rniXmq9LO7klWJAD8DBRg0HRTTS3X2ZkGzXFIRAi7UAKCos/jTCICs wxsVKR/HOBY+fUUYMQCg4zooB44lej9vECo8y1fyqCJKbPE= =D+KM -----END PGP PUBLIC KEY BLOCK----- -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org