Commit b50a7dd
fix: handle raw JSON Attestation-Report from Lunal attestation-service sidecar
v1.2.5 updated the orchestrator (X-Orchestrator-Attestation-Report) decode
path to support both base64+gzip and raw JSON formats, but left the Lunal
upstream (Attestation-Report) path stuck on base64+gzip only.
Lunal also upgraded to the new attestation-service sidecar architecture,
so their Attestation-Report header now emits raw JSON {"platform":...,
"evidence":{...}} instead of base64+gzip. This caused step [4/5] to report
"Lunal Upstream Attestation: present but verification failed" and FAIL on
any claimed CVM making real inference requests.
Fix mirrors the orchestrator decode strategy for the Lunal upstream path:
try base64+gzip first (backward compat), fall back to raw JSON with
.evidence sub-object extraction, fall back to raw JSON directly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3210f5c commit b50a7dd
1 file changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
391 | 396 | | |
392 | 397 | | |
393 | 398 | | |
394 | | - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
395 | 413 | | |
396 | 414 | | |
397 | 415 | | |
| |||
413 | 431 | | |
414 | 432 | | |
415 | 433 | | |
416 | | - | |
| 434 | + | |
417 | 435 | | |
418 | 436 | | |
419 | 437 | | |
| |||
0 commit comments