1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-04 18:48:24 +01:00

SSH2: don't adjust ssh-ed25519 signatures

This commit is contained in:
terrafrost 2020-01-19 08:05:55 -06:00
parent db85a95af2
commit d0856357ea

View File

@ -4660,7 +4660,6 @@ class SSH2
->withSignatureFormat('SSH2');
switch ($this->signature_format) {
case 'ssh-ed25519':
Strings::shift($signature, 4 + strlen('ssh-ed25519') + 4);
$hash = 'sha512';
break;
case 'ecdsa-sha2-nistp256':