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

Allow non-HTTPS Git URLs for the advisory database #426

Merged
merged 1 commit into from May 19, 2022

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.

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