keybase / go-crypto

[mirror] Go supplementary cryptography libraries
https://godoc.org/golang.org/x/crypto
BSD 3-Clause "New" or "Revised" License
50 stars 20 forks source link

Handle "gnu-dummy" (and other "Private/Experimental") S2K #21

Open 0xhaven opened 8 years ago

0xhaven commented 8 years ago

Solve this parsing issue: https://github.com/golang/go/issues/13605 by adding support for the "Private/Experimental" S2K range defined in RFC 4880

Necessary for support of Yubikey/Smart Card PGP keys, which use "gnu-dummy" (i.e. 110) S2Ks.

maxtaco commented 8 years ago

(ditto, ticket in jira for planning purposes?)

0xhaven commented 8 years ago

@maxtaco Actually, I think #10 may have resolved this issue. Getting a Yubikey to determine what else might be going on...