<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Jungle Disk Encryption</title>
	<link>http://blog.jungledisk.com/2006/06/06/encryption/</link>
	<description>Reliable online storage powered by Amazon S3</description>
	<pubDate>Sun, 07 Sep 2008 18:43:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Jungle Dave</title>
		<link>http://blog.jungledisk.com/2006/06/06/encryption/#comment-27</link>
		<dc:creator>Jungle Dave</dc:creator>
		<pubDate>Sat, 26 Aug 2006 15:05:44 +0000</pubDate>
		<guid>http://blog.jungledisk.com/2006/06/06/encryption/#comment-27</guid>
		<description>The encryption in Jungle Disk is primarily a privacy measure, not an integrity check. It is meant to protect the data both in transit and when stored on Amazon's servers.
Adding an additional integrity check would be useful for the scenario you describe, and we'll consider it for a future version.</description>
		<content:encoded><![CDATA[<p>The encryption in Jungle Disk is primarily a privacy measure, not an integrity check. It is meant to protect the data both in transit and when stored on Amazon&#8217;s servers.<br />
Adding an additional integrity check would be useful for the scenario you describe, and we&#8217;ll consider it for a future version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Manger</title>
		<link>http://blog.jungledisk.com/2006/06/06/encryption/#comment-26</link>
		<dc:creator>James Manger</dc:creator>
		<pubDate>Sat, 26 Aug 2006 11:31:41 +0000</pubDate>
		<guid>http://blog.jungledisk.com/2006/06/06/encryption/#comment-26</guid>
		<description>If you completely trust Amazon, why bother encrypting the files at all (particularly as I think you can communicate securely with S3 via HTTPS).
If, on the other hand, you trust S3 to provide reliable storage, but recognise that Amazon may at some point have a disgruntled sys admin, or might be hacked, or a bad guy might be sitting in the communications path between you and S3… then you protect the data you put on S3.
The "worse case" is not a corrupted file.  Much worse would be getting malware (eg a virus) when you recover a file from S3.  If you don't put a keyed integrity check on the data you cannot be sure what you are getting back.  Encryption might seem to help but, in fact, it doesn't.
Anyone seeing Jungle Disk data can look for, say, a known exe (eg notepad.exe) as file names and sizes are not encrypted.  Knowing the ciphertext, the plaintext (its a known exe) and having some malware would allow a baddy to replace the ciphertext with (ciphertext XOR plaintext XOR malware).  While replacing the ciphertext (in S3 or in transit) the baddy can replace its MD5 hash as well.  Jungle Disk will happily download and decrypt the altered ciphertext -- putting malware on the user's computer.

Encryption without a (keyed) integrity check is almost always worthless.

P.S. As separate question, does Jungle Disk use HTTPS?</description>
		<content:encoded><![CDATA[<p>If you completely trust Amazon, why bother encrypting the files at all (particularly as I think you can communicate securely with S3 via HTTPS).<br />
If, on the other hand, you trust S3 to provide reliable storage, but recognise that Amazon may at some point have a disgruntled sys admin, or might be hacked, or a bad guy might be sitting in the communications path between you and S3… then you protect the data you put on S3.<br />
The &#8220;worse case&#8221; is not a corrupted file.  Much worse would be getting malware (eg a virus) when you recover a file from S3.  If you don&#8217;t put a keyed integrity check on the data you cannot be sure what you are getting back.  Encryption might seem to help but, in fact, it doesn&#8217;t.<br />
Anyone seeing Jungle Disk data can look for, say, a known exe (eg notepad.exe) as file names and sizes are not encrypted.  Knowing the ciphertext, the plaintext (its a known exe) and having some malware would allow a baddy to replace the ciphertext with (ciphertext XOR plaintext XOR malware).  While replacing the ciphertext (in S3 or in transit) the baddy can replace its MD5 hash as well.  Jungle Disk will happily download and decrypt the altered ciphertext &#8212; putting malware on the user&#8217;s computer.</p>
<p>Encryption without a (keyed) integrity check is almost always worthless.</p>
<p>P.S. As separate question, does Jungle Disk use HTTPS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Manger</title>
		<link>http://blog.jungledisk.com/2006/06/06/encryption/#comment-25</link>
		<dc:creator>James Manger</dc:creator>
		<pubDate>Tue, 22 Aug 2006 10:31:45 +0000</pubDate>
		<guid>http://blog.jungledisk.com/2006/06/06/encryption/#comment-25</guid>
		<description>An MD5 HTTP header protects the integrity when you upload a file to S3 as the MD5 hash is included in the S3 signature.  I don't think it helps when you retrieve a file, however.  An MD5 header does not prevent Amazon (or anyone else seeing the returning ciphertext) from changing the ciphertext AND changing the MD5 hash to match.  JungleDisk would accept the changed file with who knows what consequences for the user.</description>
		<content:encoded><![CDATA[<p>An MD5 HTTP header protects the integrity when you upload a file to S3 as the MD5 hash is included in the S3 signature.  I don&#8217;t think it helps when you retrieve a file, however.  An MD5 header does not prevent Amazon (or anyone else seeing the returning ciphertext) from changing the ciphertext AND changing the MD5 hash to match.  JungleDisk would accept the changed file with who knows what consequences for the user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jungle Dave</title>
		<link>http://blog.jungledisk.com/2006/06/06/encryption/#comment-24</link>
		<dc:creator>Jungle Dave</dc:creator>
		<pubDate>Sun, 13 Aug 2006 00:35:58 +0000</pubDate>
		<guid>http://blog.jungledisk.com/2006/06/06/encryption/#comment-24</guid>
		<description>Amazon provides automatic MD5 hashing over the encrypted message bodies, which Jungle Disk can compare to ensure the file was transmitted correctly.</description>
		<content:encoded><![CDATA[<p>Amazon provides automatic MD5 hashing over the encrypted message bodies, which Jungle Disk can compare to ensure the file was transmitted correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Manger</title>
		<link>http://blog.jungledisk.com/2006/06/06/encryption/#comment-23</link>
		<dc:creator>James Manger</dc:creator>
		<pubDate>Tue, 08 Aug 2006 03:34:59 +0000</pubDate>
		<guid>http://blog.jungledisk.com/2006/06/06/encryption/#comment-23</guid>
		<description>RC4 can provide confidentiality, but what about integrity?
Do you include any integrity checks in the data that is stored in S3?  Perhaps an HMAC over the ciphertext.</description>
		<content:encoded><![CDATA[<p>RC4 can provide confidentiality, but what about integrity?<br />
Do you include any integrity checks in the data that is stored in S3?  Perhaps an HMAC over the ciphertext.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.506 seconds -->
