Support tofu+pgp trust model in GnuPG
authorBenjamin Barenblat <bbaren@google.com>
Sat, 6 Jun 2026 20:12:08 +0000 (22:12 +0200)
committerRene Engelhard <rene@debian.org>
Sat, 6 Jun 2026 20:12:08 +0000 (22:12 +0200)
commitf9380fe441e8af3a9c20289dd5606e812d2337f6
tree183bd76bd23c1ad9f2c541ebe4e37acdd667d240
parent2063d149f7a7e2514b7d874ec7724da4df099f60
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