Support tofu+pgp trust model in GnuPG
authorBenjamin Barenblat <bbaren@google.com>
Thu, 19 Mar 2026 20:25:21 +0000 (21:25 +0100)
committerRene Engelhard <rene@debian.org>
Thu, 19 Mar 2026 20:25:21 +0000 (21:25 +0100)
commit77a9fce497b511478d52c4b0eb8347b26e140b4b
tree548da64d3cc502bdd94455e1bde9ccbbe45f871c
parent856cfa16f3e640c84201afc29e3ab1192b642ec4
Support tofu+pgp trust model in GnuPG

Bug-Debian: https://bugs.debian.org/955271
Forwarded: no

GnuPG supports a trust-on-first-use layer that sits on top of the
standard PGP trust model. If this is enabled, 'gpg --list-keys' needs
write and lock permissions on the TOFU database to return any useful
data. Allow this access through AppArmor.

Gbp-Pq: Name apparmor-gnupg-tofu.diff
sysui/desktop/apparmor/program.soffice.bin