feat(pass): restrict secret dir path.
This commit is contained in:
parent
15029a198a
commit
03b98ad7de
4 changed files with 1 additions and 17 deletions
|
|
@ -31,7 +31,6 @@ profile gpgconf @{exec_path} {
|
|||
owner @{HOME}/@{XDG_GPG_DIR}/** rwkl -> @{HOME}/@{XDG_GPG_DIR}/**,
|
||||
owner @{run}/user/@{uid}/gnupg/ w,
|
||||
owner @{run}/user/@{uid}/gnupg/** rwkl -> @{run}/user/@{uid}/gnupg/**,
|
||||
owner @{user_projects_dirs}/**/gnupg/** rwkl -> @{user_projects_dirs}/**/gnupg/**,
|
||||
|
||||
owner @{PROC}/@{pid}/task/@{tid}/stat rw,
|
||||
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ profile gpgsm @{exec_path} {
|
|||
deny /usr/bin/.gnupg/ w,
|
||||
|
||||
owner @{HOME}/@{XDG_GPG_DIR}/** rwkl -> @{HOME}/@{XDG_GPG_DIR}/**,
|
||||
owner @{user_projects_dirs}/**/gnupg/** rwkl -> @{user_projects_dirs}/**,
|
||||
|
||||
owner /var/lib/*/.gnupg/** rwkl -> /var/lib/*/.gnupg/**,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue