[PR #6992] cargo deny #20717

Open
opened 2026-04-25 22:41:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/6992
Author: @TriplEight
Created: 3/22/2026
Status: 🔄 Open

Base: mainHead: pr/3x8_cargo-deny


📝 Commits (4)

  • 097cb1d ci: add cargo-deny config for supply-chain checks.
  • baec66d ci: run cargo deny in build workflow
  • 33b0316 Merge branch 'main' of github.com:dani-garcia/vaultwarden into pr/3x8_cargo-deny
  • 5bc2f14 Address review feedback on deny.toml and build.yml

📊 Changes

2 files changed (+74 additions, -0 deletions)

View changed files

📝 .github/workflows/build.yml (+11 -0)
deny.toml (+63 -0)

📄 Description

Add cargo-deny config for supply-chain checks.

Covers advisories (RustSec), license compliance, duplicate detection,
and source allowlist (crates.io only).

License allowlist reflects the full transitive dep tree: MIT, Apache-2.0,
ISC, BSD-*, 0BSD, Unlicense, Zlib, BSL-1.0, MPL-2.0, Unicode-3.0,
LGPL-2.1-or-later (r-efi, Windows-only), CDLA-Permissive-2.0 (webpki-roots).

Three known advisories are ignored:

  • RUSTSEC-2023-0071: rsa Marvin Attack, no upstream fix available
  • RUSTSEC-2025-0134: rustls-pemfile unmaintained, blocked on rustls upgrade
  • RUSTSEC-2026-0049: rustls-webpki CRL bug, fix blocked by rustls 0.21.x chain

Duplicate versions are warned rather than denied - all are transitive.

Run cargo deny in build workflow

Adds a cargo-deny step (EmbarkStudios/cargo-deny-action@v2)
after clippy and fmt, gated to the rust-toolchain matrix channel only.
Wires the outcome into the existing failure summary table.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/6992 **Author:** [@TriplEight](https://github.com/TriplEight) **Created:** 3/22/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `pr/3x8_cargo-deny` --- ### 📝 Commits (4) - [`097cb1d`](https://github.com/dani-garcia/vaultwarden/commit/097cb1daafbc86f81af2c6fb0fb01ceb921fe9d4) ci: add cargo-deny config for supply-chain checks. - [`baec66d`](https://github.com/dani-garcia/vaultwarden/commit/baec66df0c5d8604e3c27805a7a9a63d44e5007a) ci: run cargo deny in build workflow - [`33b0316`](https://github.com/dani-garcia/vaultwarden/commit/33b031699536ae7eae41306aa3f29d144ec715ee) Merge branch 'main' of github.com:dani-garcia/vaultwarden into pr/3x8_cargo-deny - [`5bc2f14`](https://github.com/dani-garcia/vaultwarden/commit/5bc2f1401f1d7abf3416a2f532b491ce4611d4d7) Address review feedback on deny.toml and build.yml ### 📊 Changes **2 files changed** (+74 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+11 -0) ➕ `deny.toml` (+63 -0) </details> ### 📄 Description ## Add cargo-deny config for supply-chain checks. Covers advisories (RustSec), license compliance, duplicate detection, and source allowlist (crates.io only). License allowlist reflects the full transitive dep tree: MIT, Apache-2.0, ISC, BSD-*, 0BSD, Unlicense, Zlib, BSL-1.0, MPL-2.0, Unicode-3.0, LGPL-2.1-or-later (r-efi, Windows-only), CDLA-Permissive-2.0 (webpki-roots). Three known advisories are ignored: - RUSTSEC-2023-0071: rsa Marvin Attack, no upstream fix available - RUSTSEC-2025-0134: rustls-pemfile unmaintained, blocked on rustls upgrade - RUSTSEC-2026-0049: rustls-webpki CRL bug, fix blocked by rustls 0.21.x chain Duplicate versions are warned rather than denied - all are transitive. # Run cargo deny in build workflow Adds a cargo-deny step (EmbarkStudios/cargo-deny-action@v2) after clippy and fmt, gated to the rust-toolchain matrix channel only. Wires the outcome into the existing failure summary table. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 22:41:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#20717