crev-dev / crev-dev/cargo-crev

`cargo crev fetch` does not work with ssh URLs

Open
#249 11 comments 5 reactions 0 assignees View on GitHub
help needed
Dominant language
Rust
Stars
2.3k
Forks
97
PR merge metrics
No merged PRs in 30d

Description

I am unable to use `crev fetch` with `git@` (ssh) URLs.

```bash
> RUST_BACKTRACE=1 cargo crev fetch url git@github.com:dpc/crev-proofs.git
Fetching git@github.com:dpc/crev-proofs.git... Error: authentication required but no callback set; class=Ssh (23)
```

Using the same `fetch` command with an `https` URL works.

`crev` was installed using `cargo`; I am running on Mac OS X Mojave (10.14.6).

```
> cargo crev --version
cargo-crev-crev 0.9.0
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `cargo crev fetch url git@github.com:dpc/crev-proofs.git` with `RUST_BACKTRACE=1`, then compare it with the working HTTPS command. Trace the `cargo crev fetch` entry point and its Git SSH authentication path; done means SSH URLs fetch successfully without the authentication callback error.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, rust
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.