<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: XORLY? Losing your GPG private key safely.</title>
	<atom:link href="http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/</link>
	<description>not entirely unlike a blog</description>
	<pubDate>Mon, 13 Oct 2008 23:37:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Anonymous 8</title>
		<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12697</link>
		<dc:creator>Anonymous 8</dc:creator>
		<pubDate>Wed, 23 Jan 2008 23:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12697</guid>
		<description>3. None of the above

I don't see the use of posting this if you know how to us a search engine..

But to do something useful of what we have on this page, would it be possible to make a RAID-like storage solution using ssss?</description>
		<content:encoded><![CDATA[<p>3. None of the above</p>
<p>I don&#8217;t see the use of posting this if you know how to us a search engine..</p>
<p>But to do something useful of what we have on this page, would it be possible to make a RAID-like storage solution using ssss?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lamby</title>
		<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12695</link>
		<dc:creator>Lamby</dc:creator>
		<pubDate>Wed, 23 Jan 2008 18:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12695</guid>
		<description>These comments (and other blog posts) fit into two categories.

1. Useful comments about why it's a bad idea.
2. Simply pointers to alternative solutions.

I really don't care about (2), I know how to use a search engine. Thanks to everyone who posted a (1).</description>
		<content:encoded><![CDATA[<p>These comments (and other blog posts) fit into two categories.</p>
<p>1. Useful comments about why it&#8217;s a bad idea.<br />
2. Simply pointers to alternative solutions.</p>
<p>I really don&#8217;t care about (2), I know how to use a search engine. Thanks to everyone who posted a (1).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Euan</title>
		<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12692</link>
		<dc:creator>Euan</dc:creator>
		<pubDate>Wed, 23 Jan 2008 14:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12692</guid>
		<description>This is the library I told you about at the LAN: http://www.digital-scurf.org/software/libgfshare</description>
		<content:encoded><![CDATA[<p>This is the library I told you about at the LAN: <a href="http://www.digital-scurf.org/software/libgfshare" rel="nofollow">http://www.digital-scurf.org/software/libgfshare</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12690</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Wed, 23 Jan 2008 14:14:06 +0000</pubDate>
		<guid isPermaLink="false">http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12690</guid>
		<description>What happens if the gpg key is smaller than the stripe size?</description>
		<content:encoded><![CDATA[<p>What happens if the gpg key is smaller than the stripe size?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon McVittie</title>
		<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12689</link>
		<dc:creator>Simon McVittie</dc:creator>
		<pubDate>Wed, 23 Jan 2008 13:33:23 +0000</pubDate>
		<guid isPermaLink="false">http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12689</guid>
		<description>libgfshare gets this splitting behaviour right (on a per-byte level, and accompanied by a proof that it works), and is in Debian unstable (I maintain it).</description>
		<content:encoded><![CDATA[<p>libgfshare gets this splitting behaviour right (on a per-byte level, and accompanied by a proof that it works), and is in Debian unstable (I maintain it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chithanh</title>
		<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12688</link>
		<dc:creator>chithanh</dc:creator>
		<pubDate>Wed, 23 Jan 2008 13:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12688</guid>
		<description>That approach cannot be considered a safe way of storing a gpg key. Actually, the plain text data is distributed across all RAID 5 devices, along with a checksum. So if the thief steals the device that actually contains the key you are SOL.

The flaw in your reasoning is the assumption "impossible to recover data" where it should really say "impossible to recover ALL data".

A cryptographically secure way would be to use Shamir's Secret Sharing or an equivalent approach.</description>
		<content:encoded><![CDATA[<p>That approach cannot be considered a safe way of storing a gpg key. Actually, the plain text data is distributed across all RAID 5 devices, along with a checksum. So if the thief steals the device that actually contains the key you are SOL.</p>
<p>The flaw in your reasoning is the assumption &#8220;impossible to recover data&#8221; where it should really say &#8220;impossible to recover ALL data&#8221;.</p>
<p>A cryptographically secure way would be to use Shamir&#8217;s Secret Sharing or an equivalent approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russell Coker</title>
		<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12687</link>
		<dc:creator>Russell Coker</dc:creator>
		<pubDate>Wed, 23 Jan 2008 13:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12687</guid>
		<description>http://etbe.coker.com.au/2008/01/23/storing-a-gpg-key/

I think it's a bad idea.</description>
		<content:encoded><![CDATA[<p><a href="http://etbe.coker.com.au/2008/01/23/storing-a-gpg-key/" rel="nofollow">http://etbe.coker.com.au/2008/01/23/storing-a-gpg-key/</a></p>
<p>I think it&#8217;s a bad idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Kemp</title>
		<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12684</link>
		<dc:creator>Steve Kemp</dc:creator>
		<pubDate>Wed, 23 Jan 2008 09:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12684</guid>
		<description>You could do worse than look at sss too:

http://www.debian-administration.org/articles/440</description>
		<content:encoded><![CDATA[<p>You could do worse than look at sss too:</p>
<p><a href="http://www.debian-administration.org/articles/440" rel="nofollow">http://www.debian-administration.org/articles/440</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12681</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 23 Jan 2008 09:03:25 +0000</pubDate>
		<guid isPermaLink="false">http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12681</guid>
		<description>For another example of this, try the package "ssss", which implements Shamir's Secret Sharing Scheme.  It provides, cryptographically, a system where you split a secret s into n parts and can recover the secret from any m of them.  You can set m and n arbitrarily.

The basic idea behind it:

Construct a polynomial y=s + c_1 * x + c_2 * x**2 + ... + c_(m-1) * x**(m-1).  Now, give out n different (x_i, y_i) pairs evaluated from this polynomial; do not give out any pair with x_i = 0, as then y_i = s.  You can consider the x_i values public, and many implementations simply use x_i=i.  Given any (m-1) or fewer of the (x_i, y_i) pairs, you have an infinite number of possible polynomials which pass through all of those points.  However, any m of the (x_i, y_i) pairs will uniquely determine the polynomial.  Once you have the polynomial, just look at its constant term for the secret (or evaluate it at zero as you compute it).</description>
		<content:encoded><![CDATA[<p>For another example of this, try the package &#8220;ssss&#8221;, which implements Shamir&#8217;s Secret Sharing Scheme.  It provides, cryptographically, a system where you split a secret s into n parts and can recover the secret from any m of them.  You can set m and n arbitrarily.</p>
<p>The basic idea behind it:</p>
<p>Construct a polynomial y=s + c_1 * x + c_2 * x**2 + &#8230; + c_(m-1) * x**(m-1).  Now, give out n different (x_i, y_i) pairs evaluated from this polynomial; do not give out any pair with x_i = 0, as then y_i = s.  You can consider the x_i values public, and many implementations simply use x_i=i.  Given any (m-1) or fewer of the (x_i, y_i) pairs, you have an infinite number of possible polynomials which pass through all of those points.  However, any m of the (x_i, y_i) pairs will uniquely determine the polynomial.  Once you have the polynomial, just look at its constant term for the secret (or evaluate it at zero as you compute it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William Hay</title>
		<link>http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12680</link>
		<dc:creator>William Hay</dc:creator>
		<pubDate>Wed, 23 Jan 2008 07:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://chris-lamb.co.uk/2008/01/23/xorly-losing-your-gpg-private-key-safely/#comment-12680</guid>
		<description>Pretty certain this won't work. Your GPG key is likely to be considerably smaller than
a block and therefore likely contained entirely on one device.  While you couldn't assemble
the RAID array if you lost the device with the key on an attacker could probably find it.
XOR is only used for the parity not the data IIRC.</description>
		<content:encoded><![CDATA[<p>Pretty certain this won&#8217;t work. Your GPG key is likely to be considerably smaller than<br />
a block and therefore likely contained entirely on one device.  While you couldn&#8217;t assemble<br />
the RAID array if you lost the device with the key on an attacker could probably find it.<br />
XOR is only used for the parity not the data IIRC.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
