hyperledger / identus-edge-agent-sdk-ts

Apache License 2.0
15 stars 8 forks source link

cannot even clone with submodules #229

Closed reitcircles closed 3 weeks ago

reitcircles commented 1 month ago

Is this a regression?

Yes

Description

git clone https://github.com/input-output-hk/atala-prism-wallet-sdk-ts.git --recurse-submodules Cloning into 'atala-prism-wallet-sdk-ts'... remote: Enumerating objects: 8132, done. remote: Counting objects: 100% (361/361), done. remote: Compressing objects: 100% (287/287), done. remote: Total 8132 (delta 80), reused 232 (delta 61), pack-reused 7771 Receiving objects: 100% (8132/8132), 7.37 MiB | 11.18 MiB/s, done. Resolving deltas: 100% (5971/5971), done.

Please provide the exception or error you saw

Submodule 'externals/anoncreds' (git@github.com:input-output-hk/anoncreds-rs.git) registered for path 'externals/anoncreds'
Submodule 'externals/didcomm' (git@github.com:sicpa-dlab/didcomm-rust.git) registered for path 'externals/didcomm'
Cloning into '/home/<>/projects/atala-prism-wallet-sdk-ts/externals/anoncreds'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:input-output-hk/anoncreds-rs.git' into submodule path '/home/<>/projects/atala-prism-wallet-sdk-ts/externals/anoncreds' failed
Failed to clone 'externals/anoncreds'. Retry scheduled
Cloning into '/home/<>/projects/atala-prism-wallet-sdk-ts/externals/didcomm'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:sicpa-dlab/didcomm-rust.git' into submodule path '/home/<>/projects/atala-prism-wallet-sdk-ts/externals/didcomm' failed
Failed to clone 'externals/didcomm'. Retry scheduled
Cloning into '/home/<>/projects/atala-prism-wallet-sdk-ts/externals/anoncreds'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:input-output-hk/anoncreds-rs.git' into submodule path '/home/<>/projects/atala-prism-wallet-sdk-ts/externals/anoncreds' failed
Failed to clone 'externals/anoncreds' a second time, aborting

Please provide the environment you discovered this bug in

linux ubuntu

Anything else?

No response

JoaoPFranca commented 3 weeks ago

I have that error too. How did you manage to pass that step? @reitcircles

JoaoPFranca commented 3 weeks ago

@reitcircles, I had success on "solving" that error by adding a SSH key to my github

essbante-io commented 3 weeks ago

As @JoaoPFranca states, it seems to be missing the SSH key setup. @reitcircles, take a look at this: https://stackoverflow.com/questions/12940626/github-error-message-permission-denied-publickey. You can also try ChatGPT the error log; it will give you detailed instructions on how to do the SSH setup.