Uh oh!
There was an error while loading. Please reload this page.
crypto: add cipher update/final methods encoding validation - #45990
Conversation
nodejs-github-bot
commented
Dec 27, 2022
Review requested:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
eba9755 to
9bbecffCompare9bbecff to
449cc81CompareSorry, some-how missed js lint error in test. Fixed it, also updated first commit message. Please approve run @VoltrexKeyva |
vitpavlenko
commented
Jan 1, 2023
@VoltrexKeyva any chance to approve?) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
449cc81 to
1853424Comparenodejs-github-bot
commented
Jan 1, 2023
nodejs-github-bot
commented
Jan 1, 2023
nodejs-github-bot
commented
Jan 2, 2023
47f8bc3 to
ca20150Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
nodejs-github-bot
commented
Jan 13, 2023
| if (normalizedEncoding === undefined) { | ||
| throw new ERR_UNKNOWN_ENCODING(encoding); | ||
| } | ||
| assert(false, 'Cannot change encoding'); |
There was a problem hiding this comment.
why throw error by assert? it will be some internal error, no?
There was a problem hiding this comment.
We can replace the assert with a coded error in a follow up
semver-major
There was a problem hiding this comment.
I think it is better to have a coded error, can I make the change? @panva
There was a problem hiding this comment.
Sure, best wait until this change lands.
nodejs-github-bot
commented
Jan 17, 2023
Landed in 5a7d4a7 |
Adds encoding validation to update and final cipher methods.
Refs: #45189