public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Chris Bainbridge" <chris.bainbridge@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: Signing everything, for fun and for profit
Date: Sat, 20 May 2006 15:37:54 +0100	[thread overview]
Message-ID: <623652d50605200737l315d4159ie0e3982c0e970e44@mail.gmail.com> (raw)
In-Reply-To: <pan.2006.05.20.10.54.42.206123@comcast.net>

On 20/05/06, Peter <pete4abw@comcast.net> wrote:
> PMFJI, but as a user, not a security expert, I had a few thoughts that I'd
> like to throw in. Thanks to Patrick, he helped me to drill down some of
> the ideas and I present them for consideration. It's just a framework, so
> I will be brief

Thanks for your input. From a security point of view your scheme is
fine, but as pointed out by others you won't be able to selectively
rsync parts of the tree. That will require a signature for each
manifest, and a manifest for every directory. The problem I see is
that the manifest is going to have to include a hash for each
subdirectory - otherwise you open the possibility of someone replacing
a directory with one from the past that contains some known
insecurity, or corrupting the tree by swapping random directories, and
yet the signatures remain valid. Of course, that hash changes if you
allow people to rsync_exclude directories, and hence the signature
changes. So you can either accept that if you selectively rsync then
you won't be able to verify the signed tree, or accept that there is a
known security problem with having no signed link between parent and
child directories, or come up with a different scheme.

Obviously the manifests also have to be checked to make sure they're
valid - this is currently done for package directories at emerge time,
it would need to be extended to all other directories. I'd prefer the
checks done at sync time since that's a one time cost and you don't
have to figure out exactly what files will be used by each emerge
operation.

-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2006-05-20 14:46 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-18 21:45 [gentoo-dev] Signing everything, for fun and for profit Patrick Lauer
2006-05-18 23:53 ` Kevin F. Quinn
2006-05-18 23:54   ` Ciaran McCreesh
2006-05-19  4:26 ` Robin H. Johnson
2006-05-20  2:03   ` Ned Ludd
2006-05-20 13:03     ` Patrick Lauer
2006-05-20 13:21   ` Jan Kundrát
2006-05-20 20:47     ` Robin H. Johnson
2006-05-21 10:40       ` Paul de Vrieze
2006-05-19  9:46 ` Chris Bainbridge
2006-05-19 11:20   ` Patrick Lauer
2006-05-19 14:13     ` Chris Bainbridge
2006-05-19 14:39       ` Andrew Gaffney
2006-05-19 15:17         ` Chris Bainbridge
2006-05-19 15:26           ` John Myers
2006-05-19 16:10             ` Chris Bainbridge
2006-05-19 13:30               ` Thomas Cort
2006-05-20  6:30               ` Alin Nastac
2006-05-19 15:32           ` Chris Gianelloni
2006-05-19 15:35           ` Harald van Dijk
2006-05-19 15:26       ` Patrick Lauer
2006-05-19 16:06         ` Chris Bainbridge
2006-05-19 16:50       ` Marius Mauch
2006-05-19 17:04         ` Harald van Dijk
2006-05-19 16:28 ` [gentoo-dev] " Peter
2006-05-19 16:41   ` Chris Bainbridge
2006-05-19 16:51   ` Stephen Bennett
2006-05-19 17:26   ` Marius Mauch
2006-05-20  5:44     ` Lance Albertson
2006-05-19 17:45 ` [gentoo-dev] " Marius Mauch
2006-05-20  8:13 ` Thierry Carrez
2006-05-20 13:10   ` Patrick Lauer
2006-05-20 10:54 ` [gentoo-dev] " Peter
2006-05-20 14:37   ` Chris Bainbridge [this message]
2006-05-20 14:51     ` [gentoo-dev] " Peter
2006-05-21 11:31       ` Chris Bainbridge
2006-05-21 13:49         ` Francesco Riosa
2006-05-20 23:48   ` [gentoo-dev] " Robin H. 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=623652d50605200737l315d4159ie0e3982c0e970e44@mail.gmail.com \
    --to=chris.bainbridge@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /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