diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 601ccac4..24a695bd 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -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':