Skip to content

Commit

Permalink
fix(gpg): due to how apt keyring is managed, the generic gpg needs ap…
Browse files Browse the repository at this point in the history
…t keyring access.

fix #265
  • Loading branch information
roddhjav committed Dec 17, 2023
1 parent ca85373 commit ee328f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apparmor.d/groups/gpg/gpg
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ profile gpg @{exec_path} {
owner @{user_projects_dirs}/**/gnupg/ rw,
owner @{user_projects_dirs}/**/gnupg/** rwkl -> @{user_projects_dirs}/**/gnupg/**,

# only: apt
owner /etc/apt/keyrings/ rw,
owner /etc/apt/keyrings/** rwkl -> /etc/apt/keyrings/**,

owner /var/lib/*/gnupg/ rw,
owner /var/lib/*/gnupg/** rwkl -> /var/lib/*/gnupg/**,

Expand Down

0 comments on commit ee328f7

Please sign in to comment.