From f99304fe2380e03b747c7cf30dd63c575a61270a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 13 Nov 2023 15:13:30 +0100 Subject: [PATCH] ukify: show .sbom sections as binary Fixup for e87dec82bec6eff015b368b3c746810d684fc6af: 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. --- src/ukify/ukify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py index 2ab9c5894ce..08f505a2715 100755 --- a/src/ukify/ukify.py +++ b/src/ukify/ukify.py @@ -265,7 +265,7 @@ DEFAULT_SECTIONS_TO_SHOW = { '.pcrpkey' : 'text', '.pcrsig' : 'text', '.sbat' : 'text', - '.sbom' : 'text', + '.sbom' : 'binary', } @dataclasses.dataclass -- 2.47.3