Skip to content

Commit 12cd77a

Browse files
authored
Merge pull request #151 from zircote/dependabot/cargo/jsonwebtoken-10.3.0
chore(deps): bump jsonwebtoken from 9.3.1 to 10.3.0
2 parents 59fc89d + 5377875 commit 12cd77a

File tree

4 files changed

+438
-7
lines changed

4 files changed

+438
-7
lines changed

.github/workflows/security-audit.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout repository
24+
# yamllint disable-line rule:line-length
2425
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2526

2627
- name: Setup Rust with caching
@@ -35,4 +36,36 @@ jobs:
3536
tool: cargo-audit
3637

3738
- name: Run security audit
39+
# Ignore RUSTSEC-2023-0071 (rsa timing side-channel):
40+
# transitive dep from jsonwebtoken rust_crypto feature;
41+
# we only use HMAC-SHA256, never RSA.
42+
run: >-
43+
cargo audit --deny warnings
44+
--ignore RUSTSEC-2023-0071
45+
46+
# Separate job: run audit WITHOUT ignores to surface when
47+
# fixes become available. Failures here are informational
48+
# (do not block PRs).
49+
audit-full:
50+
name: Full Audit (informational)
51+
runs-on: ubuntu-latest
52+
if: github.event_name == 'schedule'
53+
continue-on-error: true
54+
steps:
55+
- name: Checkout repository
56+
# yamllint disable-line rule:line-length
57+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
58+
59+
- name: Setup Rust with caching
60+
uses: ./.github/actions/setup-rust-cached
61+
with:
62+
toolchain: stable
63+
cache-key: audit-full
64+
65+
- name: Install cargo-audit
66+
uses: ./.github/actions/install-cargo-tool
67+
with:
68+
tool: cargo-audit
69+
70+
- name: Run full audit (no ignores)
3871
run: cargo audit --deny warnings

0 commit comments

Comments
 (0)