Uh oh!
There was an error while loading. Please reload this page.
doc: fix crypto update() signatures - #5500
Conversation
shigeki
commented
Mar 1, 2016
@mscdex Does |
8de1720 to
92a60fdComparemscdex
commented
Mar 1, 2016
@shigeki Fixed. |
shigeki
commented
Mar 1, 2016
Thanks. LGTM. |
kirked
commented
Mar 1, 2016
As the originator of #5499, I have to say that the most misleading part of the doc is near the top of the page where it states
Once I saw that it should be OpenSSL compatible, it was easy to prove that it isn't. I don't know of a way to arrive at the same digest that node does using OpenSSL when multibyte characters are in the digest stream (which is probably just ignorance on my part). My real problem now is that other systems (e.g., JDK) digest the same as OpenSSL (there is no such thing as |
PR-URL: nodejs#5500 Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
92a60fd to
af09a9cComparePR-URL: #5500 Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
MylesBorins
commented
Mar 23, 2016
@mscdex should this go to lts? |
mscdex
commented
Mar 23, 2016
Probably, I think the API has been this way at least since v0.10 IIRC. |
jasnell
commented
Mar 23, 2016
+1 |
PR-URL: #5500 Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
PR-URL: #5500 Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
The default encoding for crypto methods was changed in v6.0.0, with v4.x keeping a default of `binary`. Ref: nodejs#5500Fixes: nodejs#7712
JacksonTian
commented
Sep 20, 2016
This should not be landed in LTS v4. |
PullRequest nodejs#5522 and nodejs#5500 described the change of the default encoding into UTF8 in crypto functions. This however was only changed for the non-streaming API. The streaming API still used binary as the default encoding. This commit will change the default streaming API encoding to UTF8 to make both APIs behave the same. It will also add tests to validate the behavior.
PullRequest #5522 and #5500 described the change of the default encoding into UTF8 in crypto functions. This however was only changed for the non-streaming API. The streaming API still used binary as the default encoding. This commit will change the default streaming API encoding to UTF8 to make both APIs behave the same. It will also add tests to validate the behavior. Refs: #5522 Refs: #5500 PR-URL: #8611 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
PullRequest nodejs#5522 and nodejs#5500 described the change of the default encoding into UTF8 in crypto functions. This however was only changed for the non-streaming API. The streaming API still used binary as the default encoding. This commit will change the default streaming API encoding to UTF8 to make both APIs behave the same. It will also add tests to validate the behavior. Refs: nodejs#5522 Refs: nodejs#5500 PR-URL: nodejs#8611 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Pull Request check-list
make -j8 test(UNIX) orvcbuild test nosign(Windows) pass withthis change (including linting)?
test (or a benchmark) included?
existing APIs, or introduces new ones)?
Affected core subsystem(s)
Description of change
Fixes: #5499