-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Failed to clone repository: Unable to exchange encryption keys #620
Comments
I also get a similar error now. „Unable to exchange encryption keys“. Can someone tell what algorithms are now used when connecting via ssh? I’m no swift expert, but might be due to a dependency update. |
Might be related to #624 |
My best guess is that it's an incompatibility between whatever library the app is using and more recent versions of git—or, more likely, ssh—on the server side. Looking at that issue, I am running NixOS for the server I'm trying to sync to (though I'm using just a bare git repo rather than a frontend like Gitea) so it could definitely be related. |
Exactly the same issue for me, also running NixOS on the server. Definitely seems related to the linked issue. |
Having the same issue too. passforios on iPad, and my password-store on a NixOS machine accessible via SSH. It could be a problem related to the key generation algorithm: #153 . I used Edit: I was able to succesfully clone my password-store with the same configuration using password-store app on Android. So the issue with passforios is likely coming from the git or ssh version/implementation they use. |
@adamoudad as a workaround, adding this to my server NixOS config fixed this issue, along with using a services.openssh.settings.Macs = [ "hmac-sha2-512" ]; |
Thanks for the workaround @charlie-collard ! For compatibility, it might be best to append
In case |
This started recently, but every time I try to clone from my password repository I get this error:
This exact configuration worked previously. I think it stopped after some updates on the server I'm trying to clone from.
Any pointers you have are much appreciated.
The text was updated successfully, but these errors were encountered: