crypto/x509: failed to parse ECDSA256 PEM generated by Apple Developer Website #33560
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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
)?go env
OutputWhat did you do?
I'm trying to build a Apple Push Notification Service server with
github.com/dgrijalva/jwt-go
, which can generate token to communicate with Apple's server.I downloaded the ECDSA256 private key(.pem file) from Apple Developer Website and tried to form the token using built-in parser.
I've regenerated the private key more than two times and it always occur.
This key is already revoked so I think it's safe to attach here
What did you expect to see?
No error should be presented.
What did you see instead?
It presented such error messages.
The text was updated successfully, but these errors were encountered: