From: pebenito@ieee.org (Chris PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 3/5] gpg: Add gpg_agent_use_card boolean for OpenPGP cards
Date: Wed, 13 Dec 2017 18:21:41 -0500 [thread overview]
Message-ID: <ed4906e9-5a0d-1343-b6ad-b097e566abf0@ieee.org> (raw)
In-Reply-To: <20171213181722.28545-3-jason@perfinion.com>
On 12/13/2017 01:17 PM, Jason Zaman wrote:
> ---
> gpg.te | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/gpg.te b/gpg.te
> index 619fdb4..0ad774e 100644
> --- a/gpg.te
> +++ b/gpg.te
> @@ -14,6 +14,14 @@ policy_module(gpg, 2.12.3)
> ## </desc>
> gen_tunable(gpg_agent_env_file, false)
>
> +## <desc>
> +## <p>
> +## Determine whether GPG agent can use OpenPGP
> +## cards or Yubikeys over USB
> +## </p>
> +## </desc>
> +gen_tunable(gpg_agent_use_card, false)
> +
> attribute_role gpg_roles;
> roleattribute system_r gpg_roles;
>
> @@ -274,6 +282,11 @@ tunable_policy(`gpg_agent_env_file',`
> userdom_user_home_dir_filetrans_user_home_content(gpg_agent_t, file)
> ')
>
> +tunable_policy(`gpg_agent_use_card',`
> + dev_read_sysfs(gpg_agent_t)
> + dev_rw_generic_usb_dev(gpg_agent_t)
> +')
> +
> tunable_policy(`use_nfs_home_dirs',`
> fs_manage_nfs_dirs(gpg_agent_t)
> fs_manage_nfs_files(gpg_agent_t)
Merged.
--
Chris PeBenito
next prev parent reply other threads:[~2017-12-13 23:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-13 18:17 [refpolicy] [PATCH 1/5] gssproxy: allow kerberos nfs filetrans Jason Zaman
2017-12-13 18:17 ` [refpolicy] [PATCH 2/5] dirmngr: allow filetrans in gpg_runtime_t Jason Zaman
2017-12-13 23:21 ` Chris PeBenito
2017-12-13 18:17 ` [refpolicy] [PATCH 3/5] gpg: Add gpg_agent_use_card boolean for OpenPGP cards Jason Zaman
2017-12-13 23:21 ` Chris PeBenito [this message]
2017-12-13 18:17 ` [refpolicy] [PATCH 4/5] cachefilesd: make cachefilesd_cache_t a mountpoint Jason Zaman
2017-12-13 23:21 ` Chris PeBenito
2017-12-13 18:17 ` [refpolicy] [PATCH 5/5] Set user_runtime_content_type for all remaining types in /run/user/%{UID}/ Jason Zaman
2017-12-13 23:22 ` Chris PeBenito
2017-12-13 23:18 ` [refpolicy] [PATCH 1/5] gssproxy: allow kerberos nfs filetrans Chris PeBenito
2017-12-20 16:53 ` Jason Zaman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed4906e9-5a0d-1343-b6ad-b097e566abf0@ieee.org \
--to=pebenito@ieee.org \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).