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

node-sshpk#81 add support for ed25519 private keys in pkcs8 #83

Closed
wants to merge 1 commit into from

Conversation

arekinath
Copy link

RFC8410 (PEM/X509 formats for Ed25519 and X25519) has been finalised for a while, this is the last piece of it that wasn't implemented in sshpk yet.

Bumps version to 1.18.0 since this adds an API feature (support for converting Ed25519 keys to pkcs8 format).

@danmcd
Copy link

danmcd commented May 26, 2022

Please ACK that you've run "make test" including your new one.

@danmcd danmcd requested a review from bahamat May 26, 2022 14:52
Copy link

@danmcd danmcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Asked about testing already, but otherwise seems good.

Copy link
Member

@bahamat bahamat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one thing, then ready for merging.

der.startSequence(asn1.Ber.OctetString);
var k = utils.mpNormalize(key.part.k.data);
/* RFCs call for storing exactly 32 bytes, so strip any leading zeros */
while (k.length > 32 && k[0] == 0x00)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jsl is complaining that this should be === not ==. If that's fixed, make check will pass.

https://jenkins.tritondatacenter.com/job/TritonDataCenter/job/node-sshpk/view/change-requests/job/PR-83/1/console

@bahamat bahamat linked an issue May 30, 2022 that may be closed by this pull request
@fernandoenzo
Copy link

Excuse me, but is this project still alive? I saw that no commits have been made since January.
Why hasn't this feature been merged yet? Are there any plans to update this program?

Thanks

@bahamat
Copy link
Member

bahamat commented Aug 7, 2022

Yes it's still alive. It hasn't been committed because it doesn't pass style checks.

@gustavosbarreto
Copy link

@arekinath Can you please fix the CI failure?

@bahamat
Copy link
Member

bahamat commented Oct 19, 2023

Merged in #92.

@bahamat bahamat closed this Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to deal with ed25519 pk
5 participants