Support tofu+pgp trust model in GnuPG
authorBenjamin Barenblat <bbaren@google.com>
Wed, 13 Aug 2025 15:35:20 +0000 (17:35 +0200)
committerRene Engelhard <rene@debian.org>
Wed, 13 Aug 2025 15:35:20 +0000 (17:35 +0200)
commit0a4c9f341a6b73b8cc068c8044557d5a9b8027b4
treecdeadb147500cd7f7979cd1e0c907e328dbd8f38
parent902520e02fd1c3fd94ee8bb4665593685d242098
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