Commit b9a0e13
committed
chore(vet): import the zcash and isrg audit sets; record the SQLCipher crypto deps
SQLCipher brings six third-party RustCrypto crates into the graph. New crates
entering the graph are a supply-chain decision, not the version-churn
bookkeeping that a cache refresh covers, so this takes the strongest mechanism
that applies before falling back to a weaker one.
Imported two more aggregate audit sets rather than exempting everything:
[imports.zcash] https://raw.githubusercontent.com/zcash/rust-ecosystem/...
[imports.isrg] https://raw.githubusercontent.com/divviup/libprio-rs/...
That is not paperwork. Exemptions drop 117 -> 103: SIXTEEN crates move from
"nobody read this" to genuinely audited, including hmac and inout -- two of the
six SQLCipher deps -- plus serde, sha2, subtle, getrandom, zlib-rs and others
that were exempted before this PR.
Four remain unaudited by us and by every imported set, and are exempted with a
note saying exactly that: aes 0.8.4, block-padding 0.3.3, cbc 0.1.2,
pbkdf2 0.12.2. The fleet rule forbids hand-rolled crypto and requires an
audited ecosystem crate, so these are the correct dependencies; the exemption
records that nobody has read these versions, which is true.
aes and pbkdf2 were already exempted, but at criteria safe-to-run -- enough
while they entered only through `zip` on dev/test paths. SQLCipher decryption
puts them on the SHIPPED path, so both are raised to safe-to-deploy. The gate
surfacing that change of exposure is the gate working.
No certify, no --accept-all.
Gate proven able to fail, with a well-formed mutation: re-pointing the cbc
exemption to a version that does not exist gives exit 255 and
`cbc:0.1.2 missing ["safe-to-deploy"]`; restoring it gives exit 0. (A first
attempt that deleted the block outright only proved the store formatter works
-- vet complained about blank lines, not about coverage.)1 parent 9d583fe commit b9a0e13
2 files changed
Lines changed: 661 additions & 64 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | | - | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
68 | | - | |
69 | | - | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| |||
85 | 91 | | |
86 | 92 | | |
87 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
88 | 98 | | |
89 | 99 | | |
90 | 100 | | |
91 | 101 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
| |||
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
| |||
181 | 179 | | |
182 | 180 | | |
183 | 181 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 182 | | |
189 | 183 | | |
190 | 184 | | |
| |||
197 | 191 | | |
198 | 192 | | |
199 | 193 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | 194 | | |
205 | 195 | | |
206 | 196 | | |
| |||
209 | 199 | | |
210 | 200 | | |
211 | 201 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | 202 | | |
217 | 203 | | |
218 | 204 | | |
| |||
261 | 247 | | |
262 | 248 | | |
263 | 249 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 250 | | |
269 | 251 | | |
270 | 252 | | |
| |||
275 | 257 | | |
276 | 258 | | |
277 | 259 | | |
278 | | - | |
| 260 | + | |
279 | 261 | | |
280 | 262 | | |
281 | 263 | | |
| |||
325 | 307 | | |
326 | 308 | | |
327 | 309 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | 310 | | |
341 | 311 | | |
342 | 312 | | |
343 | 313 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | 314 | | |
349 | 315 | | |
350 | 316 | | |
| |||
361 | 327 | | |
362 | 328 | | |
363 | 329 | | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | 330 | | |
369 | 331 | | |
370 | 332 | | |
| |||
385 | 347 | | |
386 | 348 | | |
387 | 349 | | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | 350 | | |
393 | 351 | | |
394 | 352 | | |
| |||
433 | 391 | | |
434 | 392 | | |
435 | 393 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | 394 | | |
441 | 395 | | |
442 | 396 | | |
| |||
465 | 419 | | |
466 | 420 | | |
467 | 421 | | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | 422 | | |
473 | 423 | | |
474 | 424 | | |
| |||
0 commit comments