Repository navigation
Commit 593a78c
committed
fix(supply-chain): trust our own crates instead of exempting them
These crates are ours, published to crates.io by h4x0r, so ADR-0018 mechanism
(2) — a trust entry — applies. They were carried as version-pinned
[[exemptions]], which is mechanism (4), the last resort. Taking the weaker
mechanism where a stronger one applies is the defect, and it guarantees the
recurrence: an exemption names a single version, so every release we cut reddens
this repo again. A trust entry records the publisher instead and survives bumps.
Rebuilt on current main rather than rebased. The original branch conflicted
because main had moved the same supply-chain files underneath it, and
re-deriving the change is more trustworthy than hand-resolving a conflict in
files that encode security assertions. The crate list is taken from the original
PR, so the intent is unchanged.
Verified by making it fail on purpose: with the trust entries removed
`cargo vet --locked` fails naming exactly these crates, and with them restored
it succeeds. That control is required here because each repo still carries
unrelated exemptions, and a green run over those alone would prove nothing.1 parent 04b7c9d commit 593a78c
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
0 commit comments