Support tofu+pgp trust model in GnuPG
authorBenjamin Barenblat <bbaren@google.com>
Thu, 7 May 2026 19:49:15 +0000 (21:49 +0200)
committerRene Engelhard <rene@debian.org>
Thu, 7 May 2026 19:49:15 +0000 (21:49 +0200)
commitf3cb35b5afa0fdb2cb6523cea6a3af5502bd9adf
tree9f7b65d0cb1616971440caf2930930286703558b
parent85ec7c5533d2d194c750891a7c28f3fb7e28dff7
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