Ryan Dahl
|
f168f7d702
|
Remove node_isolate.h from node.h
|
13 years ago |
Ben Noordhuis
|
356992fe4d
|
isolates: isolate-ify the main loop
|
13 years ago |
Roman Shtylman
|
4b123f9ca2
|
crypto: rewrite HexDecode without snprintf
No need to use snprintf to create a hex string. It creates
more overhead than is needed. This new version is much faster.
|
13 years ago |
Ben Noordhuis
|
cc2861ee44
|
crypto: don't ignore DH init errors
|
13 years ago |
Ben Noordhuis
|
ef12fa1bf7
|
crypto: deduplicate encoding parsing logic
|
13 years ago |
Ben Noordhuis
|
321ec97d95
|
crypto: deduplicate decipher logic
|
13 years ago |
Ben Noordhuis
|
77f21787d4
|
crypto: fix memory leak when decrypting empty strings
Also fixes a dangling pointer delete[] in the error path.
|
13 years ago |
Ben Noordhuis
|
d70ef199f1
|
crypto: fix memory leaks in PBKDF2 error path
|
13 years ago |
Ryan Dahl
|
c5e51cead8
|
Move lock back to node_crypto.cc
|
13 years ago |
Ryan Dahl
|
e10fd321e4
|
move global vars from platfrom, node_signal_watcher to struct
|
13 years ago |
Ryan Dahl
|
e53e9c72cb
|
move global vars for node_file.cc, node_zlib.cc, and node_crypto.cc
|
13 years ago |
Ben Noordhuis
|
f44d0b9044
|
crypto: throw exception on unknown digest method
Fixes #2227.
|
13 years ago |
Ingmar Runge
|
260383215b
|
node_crypto: use EVP_Cipher*_ex methods, not 'obsolete' versions
This also fixes an issue that made blowfish's ECB mode unusable.
|
13 years ago |
Ben Noordhuis
|
a808ab4ac4
|
crypto: use the libuv rwlock API
|
13 years ago |
Ben Noordhuis
|
9d3faf4f9a
|
crypto: add support for RSA public key signing/verification
|
13 years ago |
Ben Noordhuis
|
3ac5f1106d
|
crypto: make verify() return true or false, not 1 or 0
It's what the documentation says it should return.
|
13 years ago |
Ben Noordhuis
|
534e41b474
|
crypto: make verify() return true or false, not 1 or 0
It's what the documentation says it should return.
|
13 years ago |
Ben Noordhuis
|
cf2ee19049
|
crypto: fix 'var may be used uninitialized' compiler warnings
|
13 years ago |
Ben Noordhuis
|
cdcb1118c8
|
Remove stray NODE_MODULE() semi-colons.
|
13 years ago |
Ben Noordhuis
|
efb833f342
|
crypto: use the right mutex
|
13 years ago |
Ben Noordhuis
|
97cada0e6a
|
crypto: make module thread-safe
|
13 years ago |
Bert Belder
|
189dd8f803
|
Fix line endings and trailing whitespace
|
13 years ago |
koichik
|
f53d092a2a
|
tls, https: add passphrase option
Fixes #1925.
|
13 years ago |
koichik
|
19a855382c
|
tls: requestCert unusable with Firefox and Chrome
Fixes #1516.
|
13 years ago |
Ben Noordhuis
|
c4eaf7e5a9
|
crypto: implement randomBytes() and pseudoRandomBytes()
|
13 years ago |
Ben Noordhuis
|
93aad55342
|
crypto: fix delete of potentially uninitialized pointer
|
13 years ago |
Ben Noordhuis
|
fdb0eb5825
|
crypto: fix read of potentially uninitialized variable
|
13 years ago |
Ben Noordhuis
|
3a9b08f156
|
crypto: look up SSL errors with ERR_print_errors()
|
13 years ago |
Ben Noordhuis
|
9ef962f9ee
|
crypto: fix error message buffer overrun
ERR_error_string() expects a buffer of at least 256 bytes, the input buffer
was not even half that size. Use ERR_error_string_n() instead.
|
13 years ago |
Ben Noordhuis
|
320cf729db
|
crypto: fix delete of potentially uninitialized pointer
|
13 years ago |
Ben Noordhuis
|
b185751c3f
|
crypto: fix read of potentially uninitialized variable
|
13 years ago |
Ryan Dahl
|
6312e889b1
|
Drain OpenSSL error queue? Addresses #1719
|
13 years ago |
Ben Noordhuis
|
44bebc0d52
|
crypto: look up SSL errors with ERR_print_errors()
|
13 years ago |
Ben Noordhuis
|
0ad28fdd37
|
crypto: fix error message buffer overrun
ERR_error_string() expects a buffer of at least 256 bytes, the input buffer
was not even half that size. Use ERR_error_string_n() instead.
|
13 years ago |
Ben Noordhuis
|
638773628c
|
tls: new[] instead of malloc() in Connection::GetSession()
|
14 years ago |
Sean Cunningham
|
eb99083d0b
|
tls: add client-side session resumption support
|
14 years ago |
koichik
|
28a908471d
|
crypto: Fix BIO's usage.
Fixes #1612.
Fixes #1296.
|
14 years ago |
Ben Noordhuis
|
5ded5e274f
|
crypto: use X509_get_ext_by_NID(NID_subject_alt_name)
|
14 years ago |
Niclas Hoyer
|
7b2536a1a2
|
Added additional properties to getPeerCertificate, now includes subjectAltName, Exponent and Modulus (FOAF+SSL friendly).
Patch written by Nathan,
http://groups.google.com/group/nodejs/browse_thread/thread/1d42da4cb2e51536
|
14 years ago |
Ryan Dahl
|
84cf0c5280
|
crypto: set data before sending to thread pool
fixes test-crypto
|
14 years ago |
Ryan Dahl
|
21cc4c4985
|
Upgrade libuv to ea4271f
Required adding uv_default_loop() in many places.
|
14 years ago |
koichik
|
6f60683802
|
tls: x509 certificate subject parsing fail
Fixes #1568.
|
14 years ago |
Igor Zinkovsky
|
bce41fac94
|
Use new uv_fs_ apis
This will cause master to be unstable for a while as we replace existing eio
calls with uv_fs calls.
|
14 years ago |
Peter Bright
|
0110c90382
|
Upgrade to 0.9.8r.
Build in Win32.
|
14 years ago |
Bert Belder
|
9728723508
|
node_crypto: interface with libuv, not libev
|
14 years ago |
Glen Low
|
04122ad2d3
|
crypto: PBKDF2 function from OpenSSL
|
14 years ago |
Tom Hughes
|
421b6e89aa
|
crypto: fix incorrect ssl shutdown check
|
14 years ago |
Tom Hughes
|
94db871ecf
|
crypto: fix incorrect ssl shutdown check
|
14 years ago |
Fedor Indutny
|
9010f5fbab
|
Add support for TLS SNI
Fixes #1411
|
14 years ago |
SAWADA Tadashi
|
d3a84bea7b
|
Fix crypto encryption/decryption with Base64.
Fixes #738.
Fixes #1205.
|
14 years ago |