-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
cargo works with the combination of below ~/.gitconfig and ~/.cargo/config , but cargo deny check advisories fails with errors.
~/.gitconfig
[url "git@github.com:"]
insteadOf = https://github.com/~/.cargo/config
[net]
git-fetch-with-cli = trueError:
2022-01-19 04:07:41 [ERROR] failed to fetch advisory database: git operation failed: failed to authenticate when downloading repository
attempted ssh-agent authentication, but none of the usernames `git` succeeded
To Reproduce
Steps to reproduce the behavior:
- create ~/.gitconfig and ~/.cargo/config with the content above
- run setup ssh keys for git cli
- run
cargo updateagainst any crate, it should work fine - run
cargo deny check advisories, it fails with error above
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device:
- OS: windows 11 / wsl2 Ubuntu 20.04
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request