List the Entries in the Trust Database

You can view all the information in the trust database by dumping the data that the database contains.

To list the entries in the trust database, run:

sudo fapolicyd-cli -D

The output displays the type of trust, the path to the file that's trusted, the size of the file in bytes and the SHA-256 hash of the file.

Tip:

You can use command line tools such as grep to limit the data returned in the dump output. For example:

sudo fapolicyd-cli -D|grep '/usr/bin/dnf-3'