mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 19:40:28 +00:00
SSH2: Disallow the none MAC.
This commit is contained in:
parent
880bc9d9e6
commit
1aecc5e3d8
@ -1167,7 +1167,7 @@ class Net_SSH2
|
|||||||
'hmac-sha1', // REQUIRED HMAC-SHA1 (digest length = key length = 20)
|
'hmac-sha1', // REQUIRED HMAC-SHA1 (digest length = key length = 20)
|
||||||
'hmac-md5-96', // OPTIONAL first 96 bits of HMAC-MD5 (digest length = 12, key length = 16)
|
'hmac-md5-96', // OPTIONAL first 96 bits of HMAC-MD5 (digest length = 12, key length = 16)
|
||||||
'hmac-md5', // OPTIONAL HMAC-MD5 (digest length = key length = 16)
|
'hmac-md5', // OPTIONAL HMAC-MD5 (digest length = key length = 16)
|
||||||
'none' // OPTIONAL no MAC; NOT RECOMMENDED
|
//'none' // OPTIONAL no MAC; NOT RECOMMENDED
|
||||||
);
|
);
|
||||||
|
|
||||||
static $compression_algorithms = array(
|
static $compression_algorithms = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user