Commit 95f5ef4
committed
fix: skip empty reference value IDs in TrustedServices.GetAttestation
Fixes veraison#42. When attestation schemes return empty reference value IDs,
the GetAttestation method now skips them before calling kvstore.Get()
to avoid 'the supplied key is empty' errors.
This commonly occurs when no software components are provisioned
in trust anchors, causing handlers to return []string{""} for
missing software reference IDs.
Signed-off-by: Kallal Mukherjee <[email protected]>1 parent 9c5b036 commit 95f5ef4
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
445 | 450 | | |
446 | 451 | | |
447 | 452 | | |
| |||
0 commit comments