Skip to content

Commit

Permalink
feat(profile): add keyboxd.
Browse files Browse the repository at this point in the history
  • Loading branch information
roddhjav committed Jan 27, 2024
1 parent 72ade58 commit 4234c54
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
22 changes: 22 additions & 0 deletions apparmor.d/groups/gpg/keyboxd
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

abi <abi/3.0>,

include <tunables/global>

@{exec_path} = @{lib}/gnupg/keyboxd
profile keyboxd @{exec_path} {
include <abstractions/base>

@{exec_path} mr,

owner @{HOME}/@{XDG_GPG_DIR}/common.conf r,
owner @{HOME}/@{XDG_GPG_DIR}/public-keys.d/ rw,
owner @{HOME}/@{XDG_GPG_DIR}/public-keys.d/* rwlk,

owner @{PROC}/@{pid}/fd/ r,

include if exists <local/keyboxd>
}
3 changes: 2 additions & 1 deletion dists/flags/main.flags
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ kde-powerdevil attach_disconnected,mediate_deleted,complain
kde-systemd-start-condition complain
kded5 complain
kernel-install complain
keyboxd complain
kglobalaccel5 complain
kgx complain
kio_http_cache_cleaner complain
Expand Down Expand Up @@ -403,7 +404,7 @@ update-ca-certificates complain
update-grub complain
update-secureboot-policy complain
userdbctl complain
utempter complain
utempter attach_disconnected,complain
uuidd complain
virt-manager attach_disconnected,complain
virtinterfaced attach_disconnected,complain
Expand Down

0 comments on commit 4234c54

Please # to comment.