You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
odeke-em
changed the title
x509 documentation error
crytpo/x509: MarshalPKCS8PrivateKey doc erraneously says ecdsa.PublicKey instead of ecdsa.PrivateKey
Mar 15, 2018
Documentation error for x509.MarshalPKCS8PrivateKey...
Docs say this will marshal ecdsa.PublicKey but the author obviously meant ecdsa.PrivateKey.
ecdsa.PublicKey does not marshal:
x509: unknown key type while marshalling PKCS#8: *ecdsa.PublicKey
The text was updated successfully, but these errors were encountered: