# vim:syntax=apparmor
# gnupg sub-process running permissions

  abi <abi/4.0>,

  # user configurations
  owner @{HOME}/.gnupg/options     r,
  owner @{HOME}/.gnupg/pubring.gpg r,
  owner @{HOME}/.gnupg/pubring.kbx r,
  owner @{HOME}/.gnupg/random_seed rw,
  owner @{HOME}/.gnupg/secring.gpg r,
  owner @{HOME}/.gnupg/so/*.x86_64 mr,
  owner @{HOME}/.gnupg/trustdb.gpg rw,

  # Include additions to the abstraction
  include if exists <abstractions/gnupg.d>
