You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting. I won't have any time to look at this in the near future, but if you are motivated you can change the code here to (probably) instead directly use git2 to fetch similar to what cargo does, but that's presumably what rustsec already does, so maybe there is some bug in the rustsec code regarding credential helpers that can be fixed.
I will investigate if the issue is in rustsec already. Nevertheless a cargo like option net.git-fetch-with-cli may help here as well. I will check that.
Issue is already in rustsec. I have created an Issue there as well. Nevertheless I think it is good to have this option using the cli instead of the library.
Describe the bug
cargo deny fetch
fails with errors configuring my custom advisory-db usinghttps
and gitscredential.helper = store
.A simple
git clone https://github.com/xxx/advisory-db
is working fine.To Reproduce
Steps to reproduce the behavior:
advisories.db-urls
git config --global credential.helper store
git clone https://github.com/xxx/private-repo
cargo deny fetch
This is just example to reproduce. Of course it is not functional to use any repository as advisory-db.
Expected behavior
cargo-deny
is fetching the private repositoryDevice:
Ubuntu 20.04.4 LTS
git version 2.25.1
cargo-deny 0.11.0
The text was updated successfully, but these errors were encountered: