System/Agent: non-SSH2 signatures aren't *currently* supported

This commit is contained in:
terrafrost 2019-05-23 08:57:46 -05:00
parent 7c7d500d80
commit d02f96e180

View File

@ -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;