0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/doc/api
Tobias Nießen 10f5fa7513
crypto: forbid setting the PBKDF2 iter count to 0
RFC 2898 does not permit an iteration count of zero, and OpenSSL 1.1.1
will treat it as one iteration internally.

Future OpenSSL versions will reject such inputs (already on master
branch), but until that happens, Node.js should manually reject them.

Refs: https://github.com/nodejs/webcrypto/pull/29

PR-URL: https://github.com/nodejs/node/pull/30578
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2019-11-28 00:36:36 +01:00
..
addons.md src: deprecate two- and one-argument AtExit() 2019-11-05 23:59:02 +01:00
assert.md doc: simplify "is recommended" language in assert documentation 2019-11-22 11:38:50 -08:00
async_hooks.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
buffer.md doc: remove dashes 2019-10-26 08:39:41 -07:00
child_process.md 2019-11-21, Version 13.2.0 (Current) 2019-11-21 17:14:59 -05:00
cli.md doc: fixup incorrect flag name reference 2019-11-28 00:13:54 +01:00
cluster.md 2019-11-21, Version 13.2.0 (Current) 2019-11-21 17:14:59 -05:00
console.md doc, console: remove non-existant methods from docs 2019-11-13 07:40:51 +01:00
crypto.md crypto: forbid setting the PBKDF2 iter count to 0 2019-11-28 00:36:36 +01:00
debugger.md doc: add note about debugging worker_threads 2019-11-25 06:11:09 +01:00
deprecations.md doc: remove dashes 2019-10-26 08:39:41 -07:00
dgram.md 2019-11-05, Version 13.1.0 (Current) 2019-11-05 19:39:20 +01:00
dns.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
documentation.md
domain.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
errors.md worker: allow specifying resource limits 2019-11-05 19:57:13 +01:00
esm.md doc: update outdated commonjs compat info 2019-11-17 01:08:09 -08:00
events.md doc: remove "it is important to" phrasing 2019-10-26 16:33:24 -07:00
fs.md fs: add ENFILE to rimraf retry logic 2019-11-27 18:27:12 -05:00
globals.md doc: delete "a number of" things in the docs 2019-10-26 11:25:43 -07:00
http2.md doc: explain http2 aborted event callback 2019-11-03 18:52:20 +05:30
http.md 2019-11-21, Version 13.2.0 (Current) 2019-11-21 17:14:59 -05:00
https.md 2019-11-21, Version 13.2.0 (Current) 2019-11-21 17:14:59 -05:00
index.md doc: remove dashes 2019-10-26 08:39:41 -07:00
inspector.md doc: remove dashes 2019-10-26 08:39:41 -07:00
intl.md
modules.md doc: fix some recent doc nits 2019-11-12 16:55:27 -08:00
n-api.md doc: fix up N-API doc 2019-11-12 17:11:39 -08:00
net.md doc: remove dashes 2019-10-26 08:39:41 -07:00
os.md doc: revise os.md 2019-10-26 16:10:12 -07:00
path.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
perf_hooks.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
policy.md doc: remove dashes 2019-10-26 08:39:41 -07:00
process.md child_process,cluster: allow using V8 serialization API 2019-11-05 23:07:04 +01:00
punycode.md
querystring.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
readline.md doc: remove dashes 2019-10-26 08:39:41 -07:00
repl.md doc: remove dashes 2019-10-26 08:39:41 -07:00
report.md doc: remove dashes 2019-10-26 08:39:41 -07:00
stream.md doc: add note of caution about non-conforming streams 2019-11-25 14:35:06 -08:00
string_decoder.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
synopsis.md
timers.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00
tls.md doc: remove dashes 2019-10-26 08:39:41 -07:00
tracing.md doc: remove dashes 2019-10-26 08:39:41 -07:00
tty.md doc: remove dashes 2019-10-26 08:39:41 -07:00
url.md doc: add entry to url.parse() changes metadata 2019-11-15 15:47:01 +01:00
util.md doc: add mention for using promisify on class methods 2019-11-20 17:00:47 -08:00
v8.md doc: remove "this API is unstable" note for v8 serdes API 2019-11-28 00:18:41 +01:00
vm.md esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
worker_threads.md 2019-11-21, Version 13.2.0 (Current) 2019-11-21 17:14:59 -05:00
zlib.md doc: escape brackets not used as markdown reference links 2019-10-10 22:15:58 -07:00