<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Introducing Strongbox</title>
	<atom:link href="http://stuff-things.net/2009/04/17/introducing-strongbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuff-things.net/2009/04/17/introducing-strongbox/</link>
	<description>Paradise is exactly like where you are right now only much, much better…</description>
	<lastBuildDate>Fri, 08 Jan 2010 19:37:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Spike</title>
		<link>http://stuff-things.net/2009/04/17/introducing-strongbox/comment-page-1/#comment-538</link>
		<dc:creator>Spike</dc:creator>
		<pubDate>Fri, 24 Apr 2009 15:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://stuff-things.net/?p=44#comment-538</guid>
		<description>If I&#039;m following you correctly, the data encrypted with &quot;master-pem&quot; needs to be accessible to all users.  I think adding the extra layer of per-user keys makes thing more manageable, especially if you need to revoke someone&#039;s access.  I see the weakness being pretty much the same either way; if an account&#039;s decryption password is compromised then the data is vulnerable.

Strongbox protects against an attacker grabbing your data.  What it can&#039;t protect against is an attacker who infiltrate the system deeply enough to monitor and collect the private key password(s).</description>
		<content:encoded><![CDATA[<p>If I&#8217;m following you correctly, the data encrypted with &#8220;master-pem&#8221; needs to be accessible to all users.  I think adding the extra layer of per-user keys makes thing more manageable, especially if you need to revoke someone&#8217;s access.  I see the weakness being pretty much the same either way; if an account&#8217;s decryption password is compromised then the data is vulnerable.</p>
<p>Strongbox protects against an attacker grabbing your data.  What it can&#8217;t protect against is an attacker who infiltrate the system deeply enough to monitor and collect the private key password(s).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Woeckener</title>
		<link>http://stuff-things.net/2009/04/17/introducing-strongbox/comment-page-1/#comment-537</link>
		<dc:creator>Frank Woeckener</dc:creator>
		<pubDate>Wed, 22 Apr 2009 15:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://stuff-things.net/?p=44#comment-537</guid>
		<description>I have - say - a User-model and want to provide a separate pem-file on a per instance basis. So I changed the lock.rb-file lines #16 and #17 of your gem (thank you a lot for that!) to:

      @public_key = options[:public_key] &#124;&#124; File.join(RAILS_ROOT,&#039;config&#039;,&quot;#{@instance.class.name.downcase}_#{@instance.id.to_s}.pem&quot;)

      @private_key = options[:private_key] &#124;&#124; File.join(RAILS_ROOT,&#039;config&#039;,&quot;#{@instance.class.name.downcase}_#{@instance.id.to_s}.pem&quot;)

Now it looks for user_1.pem, user_2.pem etc. under config/ for each user - this works so far.

I planned to use the user.secret entrys to encrypt a &#039;master-password&#039;, the phrase to a &#039;master-pem&#039; with which I would encrypt all the real stuff, so that I could have a) one(1) master password that is used for the real data and b) separate user passwords that are just necessary to decrypt the master password.

However, I feel a little uncomfortable with it, because I can imagine, that the overall encryption becomes weaker if someone knows, that all the user.secret entries decrypt to the same master password.

What do you think?
-- Frank</description>
		<content:encoded><![CDATA[<p>I have &#8211; say &#8211; a User-model and want to provide a separate pem-file on a per instance basis. So I changed the lock.rb-file lines #16 and #17 of your gem (thank you a lot for that!) to:</p>
<p>      @public_key = options[:public_key] || File.join(RAILS_ROOT,&#8217;config&#8217;,&#8221;#{@instance.class.name.downcase}_#{@instance.id.to_s}.pem&#8221;)</p>
<p>      @private_key = options[:private_key] || File.join(RAILS_ROOT,&#8217;config&#8217;,&#8221;#{@instance.class.name.downcase}_#{@instance.id.to_s}.pem&#8221;)</p>
<p>Now it looks for user_1.pem, user_2.pem etc. under config/ for each user &#8211; this works so far.</p>
<p>I planned to use the user.secret entrys to encrypt a &#8216;master-password&#8217;, the phrase to a &#8216;master-pem&#8217; with which I would encrypt all the real stuff, so that I could have a) one(1) master password that is used for the real data and b) separate user passwords that are just necessary to decrypt the master password.</p>
<p>However, I feel a little uncomfortable with it, because I can imagine, that the overall encryption becomes weaker if someone knows, that all the user.secret entries decrypt to the same master password.</p>
<p>What do you think?<br />
&#8211; Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spike</title>
		<link>http://stuff-things.net/2009/04/17/introducing-strongbox/comment-page-1/#comment-534</link>
		<dc:creator>Spike</dc:creator>
		<pubDate>Mon, 20 Apr 2009 15:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://stuff-things.net/?p=44#comment-534</guid>
		<description>The private key is protected by a password, so keeping it off the server just adds an extra layer of security.  Even if an attacker gets the key, they still need to capture the password somehow.

The downside in your situation is that the user needs the private key password to decrypt the data, which could be problematic if you have many users.  One approach to this, not yet supported by Strongbox, is to have one key-pair per user.  You&#039;d still have the risk of the private key password being captured, but it would limit the damage to a single user if it was.</description>
		<content:encoded><![CDATA[<p>The private key is protected by a password, so keeping it off the server just adds an extra layer of security.  Even if an attacker gets the key, they still need to capture the password somehow.</p>
<p>The downside in your situation is that the user needs the private key password to decrypt the data, which could be problematic if you have many users.  One approach to this, not yet supported by Strongbox, is to have one key-pair per user.  You&#8217;d still have the risk of the private key password being captured, but it would limit the damage to a single user if it was.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://stuff-things.net/2009/04/17/introducing-strongbox/comment-page-1/#comment-533</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 20 Apr 2009 02:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://stuff-things.net/?p=44#comment-533</guid>
		<description>I implemented something similar to this (i think) on my site.

You mentioned that if you only decrypt the data occasionally, then you may not want to have the private key deployed on the server.  That makes sense, and it seems to me that your data would be safe if the server is hacked.  But what if some of the encrypted data needs to be decrypted every time the user logs in?  If somebody hacks the server and they have access to everything, then they can essentially look through the code, see where the private key is, and decrypt everything.  Right?

Is there any way to do decryption on every login and not have the data susceptible to theft if the server is compromised?</description>
		<content:encoded><![CDATA[<p>I implemented something similar to this (i think) on my site.</p>
<p>You mentioned that if you only decrypt the data occasionally, then you may not want to have the private key deployed on the server.  That makes sense, and it seems to me that your data would be safe if the server is hacked.  But what if some of the encrypted data needs to be decrypted every time the user logs in?  If somebody hacks the server and they have access to everything, then they can essentially look through the code, see where the private key is, and decrypt everything.  Right?</p>
<p>Is there any way to do decryption on every login and not have the data susceptible to theft if the server is compromised?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
