Support tofu+pgp trust model in GnuPG
authorBenjamin Barenblat <bbaren@google.com>
Sat, 6 Jun 2026 21:07:23 +0000 (23:07 +0200)
committerRene Engelhard <rene@debian.org>
Sat, 6 Jun 2026 21:07:23 +0000 (23:07 +0200)
commit2e6f3f5c8fbe6da536b8fc6410cd3a5e8662842b
tree4027932f603bbe83e5cd26da9fb597ff1610f27b
parent7fcf6660765f075ab411f073d82046ce91460b5e
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