summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110131/002388.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20110131/002388.html')
-rw-r--r--zarb-ml/mageia-dev/20110131/002388.html175
1 files changed, 175 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110131/002388.html b/zarb-ml/mageia-dev/20110131/002388.html
new file mode 100644
index 000000000..45c8e9f3b
--- /dev/null
+++ b/zarb-ml/mageia-dev/20110131/002388.html
@@ -0,0 +1,175 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] PGP keys and package signing
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20PGP%20keys%20and%20package%20signing&In-Reply-To=%3C1296485834.12892.27.camel%40akroma.ephaone.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002387.html">
+ <LINK REL="Next" HREF="002394.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] PGP keys and package signing</H1>
+ <B>Michael Scherer</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20PGP%20keys%20and%20package%20signing&In-Reply-To=%3C1296485834.12892.27.camel%40akroma.ephaone.org%3E"
+ TITLE="[Mageia-dev] PGP keys and package signing">misc at zarb.org
+ </A><BR>
+ <I>Mon Jan 31 15:57:14 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002387.html">[Mageia-dev] PGP keys and package signing
+</A></li>
+ <LI>Next message: <A HREF="002394.html">[Mageia-dev] PGP keys and package signing
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2388">[ date ]</a>
+ <a href="thread.html#2388">[ thread ]</a>
+ <a href="subject.html#2388">[ subject ]</a>
+ <a href="author.html#2388">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Le lundi 31 janvier 2011 &#224; 04:16 +0100, nicolas vigier a &#233;crit :
+&gt;<i> Hello,
+</I>&gt;<i>
+</I>&gt;<i> Now that we have a working build system, we need to setup the last part,
+</I>&gt;<i> which is package signing. And for this we need a GPG key. So it's time
+</I>&gt;<i> to decide on some policy about PGP keys.
+</I>&gt;<i>
+</I>
+&gt;<i> - keys stored on the build system were not secure (all contributors and
+</I>&gt;<i> apprentice had shell access on the build system and could easily become
+</I>&gt;<i> root using iurt or other techniques, and then access the secret keys).
+</I>
+Mhh, the keys are stored on raoh, and no one except few selected people
+had access ( granted, there was some flaws since I know someone who
+managed to get access one day despite not being authorized ).
+
+
+&gt;<i> So I propose that we use two keys :
+</I>&gt;<i> - We sign all packages from all repositories using only one key. This
+</I>&gt;<i> key is stored on the buildsystem. We can call it <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">packages at mageia.org.</A>
+</I>&gt;<i> - We have an other key, that we call <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">board at mageia.org.</A> This key is
+</I>&gt;<i> not used on any online server, and is supposed to never be changed,
+</I>&gt;<i> and should not be compromised. Only a few people have a copy of this
+</I>&gt;<i> key (some people from board ?), kept on a usb key hidden somewhere, but
+</I>&gt;<i> not on their laptop or any computer with internet connection. This key
+</I>&gt;<i> is used to sign the key <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">packages at mageia.org</A> (and revoke it if needed),
+</I>&gt;<i> and other official keys of the project, but never used for anything
+</I>&gt;<i> else (not for receiving encrypted messages). And the signature is
+</I>&gt;<i> sent on public keyservers.
+</I>
+If we want to sign the key, we will have a network connection, no ?
+
+
+&gt;<i> - We add the <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">board at mageia.org</A> public key inside the urpmi package.
+</I>&gt;<i> We change urpmi so that it refuses to use any key which has not been
+</I>&gt;<i> signed by <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">board at mageia.org.</A> And urpmi should frequently update the
+</I>&gt;<i> keys it is using from public keyservers to check that its signature
+</I>&gt;<i> from board@ has not been revoked (or that the key self signature has
+</I>&gt;<i> not been revoked).
+</I>
+&gt;<i> - In case we think the packages@ key may have been compromised, or is
+</I>&gt;<i> too old, or we want to change it for any other reason, we revoke the
+</I>&gt;<i> key, and/or revoke the signature from board@ so that it is no
+</I>&gt;<i> longer accepted by urpmi. We create a new key, we sign it with
+</I>&gt;<i> the board@ key and we can start to use this new key.
+</I>
+Since computer get faster days and days ( until the days you buy them ),
+and there is new cryptographic techniques found each year. So it seems
+to me quite sane to change the keys every 2/3 years. More often mean
+that we will forget how we did, and too often could be bad ( even if
+IMHO, one key per release would be nice but maybe overkill ).
+
+This way, we can check the procedure is working, we will have a robust
+key, following up to date requirements of security. And we can fix
+problem if any without having the pressure of &quot;the key got compromised&quot;.
+
+
+
+&gt;<i> In this thread :
+</I>&gt;<i> <A HREF="https://www.mageia.org/pipermail/mageia-dev/20110128/002363.html">https://www.mageia.org/pipermail/mageia-dev/20110128/002363.html</A>
+</I>&gt;<i> misc proposed that we publish tarballs of our software on the mirrors,
+</I>&gt;<i> and sign them using a pgp key. So we need a key for that. We also want
+</I>&gt;<i> to sign ISOs, maybe with a different key. So I think we can do the same
+</I>&gt;<i> as for packages key, we create new keys for software releases and for
+</I>&gt;<i> ISOs, and we sign those keys with the board@ key. And we can tell
+</I>&gt;<i> everybody that all files released by the project are always signed by
+</I>&gt;<i> a key that was signed by the board@ key.
+</I>
+Yup. I would also go on making sure the key is signed ( web of trust,
+etc ).
+
+&gt;<i> If we decide to do this, someone from board could generate the key next
+</I>&gt;<i> week at fosdem after the election, save it on usb key for other board
+</I>&gt;<i> members, and give the fingerprint to everybody to sign the key.
+</I>
+I would rather make sure that the key cannot be used by only one board
+member. Not that I do not trust people for that ( they are the board
+after all ), but it would be safer to have it distributed and resilient
+if someone steal the key ( like a burglar, etc ).
+
+Maybe have it password protected should be sufficient ( except if people
+forget that password, or stick it to the key ).
+
+Pascal proposed to use <A HREF="https://store.ironkey.com/personal">https://store.ironkey.com/personal</A> , on the
+thread
+<A HREF="https://www.mageia.org/pipermail/mageia-sysadm/2011-January/002155.html">https://www.mageia.org/pipermail/mageia-sysadm/2011-January/002155.html</A>
+
+Another last solution to prevent theft would to use shamir secret
+sharing ( as also said in the other thread, but maybe I am too insistant
+on this wonderful cryptographic invention ). This way, people would have
+to steal several part of the file to get something usable.
+( for Harry Potter fan, think of horcruxes )
+
+
+And also, I think we should routinely make sure the key is readable
+( ie, that people know where it is, and the support is still good ), so
+we do not discover one day that half the key keeper lost the key while
+moving, thinking someone else had it, and the other half stored it near
+magnet, rendering it unreadable.
+
+And make sure the key is not sent as cleartext on the web too.
+
+--
+Michael Scherer
+
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002387.html">[Mageia-dev] PGP keys and package signing
+</A></li>
+ <LI>Next message: <A HREF="002394.html">[Mageia-dev] PGP keys and package signing
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2388">[ date ]</a>
+ <a href="thread.html#2388">[ thread ]</a>
+ <a href="subject.html#2388">[ subject ]</a>
+ <a href="author.html#2388">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>