Skip to content

Add cargo audit and cargo deny to CI workflow and update depenedencies so that they pass - #200

Merged
ameba23 merged 7 commits into
mainfrom
peg/update-lockfile-deps
Nov 27, 2026
Merged

ameba23 merged 7 commits into
mainfrom
peg/update-lockfile-deps

Conversation

@ameba23

@ameba23 ameba23 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

There were many dependencies in the lockfile with security vulnerabilities.

This PR adds cargo-audit and cargo-deny checks to CI and cherry picks a commit provided by @MoeMahhouk updating several dependencies to greatly reduce the number of findings from cargo audit.

We still have an issue with an old crypto-bigint brought in through alloy-primitives from the optional rpc feature. Bumping alloy-primitives wont fix it.

MoeMahhouk and others added 2 commits November 24, 2026 14:38
Semver-compatible lockfile bumps clear 36 RustSec advisories (h2, hickory, quinn, crossbeam-epoch, ruint, url, webpki-root-certs and others) plus unsound and yanked warnings. Left: crypto-bigint 0.5 (dev-only via tdx-quote) and rsa 0.9 (public-key checks of GCP endorsements), both pinned by upstream ranges.

(cherry picked from commit 9d7a50d)
@ameba23
ameba23 marked this pull request as draft November 24, 2026 13:52
Comment thread .github/workflows/test.yml Outdated

- name: Run cargo deny
if: ${{ !cancelled() && steps.install_checks.outcome == 'success' }}
run: cargo deny --locked --features azure,attested-tls/ws,attested-tls/rpc check bans licenses sources

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

maybe remove azure since it is planned to be deprecated? this way it will also take less time, right? especially many dependencies won't be needed anymore like the tpm ones

@ameba23
ameba23 marked this pull request as ready for review November 26, 2026 08:11
@ameba23
ameba23 merged commit bb4b638 into main Nov 27, 2026
4 checks passed
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.

2 participants