ukify: show .sbom sections as binary

Fixup for e87dec82be:
I misunderstood the format. It's actually CBOR, i.e. some binary format.
When trying to show show text we would first check if it's valid UTF-8,
so we would handle this gracefully, i.e. emit a warning and not print
the contents.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-11-13 16:33:07 +00:00
committed by Luca Boccassi
parent aa25e19b47
commit f99304fe23
+1 -1
View File
@@ -265,7 +265,7 @@ DEFAULT_SECTIONS_TO_SHOW = {
'.pcrpkey' : 'text',
'.pcrsig' : 'text',
'.sbat' : 'text',
'.sbom' : 'text',
'.sbom' : 'binary',
}
@dataclasses.dataclass