mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +00:00
System/Agent: non-SSH2 signatures aren't *currently* supported
This commit is contained in:
parent
7c7d500d80
commit
d02f96e180
@ -249,7 +249,7 @@ class Identity implements PrivateKey
|
||||
throw new UnsupportedAlgorithmException('Only DSA and ECDSA keys support signature format setting');
|
||||
}
|
||||
if ($format != 'SSH2') {
|
||||
throw new UnsupportedAlgorithmException('ssh-agent can only create SSH2-formatted signatures');
|
||||
throw new UnsupportedAlgorithmException('Only SSH2-formatted signatures are currently supported');
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
Loading…
Reference in New Issue
Block a user