You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hit this due to phpseclib/phpseclib#1372 where by regular OpenSSH generated keys wouldn't load when generated with recent versions.
Is it fair to say that this should be detected and a LogicException raised to ease identification of the problem? At present you end up with the general "Could not login ..." exception.
The text was updated successfully, but these errors were encountered:
Currently
League\Flysystem\Sftp\SftpAdapter::getPrivateKey()
does not check the bool result ofRSA::loadKey()
where false indicates error.flysystem-sftp/src/SftpAdapter.php
Lines 266 to 280 in 518ac7d
I hit this due to phpseclib/phpseclib#1372 where by regular OpenSSH generated keys wouldn't load when generated with recent versions.
Is it fair to say that this should be detected and a
LogicException
raised to ease identification of the problem? At present you end up with the general "Could not login ..." exception.The text was updated successfully, but these errors were encountered: