Closed muelli closed 12 years ago
You didn't include a link to the file you were parsing, so I can't reproduce this at the moment. I could also build a utility function that allows dumping of any invalid packets to a file to make this easier for both of us...
Also, the output is helpful but way too long, as long as you give me the traceback and tell me pgpdump dies at some point, I can recreate that output no problem. :)
Sorry for having forgotten the link. I updated the initial post.
Now supported in commit cae58be10b31d.
Hm. I'm trying to parse https://muelli.cryptobitch.de/tmp/2012-04-09-openpgp-keys.pgp but it fails after ~18MB:
Funnily enough, pgpdump passes out after ~6MB. So it there might be a bug over there:
From there it's binary garbage with some readable email addresses in between.
GnuPG parses fine (takes ages though), at least it doesn't fail hard.