Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upcrypto: allow deriving public from private keys #26278
+79
−26
Conversation
nodejs-github-bot
added
C++
crypto
labels
Feb 23, 2019
tniessen
added
the
semver-minor
label
Feb 23, 2019
nodejs
deleted a comment from
nodejs-github-bot
Feb 23, 2019
jasnell
approved these changes
Feb 23, 2019
bnoordhuis
approved these changes
Feb 24, 2019
sam-github
approved these changes
Feb 25, 2019
|
Approved with some minor comments, address as you see fit. |
This comment has been minimized.
This comment has been minimized.
tniessen
added
the
author ready
label
Mar 4, 2019
BridgeAR
reviewed
Mar 5, 2019
doc/api/crypto.md Outdated
panva
reviewed
Mar 5, 2019
tniessen
added a commit
that referenced
this pull request
Mar 5, 2019
This comment has been minimized.
This comment has been minimized.
|
Thanks for reviewing, everyone, landed in fe71629! @sam-github, I know you are busy and that #26278 (comment) and #26278 (comment) are still open, but I think they can be addressed after landing this :) |
tniessen
closed this
Mar 5, 2019
tniessen
referenced this pull request
Mar 5, 2019
Closed
crypto: simplify GetPublicOrPrivateKeyFromJs #26454
tniessen
referenced this pull request
Mar 15, 2019
Closed
(v11.x backport) crypto: improve error handling in parseKeyEncoding #26688
targos
added
the
backported-to-v11.x
label
Mar 27, 2019
targos
added a commit
to targos/node
that referenced
this pull request
Mar 27, 2019
targos
added a commit
to targos/node
that referenced
this pull request
Mar 27, 2019
targos
added a commit
that referenced
this pull request
Mar 27, 2019
targos
added this to Backported
in v11.x
Mar 27, 2019
targos
added a commit
that referenced
this pull request
Mar 28, 2019
targos
added a commit
that referenced
this pull request
Mar 28, 2019
BethGriggs
added a commit
that referenced
this pull request
Apr 5, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
tniessen commentedFeb 23, 2019
This change allows passing private key objects to
crypto.createPublicKey(), resulting in aKeyObjectthat represents a valid public key for the given private key. The returned publicKeyObjectcan be used and exported safely without revealing information about the private key.cc @sam-github, we talked about this in person and via Hangouts.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes