Skip to content

Support parsing PublickKeyPacket V2#20

Open
acatton wants to merge 1 commit intosingpolyma:masterfrom
acatton:master
Open

Support parsing PublickKeyPacket V2#20
acatton wants to merge 1 commit intosingpolyma:masterfrom
acatton:master

Conversation

@acatton
Copy link
Copy Markdown

@acatton acatton commented Aug 15, 2015

Hey Stephen,

I happen to have to parse many different public keys, and parsing some of them fails because it seems that OpenPGP-Haskell doesn't support v2 public keys. The RFC says that implementation may support parsing it.

I added support for parsing, and refactored the code a little bit to avoid copy/pasting.

Thanks,

The RFC states:
“V2 keys are identical to the deprecated V3 keys except for the
version number. An implementation MUST NOT generate them and MAY
accept or reject them as it sees fit.”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant