]> git.ipfire.org Git - thirdparty/systemd.git/commit
ukify: show .sbom sections as binary
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Nov 2023 14:13:30 +0000 (15:13 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 13 Nov 2023 16:33:07 +0000 (16:33 +0000)
commitf99304fe2380e03b747c7cf30dd63c575a61270a
tree275b220fad67462e551f4a4638810dc3dd8240aa
parentaa25e19b474bb08ab607b363f83f0626a96c8d85
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