Closed skwerlman closed 4 years ago
Hi @skwerlman and thank for reporting this.
I've implemented the PGP parser by partially implementing the RFC4880 (see #40). I've not put too much efforts in parsing attributes that I did not require (key-ids, sub-keys, email) but getting a runtime error when these fields are parsed is definitely not wanted.
Will investigate with your key and try to fix this.
I've tried with you key and traced down the function clause error. Added a function for skipping unknown subs. The required fields are still parsed correctly.
tested and confirmed working. thanks!
when importing one of my gpg keys, i recieve the following stack trace:
for testing, this is the key i tried to import: 5D9DF29E62C5C2E2951ADC69862823899AC2E445
my guess is that it has something to do with either the type 17 tags on this key, or the fact that its a very large rsa key (8192b)