thebaselab / codeapp

Building a full-fledged code editor for iPad
https://code.thebaselab.com
MIT License
2.95k stars 202 forks source link

Can't pull repository from github.com using ssh authorization key #1094

Closed filiperochalopes closed 3 months ago

filiperochalopes commented 4 months ago

Version: 1.8.0 Build 289
Previous Issues: I did not find any issue with this content neither on docs

I generated a rsa 256 key trough alpine ish app as usual and copied public and private key content to the "Hostname Based Credentials" as follows:

image

When I try to copy my public repository git@github.com:filiperochalopes/calc.filipelopes.med.br.git it brings me an error:

image

Is there a defined key format that codeapp supports?

Obviously I also added the public key to github.

bummoblizard commented 4 months ago

Hi. Try this instead: ssh://git@github.com/filiperochalopes/calc.filipelopes.med.br.git.

I will update the code to properly parse the url you used.

filiperochalopes commented 4 months ago

Tricky and no straightforward way to do but worked. Thanks! May keep this open until parse function release.

bummoblizard commented 4 months ago

The fix is now released on App Store.