Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo deny check fails to pull advisory.db (but cargo audit works) #1151

Closed
SeanEClarke opened this issue Mar 23, 2024 · 3 comments
Closed
Labels

Comments

@SeanEClarke
Copy link

When running cargo deny check I get:

 [ERROR] failed to fetch advisory database https://github.com/RustSec/advisory-db: An IO error occurred when talking to the server: error sending request for url (https://github.com/RustSec/advisory-db/info/refs?service=git-upload-pack)

however, when I run cargo audit it works fine:

cargo audit         
    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 614 security advisories (from /home/<redacted>/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (385 crate dependencies)

I have checked (and removed etc.) the ~/.cargo/advisory-db and any .lock's etc.

Is there any verbose or debug logging I can enable?

  • running Rust 1.77 stable toolchain on Debian
@amousset
Copy link
Member

Seems identical to rustsec/advisory-db#1923 / EmbarkStudios/cargo-deny#641

@amousset amousset added the bug label Mar 23, 2024
@amousset
Copy link
Member

Should be fixed now (Byron/gitoxide#1328 (comment)).

@SeanEClarke
Copy link
Author

can confirm it is now fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants