Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto/x509: Missing MarshalPKCS8PrivateKey #19972

Closed
jameshartig opened this issue Apr 14, 2017 · 3 comments
Closed

crypto/x509: Missing MarshalPKCS8PrivateKey #19972

jameshartig opened this issue Apr 14, 2017 · 3 comments

Comments

@jameshartig
Copy link
Contributor

@jameshartig jameshartig commented Apr 14, 2017

I posted to golang-nuts without any replies so before I push to gerrit I thought I'd make a bug here first.

There is a x509.ParsePKCS8PrivateKey but there is no x509.MarshalPKCS8PrivateKey, which doesn't seem to match up with the other Parse/Marshal combinations in the x509 package. I've written a Marshal method but I'm curious why it was originally omitted and if I'm missing something.

@gopherbot
Copy link

@gopherbot gopherbot commented Apr 14, 2017

CL https://golang.org/cl/40730 mentions this issue.

@odeke-em
Copy link
Member

@odeke-em odeke-em commented May 22, 2017

/cc Mr. Crypto @agl

@bradfitz bradfitz added this to the Go1.9Maybe milestone Jun 14, 2017
@bradfitz bradfitz added the NeedsFix label Jun 14, 2017
@bradfitz
Copy link
Contributor

@bradfitz bradfitz commented Jun 14, 2017

Sorry, this slipped through the cracks.

@bradfitz bradfitz modified the milestones: Go1.9Maybe, Go1.10 Jul 20, 2017
@gopherbot gopherbot closed this in 0a1a65c Aug 15, 2017
@golang golang locked and limited conversation to collaborators Aug 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.