kermitt2 / pdfalto

PDF to XML ALTO file converter
GNU General Public License v2.0
213 stars 68 forks source link

can't clone repository xpdf. using ssh instead of https #133

Closed jbollmeyer closed 2 years ago

jbollmeyer commented 2 years ago

The following happens:

git submodule update --init --recursive Cloning into 'xpdf-4.03'... Permission denied (publickey). fatal: Could not read from remote repository.

Why its using ssh?

regards Jens

kermitt2 commented 2 years ago

Hi @jbollmeyer !

You mean that you can't clone the xpdf submodule with https only ? I am asking because of the title of the issue. On my machine it work fine with https because I have the ssh key set-up on github.

If I understand correctly, this is definitively annoying because it forces users to set-up a ssh key for cloning the submodule. But then I don't see what we can do about it, because it seems that it is how github works with submodules. We could try to work without submodules but it would mean a more complicated installation with 2 repositories.

Do you have any suggestions maybe to address this issue ?

jbollmeyer commented 2 years ago

Hi, i dont know how to switch to https. I followed your description on the repository. I am more a administrator and not a developer. Till now i had never needed a github account.

But i can check how i can setup a public key with github. Is this public key githjub wide used or it is only?

jbollmeyer commented 2 years ago

OK, so easy. added the Public key of the maschine to my github account. Did not know this was possible.

kermitt2 commented 2 years ago

Actually setting-up the ssh key on the github account is necessary to push to public repositories since a few months (there is a token mechanism for https only, but it's really not user friendly), so I guess it's anyway hard to avoid when using github.

Feel free to close the issue if you think the problem is solved. Happy to help if you have more issues of course !