Uh oh!
There was an error while loading. Please reload this page.
crypto: fix encrypted private -> public import - #37056
Conversation
tniessen
commented
Jan 25, 2021
I personally consider the previous behavior a bug, so I am not labeling this as semver-minor. |
jasnell
commented
Jan 25, 2021
As far as I can tell this is new functionality? This should likely be semver-minor. |
addaleax
left a comment
There was a problem hiding this comment.
semver-patch sounds good to me for this
tniessen
commented
Jan 25, 2021
@jasnell That depends on whether we consider the documented behavior or the actual behavior. The documentation says:
Since, unlike On the other hand, if we ignore the documentation, then this is indeed a new feature. |
nodejs-github-bot
commented
Jan 25, 2021
PR-URL: #37056 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
tniessen
commented
Jan 27, 2021
Landed in c9992a0, thanks for reviewing. |
PR-URL: #37056 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This patch fixes the added test case. There is no reason for
createPublicKeyto not allow importing encrypted private keys. With this patch, the behavior matches the documentation.