All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] gpg policy
@ 2016-12-28 16:32 Luis Ressel
  2016-12-28 16:40 ` Dominick Grift
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Ressel @ 2016-12-28 16:32 UTC (permalink / raw)
  To: refpolicy

I'm currently trying to re-write the contrib/gpg module a bit. In
particular, I intend to change the types used for the data in
~/.gnupg/. This is what I have in mind:

* .gnupg/ itself: gpg_home_t (all gpg-related programs can create
  files/directories inside this)
* .gnupg/*.conf: gpg_conf_t (all gpg-related programs can read, but not
  write, those files)
* .gnupg/{trustdb.gpg,pubring*} and similar: gpg_home_t (only gpg_t
  can manage those files; perhaps I'll need to allow other gpg-related
  tools read access)
* .gnupg/* (everything else): gpg_secret_t (only gpg_t and gpg_agent_t
  can manage those files)

With gnupg 2.1, only gpg_agent_t needs access to gpg_secret_t data;
perhaps I'll add a boolean to configure this.

Any thoughts?

Regards,
Luis

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-28 16:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-28 16:32 [refpolicy] gpg policy Luis Ressel
2016-12-28 16:40 ` Dominick Grift
2016-12-28 16:48   ` Luis Ressel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.