Secure Boot hashes missing from IncusOS reporting (UI/cli)

I’ve noticed that Secure Boot hashes (either in e.g. db or dbx) are not properly reported in IncusOS, which gives a potentially incomplete picture of a system’s configuration.

For example, in Incus UI, going to: OS > System > Security, won’t show any info about hashes enrolled to Secure Boot databases – only certificates are shown.
This is a bit misleading, especially for systems where hashes are included in SB databases.

Of course, this (not showing hashes) can be a design choice, but in this case I would expect this to be documented.

Same applies when the equivalent behavior is invoked from the Incus cli, e.g. incus admin os system security show

If the hashes are not omitted intentionally, it would be great if this reporting functionality can be improved :slight_smile:

I am not sure if this issue should be reported under IncusOS or Incus, feel free to move it wherever you find it more appropriate.

@gibmat I know you did some work around hashes, mostly for our TPM/measurements logic, any reason not to expose those in the security endpoint?