libgit2 / objective-git

Objective-C bindings to libgit2
MIT License
1.16k stars 280 forks source link

Malformed URL under Pass for iOS #691

Closed ghost closed 5 years ago

ghost commented 5 years ago

I initally reported this issue to the maintainer of Pass who referred me to create an issue here.

The error I received when cloning the git repo is:

Failed to clone repository from ssh://git@git.sr.ht:~username/.password-store to file:///private/var/mobile/Containers/Shared/AppGroup/{long string}/Library/password-store-temp
Underlying error: malformed URL 'ssh://git@git.sr.ht:~username/.password-store'

This URL is not malformed. I use it with Password Store on Android and with gopass on my Linux laptop without incident. It is the format given by git.sr.ht.

ghost commented 5 years ago

It appears supported for ssh:// type URLs was patched in to sr.ht. I changed the URL to conform with the standard but am now receiving: Underlying error: early EOF when attempting to clone

ghost commented 5 years ago

I switched to a phacility URL. Closing since this likely only effects git.sr.ht users