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:
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