Commit 96c08f1
authored
refactor(isolation)!: make confirmation backend-neutral (#3366)
* refactor(isolation): make confirmation backend-neutral
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(sandbox): validate confirmation evidence at host boundary
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* refactor(isolation): keep fence evidence driver-owned
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(isolation)!: validate explicit fence projections
Require each compute driver to map its native evidence to individual outer-fence guarantees, and reject incomplete projections before a boundary becomes ready. Exercise the assembled remote confirmation path for invalid audit, property, generation, and digest evidence.
BREAKING CHANGE: BoundaryConfig and SandboxRuntimeDescriptor use outer_fence projections rather than the earlier driver_fence representation. State written by earlier builds cannot be decoded; operators must stop and recreate affected sandboxes after upgrading.
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* refactor(isolation): clarify outer fence ownership
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(isolation): update confirmation test fixtures
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
---------
Signed-off-by: Drew Newberry <anewberry@nvidia.com>1 parent 0a770d9 commit 96c08f1
20 files changed
Lines changed: 1058 additions & 394 deletions
File tree
- architecture
- crates
- openshell-driver-docker/src
- openshell-driver-kubernetes/src
- openshell-driver-podman/src
- openshell-driver-vm/src/isolation
- openshell-isolation-interface
- src
- tests
- openshell-sandbox-backend/src
- runtime/tests
- openshell-sandbox/src
- sandbox/linux
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 | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | | - | |
74 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
75 | 82 | | |
76 | 83 | | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
80 | 112 | | |
81 | 113 | | |
82 | 114 | | |
| |||
100 | 132 | | |
101 | 133 | | |
102 | 134 | | |
103 | | - | |
| 135 | + | |
104 | 136 | | |
105 | 137 | | |
106 | 138 | | |
| |||
201 | 233 | | |
202 | 234 | | |
203 | 235 | | |
204 | | - | |
| 236 | + | |
205 | 237 | | |
206 | 238 | | |
207 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
20 | 60 | | |
21 | 61 | | |
22 | 62 | | |
| |||
48 | 88 | | |
49 | 89 | | |
50 | 90 | | |
51 | | - | |
52 | | - | |
| 91 | + | |
53 | 92 | | |
54 | 93 | | |
55 | 94 | | |
56 | 95 | | |
57 | 96 | | |
58 | 97 | | |
59 | 98 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
66 | 107 | | |
67 | 108 | | |
68 | 109 | | |
| |||
78 | 119 | | |
79 | 120 | | |
80 | 121 | | |
81 | | - | |
| 122 | + | |
82 | 123 | | |
83 | 124 | | |
84 | 125 | | |
| |||
92 | 133 | | |
93 | 134 | | |
94 | 135 | | |
95 | | - | |
| 136 | + | |
96 | 137 | | |
97 | | - | |
| 138 | + | |
98 | 139 | | |
99 | 140 | | |
100 | 141 | | |
101 | 142 | | |
102 | 143 | | |
103 | 144 | | |
104 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
105 | 170 | | |
106 | 171 | | |
107 | 172 | | |
| |||
143 | 208 | | |
144 | 209 | | |
145 | 210 | | |
146 | | - | |
| 211 | + | |
| 212 | + | |
147 | 213 | | |
148 | 214 | | |
149 | 215 | | |
| |||
158 | 224 | | |
159 | 225 | | |
160 | 226 | | |
161 | | - | |
162 | | - | |
| 227 | + | |
| 228 | + | |
163 | 229 | | |
164 | 230 | | |
165 | 231 | | |
166 | 232 | | |
167 | | - | |
168 | | - | |
| 233 | + | |
| 234 | + | |
169 | 235 | | |
170 | 236 | | |
171 | 237 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4361 | 4361 | | |
4362 | 4362 | | |
4363 | 4363 | | |
4364 | | - | |
| 4364 | + | |
| 4365 | + | |
4365 | 4366 | | |
4366 | 4367 | | |
4367 | 4368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2380 | 2380 | | |
2381 | 2381 | | |
2382 | 2382 | | |
2383 | | - | |
| 2383 | + | |
| 2384 | + | |
2384 | 2385 | | |
2385 | 2386 | | |
2386 | 2387 | | |
| |||
2618 | 2619 | | |
2619 | 2620 | | |
2620 | 2621 | | |
2621 | | - | |
| 2622 | + | |
| 2623 | + | |
2622 | 2624 | | |
2623 | 2625 | | |
2624 | 2626 | | |
| |||
0 commit comments