PLSysSec / veriwasm

SFI verifier of Wasm binaries
Other
79 stars 7 forks source link

Can't clone submodules #5

Closed casouri closed 2 years ago

casouri commented 2 years ago

I tried to clone the submodules but they seems to require authentication:

> git submodule update --init --recursive
Cloning into '/Users/yuan/p/cse227/veriwasm/yaxpeax-core'...
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:iximeow/yaxpeax-core.git' into submodule path '/Users/yuan/p/cse227/veriwasm/yaxpeax-core' failed
Failed to clone 'yaxpeax-core'. Retry scheduled
Cloning into '/Users/yuan/p/cse227/veriwasm/yaxpeax-x86'...
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:iximeow/yaxpeax-x86.git' into submodule path '/Users/yuan/p/cse227/veriwasm/yaxpeax-x86' failed
Failed to clone 'yaxpeax-x86'. Retry scheduled
Cloning into '/Users/yuan/p/cse227/veriwasm/yaxpeax-core'...
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:iximeow/yaxpeax-core.git' into submodule path '/Users/yuan/p/cse227/veriwasm/yaxpeax-core' failed
Failed to clone 'yaxpeax-core' a second time, aborting
iximeow commented 2 years ago

hello! i'm glad to see folks are still working on veriwasm. it looks like the git submodules for yaxpeax-core and yaxpeax-x86 use the git@ url/protocol, so yeah, github is expecting you to have some ssh credential available.

you can either get github a public key (which you'll probably need for pushing changes to PR eventually :grin:) or adjust .gitmodules to use HTTPS urls (which you can get from either repo's page).

casouri commented 2 years ago

Ah, I somehow thought they need special authentication. Adding ssh key works, thanks!