-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenSSH Disabled RSA/SHA-1 Signature Algo By Default #526
Comments
I believe the relevant dependency is libssh2 (through objective-git), which currently has an open issue and PR for this very problem. See:
From a quick glance, it looks like this app is currently building with libssh2 1.9.0, which is one version behind the latest release, although updating it won't fix this issue yet. I guess we just have to wait for the next libssh2 (and possibly objective-git) release. |
Please let us know if it's merged and released. We will keep our dependency updated. |
Hello, FYI, The above PRs appear to have been merged! Thank you for writing the app, and looking forward to the fix! |
Can this issue be closed? I just tested Pass for iOS 0.12.0 and successfully connected to a server running OpenSSH 8.9, without enabling |
I'm still hitting this, or so I think. I've got freshly generated SHA256 keys that are uploaded to GitHub, which works from my computer (for testing purposes). The same keys are on my phone, and upon trying to pull I'm getting
This was with I'm running Pass for iOS 0.12.0 (62). As a temporary measure I swapped to the ED keys, and got around the previously mentioned error by actually setting up the config correctly, as it turns out you need to write both |
No. This is still not working for me. To my knowledge this hasn’t been fixed. If it’s working for you, then most likely your distribution is just re-enabling the weaker algorithm. |
@mssun Have you had a chance to update the SSH dependency? |
I moved from Android to IOS recently, and when trying to connect with this app I get this: Failed to clone...
Think is my key is ed25519, so I guess my issue is related to this thread. Any comments? |
@imocode: In the end, I had to use RSA instead of ED, and have the username in both the I'm not sure why this fixed it for me, but it does work fine now. |
It's a long dependency chain. passforios => objective-git-swift-package => objective-git => libssh2 and libssh2 has not released its support (last release was 1+ year ago. I had to use local build, to get it work:
|
Looks like libssh2 1.11.0 has been out with fixes for this, any chance of updating and building a new release? I'd like to remove the legacy key workaround from my ssh server. |
Pass currently offers outdated signature algorithms to the server when attempting to connect. This is why some users are having issues connecting when their server runs a newer version of OpenSSH (version 8.8 and newer).
I assume Pass uses a library to handle SSH, but I'll confess I can't figure out which one. That library should ideally be upgraded to a version that supports newer signature algorithms.
As for why the folks at OpenSSH think it's important to upgrade, here's a quote from their release notes:
The text was updated successfully, but these errors were encountered: