node/doc/api
Tobias Nießen 2e2c015422
crypto: decode missing passphrase errors
When a user attempts to load an encrypted key without supplying a
passphrase, a cryptic OpenSSL error is thrown. This change intercepts
the OpenSSL error and throws a nice error code instead.

PR-URL: https://github.com/nodejs/node/pull/25208
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
2019-03-30 10:31:43 +01:00
..
addons.md doc: hello addon example should return "world" 2019-03-05 23:54:31 +01:00
assert.md assert: adjust loose assertions 2019-01-27 03:34:25 +01:00
async_hooks.md async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
buffer.md doc: make RFC references consistent 2019-03-17 23:14:20 -07:00
child_process.md doc: add Note of options.stdio into child_process 2019-03-19 07:35:37 +01:00
cli.md esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
cluster.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
console.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
crypto.md crypto: add crypto.sign() and crypto.verify() 2019-03-28 21:57:53 -04:00
debugger.md inspector: use js_app.html as the landing page for chrome devtools 2018-06-28 09:24:02 -03:00
deprecations.md module: throw an error for invalid package.json main entries 2019-03-27 17:11:53 +01:00
dgram.md benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
dns.md doc: move dns.promises to stable status 2019-03-29 18:57:13 -04:00
documentation.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
domain.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
errors.md crypto: decode missing passphrase errors 2019-03-30 10:31:43 +01:00
esm.md esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
events.md 2019-03-28, Version 11.13.0 (Current) 2019-03-28 20:23:29 +01:00
fs.md doc: add note about mkdtemp() platform differences 2019-03-29 21:44:05 -04:00
globals.md lib: move queueMicrotask to stable 2019-03-08 08:19:38 -06:00
http2.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
http.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
https.md doc: add missing https Agent maxCachedSessions 2019-03-07 00:41:21 +01:00
index.md doc: add node-report documentation 2019-01-18 10:35:55 +05:30
inspector.md doc: add inspector API example for heapdump 2019-03-11 06:19:11 +01:00
intl.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
modules.md module: throw an error for invalid package.json main entries 2019-03-27 17:11:53 +01:00
n-api.md 2019-03-06, Version 11.11.0 (Current) 2019-03-06 20:24:50 +01:00
net.md benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
os.md doc: document os.userInfo() throwing SystemError 2019-02-03 13:44:06 +02:00
path.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
perf_hooks.md benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
policy.md doc: fix metadata for v11.8.0 doc changes 2019-01-25 19:09:26 -08:00
process.md deps: sync V8 gypfiles with 7.4 2019-03-28 16:36:55 -04:00
punycode.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
querystring.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
readline.md benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
repl.md repl: fix terminal default setting 2019-03-25 16:28:07 +01:00
report.md report: use DiagnosticFilename for default filename 2019-03-15 20:48:38 -04:00
stream.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
string_decoder.md string_decoder: support typed array or data view 2018-09-17 17:48:44 +02:00
synopsis.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
timers.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
tls.md doc: correct typo: cert.issuerCertificate 2019-03-28 14:20:08 -07:00
tracing.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
tty.md 2019-03-28, Version 11.13.0 (Current) 2019-03-28 20:23:29 +01:00
url.md doc: list all versions WHATWG URL api was added 2018-12-05 15:08:38 -08:00
util.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
v8.md 2019-03-28, Version 11.13.0 (Current) 2019-03-28 20:23:29 +01:00
vm.md doc: fix section order in vm.md 2019-01-14 09:36:41 +01:00
worker_threads.md 2019-03-28, Version 11.13.0 (Current) 2019-03-28 20:23:29 +01:00
zlib.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00