Skip to content

Conversation

@jbg
Copy link
Contributor

@jbg jbg commented May 19, 2022

Fixes #412

The check was apparently added because rustsec doesn't support non-HTTPS URLs, but cargo-deny doesn't actually use rustsec to fetch the repo; cargo-deny fetches it itself with the git2 crate or the git executable and then passes the repo to rustsec as a local filesystem path. And indeed, after removing the check I'm able to use an ssh:// URL for the advisory database without any problem. So, as far as I can see, the check is unnecessarily restrictive.

@jbg jbg requested a review from Jake-Shadle as a code owner May 19, 2022 02:42
Copy link
Member

@Jake-Shadle Jake-Shadle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mergify mergify bot merged commit 39f0cff into EmbarkStudios:main May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot use SSH to fetch advisory DB

2 participants