mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +00:00
Merge branch 'master' into php5
* master: Comment out (potentially) insecure ciphers arcfour and none.
This commit is contained in:
commit
f0d0158c2b
@ -1095,7 +1095,7 @@ class Net_SSH2
|
|||||||
'arcfour256',
|
'arcfour256',
|
||||||
'arcfour128',
|
'arcfour128',
|
||||||
|
|
||||||
'arcfour', // OPTIONAL the ARCFOUR stream cipher with a 128-bit key
|
//'arcfour', // OPTIONAL the ARCFOUR stream cipher with a 128-bit key
|
||||||
|
|
||||||
// CTR modes from <http://tools.ietf.org/html/rfc4344#section-4>:
|
// CTR modes from <http://tools.ietf.org/html/rfc4344#section-4>:
|
||||||
'aes128-ctr', // RECOMMENDED AES (Rijndael) in SDCTR mode, with 128-bit key
|
'aes128-ctr', // RECOMMENDED AES (Rijndael) in SDCTR mode, with 128-bit key
|
||||||
@ -1123,7 +1123,7 @@ class Net_SSH2
|
|||||||
'3des-ctr', // RECOMMENDED Three-key 3DES in SDCTR mode
|
'3des-ctr', // RECOMMENDED Three-key 3DES in SDCTR mode
|
||||||
|
|
||||||
'3des-cbc', // REQUIRED three-key 3DES in CBC mode
|
'3des-cbc', // REQUIRED three-key 3DES in CBC mode
|
||||||
'none' // OPTIONAL no encryption; NOT RECOMMENDED
|
//'none' // OPTIONAL no encryption; NOT RECOMMENDED
|
||||||
);
|
);
|
||||||
|
|
||||||
if (stream_resolve_include_path('Crypt/RC4.php') === false) {
|
if (stream_resolve_include_path('Crypt/RC4.php') === false) {
|
||||||
|
Loading…
Reference in New Issue
Block a user