mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +00:00
SSH2: don't adjust ssh-ed25519 signatures
This commit is contained in:
parent
db85a95af2
commit
d0856357ea
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user