-
Notifications
You must be signed in to change notification settings - Fork 48
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
Workflow for replacing trusted publisher with imported audit? #489
Comments
Currently, cargo-vet prioritizes what's in I think one could make a case that an imported audit is better than a local trust entry, but I'm not yet convinced it's better enough to warrant re-architecting the import mechanics to add those audits to Regarding the date range: it's worth emphasizing that this applies to publication date rather than current date. So if version |
ah interesting, one can definitely see it from that direction with trusted entries taking precedent over audits, which does indeed keep the list of import audits cleaner and can reduce noise if there are a bunch of publishers one really trusts. though in this direction, it feels like it can still be nice to somehow be able to see that it does exist audits even for crates published from trusted sources. though probably not in for example we have some devs in our team that we definitely trust and that have independently built and published crates that we do use, and while we trust them we would much rather have an audit of the specific crates (from us or from others), and that would help others using those crates as well. for now I guess we can manually continue to remove the trusted published crate listings and import audits, but it is a bit of a discoverability problem if using trusted publishers more widely (like for example both us and Firefox does us it for some long time well establish Rust devs that have built a lot of crates). |
Yeah — it's definitely better for the ecosystem to have audits rather than |
Hi, have a question about how the trusted publisher workflow works and how best to replace it over time with proper audits.
Concrete example:
android-activity
v0.4.1 EmbarkStudios/rust-ecosystem#94) that we (and others) import into their repositories.cargo vet regenerate imports
, I expected this new audit to have been imported and replace the trusted publisher of that specific crate, but this did not happen.Is this the intended explicit workflow? Or is something missing here with this quite new (but excellent) functionality with trusted publishers?
Doing this manually seems a bit cumbersome and error prone as hard to see that an audit is now available instead, which I believe should have taken precedence over a trusted publisher as it is much more valuable, and not time limited.
The text was updated successfully, but these errors were encountered: