crypto/x509: incorrect mention of "EC Public Key" for ParseECPrivateKey docs, should be "EC Private Key" #36788
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?Manjaro Linux x64
What did you expect to see?
Documentation should read
This kind of key is commonly encoded in PEM blocks of type "EC PRIVATE KEY".
What did you see instead?
The documentation for x509#ParseECPrivateKey states

This kind of key is commonly encoded in PEM blocks of type "EC PUBLIC KEY".
, however we're parsing a private key here, the block wouldn't be "EC PUBLIC KEY".The text was updated successfully, but these errors were encountered: