public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: enno+gentoo@groeper-berlin.de
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Manifest signing
Date: Wed, 02 Nov 2011 13:03:21 +0100	[thread overview]
Message-ID: <4EB13189.4000500@groeper-berlin.de> (raw)
In-Reply-To: <4E848879.2050100@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 2610 bytes --]

Hello,

Am 29.09.2011 17:02, schrieb Anthony G. Basile:
> Hi everyone,
> 
> The issue of Manifest signing came up in #gentoo-hardened channel ...
> again.  Its clearly a security issue and yet many manifests in the tree
> are still not signed.  Is there any chance that we can agree to reject
> unsigned manifests?  Possibly a question for the Council to adjudicate?

I followed the threads about manifest signing with interest and even had
a look at the manifest signing guide [4]. Sounds nice at first view.
But, please correct me, if I'm wrong. I didn't find a place where these
signatures are verified.
Is manifest signing for the infrastructure team, enabling them to verify
the author of a commit (see GLEP57 [1])? Wouldn't this be obsoleted by
commit signing if the move to git is done ([2])?
If it is (also) for the users, why is there no code for it in portage
anymore [3]?
Okay "why" is clear. Obviously nobody was maintaining it...
I thought about signing the manifests of my overlay. But this is
senseless, if there is no automatic check. I can't think of any user
verifying manifest signatures by hand.
To me it looks like there are repeating complaints about missing
signatures, but I don't see any verification methods for existing
manifest signatures.
At the moment there are 10608 of 15085 manifests signed in my portage
tree. But I can't check them, because I don't have the public keys and
if I fetch them from a public keyserver, I still don't know, if they
really belong to the corresponding Gentoo developers.
Is there some kind of Gentoo Keyring I don't know of?

How does infrastructure team check, if a GPG key belongs to a developer?
The Manifest signing guide [4] simply says "Upload the key to a
keyserver". Everbody can upload a key to the public keyservers. An
attacker, able to modify a signed Manifest, could simply create a new
key on the developers name and use it to sign the modified manifest.
Therefore it must be clear which key really belongs to a dev.

Furthermore the Tree-Signing-GLEPs [5] seem to be incomplete.
This looks like the right place to continue work on Tree Signing.

Regards,
Enno

[1] http://www.gentoo.org/proj/en/glep/glep-0057.html
[2]
http://archives.gentoo.org/gentoo-dev/msg_91813ec042831af2fd688e7ecfae4943.xml
[3]
http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4c16649d121dca977b3c569f03c5d1b194b635d4
[4] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=6
[5]
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/users/robbat2/tree-signing-gleps/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  parent reply	other threads:[~2011-11-02 12:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 15:02 [gentoo-dev] Manifest signing Anthony G. Basile
2011-09-29 15:04 ` Tony "Chainsaw" Vroon
2011-09-29 15:09 ` Fabian Groffen
2011-09-29 19:08   ` [gentoo-dev] " Duncan
2011-09-29 19:36     ` Robin H. Johnson
2011-11-02 12:03 ` enno+gentoo [this message]
2011-11-02 16:11   ` [gentoo-dev] " Robin H. Johnson
2011-11-03 21:55     ` enno+gentoo
2011-11-03 23:09       ` 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=4EB13189.4000500@groeper-berlin.de \
    --to=enno+gentoo@groeper-berlin.de \
    --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