From: Joshua Brindle <method@manicmethod.com>
To: Jeff Johnson <n3npq@mac.com>
Cc: Chad Sellers <csellers@tresys.com>, SE Linux <selinux@tycho.nsa.gov>
Subject: Re: RPM support for SELinux
Date: Fri, 23 Oct 2009 09:22:10 -0400 [thread overview]
Message-ID: <4AE1AE02.6070702@manicmethod.com> (raw)
In-Reply-To: <41960C97-411F-4D37-9F71-9EE3AADEE8CF@mac.com>
Jeff Johnson wrote:
>
> On Oct 22, 2009, at 3:12 PM, Joshua Brindle wrote:
>
>> Jeff Johnson wrote:
>>>
>>> On Oct 22, 2009, at 2:37 PM, Chad Sellers wrote:
>>>
>>>> I just wanted to let everyone know that we've submitted a patchset
>>>> to add
>>>> more robust SELinux support to RPM4. You can view the patchset here:
>>>>
>>>> http://lists.rpm.org/pipermail/rpm-maint/2009-October/002561.html
>>>>
>>>> Note that these patches require running on the current trunk of
>>>> libselinux
>>>> and libsemanage.
>>>>
>>>> If you're interested in trying out the support or just looking at
>>>> how it
>>>> works, we've put up a wiki page talking about it here:
>>>>
>>>> http://selinuxproject.org/page/RPM
>>>>
>>>> Comments are welcome.
>>>>
>>>
>>>
>>> Just a short reply:
>>>
>>> The patches will never be included @rpm5.org as is because
>>> you missed the abstraction (for packaging) and haven't tied
>>> various stray identifiers as in
>>> Type: mls targeted
>>
>> These should never be "concrete" in RPM. These are identifiers that
>> are created on end systems and forcing a specific set of them is a
>> good way to make sure custom solutions won't use this feature in RPM.
>>
>
> The bz2 blobs need to be verifiable even if opaque.
>
> And the tagging (which you've chosen to add to *.rpm) needs
> to be verifiable as being accurate, however that is arranged.
>
> The fundamental design flaw is that you are choosing to distribute
> security sensitive policy tagging without any visible means (other than
> what
> is provided by bzip2) that the blob's are, in fact, what they are supposed
> to be.
>
> The claimed purpose of this patch set (by you) is so that rpm can be
> labeled
> as "untrusted". I haven't any problem whatsoever with RPM being labeled
> "untrusted". Just that you cannot send "trusted" data through an
> "untrusted"
> channel without any means of verification and expect anything other than
> Sh*t happens.
>
That is not the purpose of this patchset, and it was never claimed to be
the purpose of this patchset.
The purpose of this patchset is to start integrating policy support into
RPM, and for RPM to remain completely trusted. I did say that we have an
ultimate goal of breaking RPM up into pieces so we could remove trust
from the main parts, and to eventually be able to run RPM in different
security domains depending on different aspects of the RPM (where it
came from, who signed it, who is running RPM, etc) but that is not
something this patch set can accomplish and indeed is a long term goal.
We can't very well go off for a long time and come back with a patchset
that completely changes the architecture of RPM, we are doing this
development in the open and therefore each individual patch set along
the way brings us closer, it doesn't completely solve the problem.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2009-10-23 13:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-22 18:37 RPM support for SELinux Chad Sellers
2009-10-22 18:54 ` Jeff Johnson
2009-10-22 19:12 ` Joshua Brindle
2009-10-22 19:43 ` Jeff Johnson
2009-10-23 13:22 ` Joshua Brindle [this message]
2009-10-23 21:27 ` Jeff Johnson
2009-10-26 17:43 ` Chad Sellers
2009-10-26 18:48 ` Jeff Johnson
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=4AE1AE02.6070702@manicmethod.com \
--to=method@manicmethod.com \
--cc=csellers@tresys.com \
--cc=n3npq@mac.com \
--cc=selinux@tycho.nsa.gov \
/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 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.