Commit 2814140
authored
fix(security): GA-022/028 checksum fail-closed + version override (#11)
* fix(security): GA-022/028 checksum fail-closed + version override
GA-022: Default checksum verification to fail-closed
- Invert default: checksum now required unless CAPISCIO_SKIP_CHECKSUM=true
- Replace opt-in CAPISCIO_REQUIRE_CHECKSUM with opt-out CAPISCIO_SKIP_CHECKSUM
- Fail with actionable error message if checksums unavailable
GA-028: Add capiscio-version input to action.yml
- Users can now pin CapiscIO Core version: capiscio-version: '2.5.0'
- Defaults to 2.6.0
- Read from action input in src/index.ts
Rebuild dist/index.js with all changes.
* fix: skip checksum in CI test (no checksums.txt in releases yet)
Releases don't include checksums.txt yet. With fail-closed default,
the sample agent card test fails on checksum verification.1 parent 320d544 commit 2814140
8 files changed
Lines changed: 47 additions & 39 deletions
File tree
- .github/workflows
- dist
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28287 | 28287 | | |
28288 | 28288 | | |
28289 | 28289 | | |
28290 | | - | |
28291 | | - | |
28292 | | - | |
28293 | | - | |
| 28290 | + | |
| 28291 | + | |
| 28292 | + | |
28294 | 28293 | | |
28295 | | - | |
28296 | | - | |
| 28294 | + | |
| 28295 | + | |
| 28296 | + | |
28297 | 28297 | | |
28298 | 28298 | | |
28299 | | - | |
28300 | | - | |
28301 | | - | |
28302 | | - | |
| 28299 | + | |
| 28300 | + | |
| 28301 | + | |
28303 | 28302 | | |
28304 | | - | |
28305 | | - | |
| 28303 | + | |
| 28304 | + | |
| 28305 | + | |
28306 | 28306 | | |
28307 | 28307 | | |
28308 | 28308 | | |
| |||
28377 | 28377 | | |
28378 | 28378 | | |
28379 | 28379 | | |
28380 | | - | |
| 28380 | + | |
28381 | 28381 | | |
28382 | 28382 | | |
28383 | 28383 | | |
| |||
28404 | 28404 | | |
28405 | 28405 | | |
28406 | 28406 | | |
28407 | | - | |
| 28407 | + | |
28408 | 28408 | | |
28409 | 28409 | | |
28410 | | - | |
| 28410 | + | |
28411 | 28411 | | |
28412 | 28412 | | |
28413 | 28413 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
69 | 66 | | |
70 | | - | |
71 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
81 | 78 | | |
82 | | - | |
83 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments