<?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: Encrypted ZFS Filesystems On Linux</title>
	<atom:link href="http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/</link>
	<description>Linux.  GNU.  Freedom.</description>
	<lastBuildDate>Mon, 17 Jun 2013 17:06:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6-beta3-24432</generator>
	<item>
		<title>By: EGL</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-126237</link>
		<dc:creator>EGL</dc:creator>
		<pubDate>Thu, 16 May 2013 12:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-126237</guid>
		<description><![CDATA[Great article! But I&#039;m very curious, as MN, which disadvantages you get when using LUKS below ZFS. As far as I can see, dedup and compression are going to work properly with LUKS as opposed to ecryptfs. What I&#039;m not sure about is are things like 4k sectors and such...

Thank you for clarification!]]></description>
		<content:encoded><![CDATA[<p>Great article! But I&#8217;m very curious, as MN, which disadvantages you get when using LUKS below ZFS. As far as I can see, dedup and compression are going to work properly with LUKS as opposed to ecryptfs. What I&#8217;m not sure about is are things like 4k sectors and such&#8230;</p>
<p>Thank you for clarification!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MN</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-124664</link>
		<dc:creator>MN</dc:creator>
		<pubDate>Sat, 06 Apr 2013 19:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-124664</guid>
		<description><![CDATA[Hi Aaron,
 Can you help clarify what you mean by &quot;using dmcrypt and LUKS, which would bypass a lot of the features ZFS brings to the table&quot;? As I understand it, using LUKS would just change the underlying raw device to be an encrypted device. Since ZFS would then use that encrypted raw device, we would still be able to take advantage of all it&#039;s features. I probably am missing something so any clarification will help!

thanks.]]></description>
		<content:encoded><![CDATA[<p>Hi Aaron,<br />
 Can you help clarify what you mean by &#8220;using dmcrypt and LUKS, which would bypass a lot of the features ZFS brings to the table&#8221;? As I understand it, using LUKS would just change the underlying raw device to be an encrypted device. Since ZFS would then use that encrypted raw device, we would still be able to take advantage of all it&#8217;s features. I probably am missing something so any clarification will help!</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Verschlüsseltes NAS selber aufsetzen (Ubuntu, LUKS, ZFS, RAID) &#124; undkonsortenBlog</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-124236</link>
		<dc:creator>Verschlüsseltes NAS selber aufsetzen (Ubuntu, LUKS, ZFS, RAID) &#124; undkonsortenBlog</dc:creator>
		<pubDate>Thu, 14 Feb 2013 13:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-124236</guid>
		<description><![CDATA[[...] http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] <a href="http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/" rel="nofollow">http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-123963</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 01 Feb 2013 07:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-123963</guid>
		<description><![CDATA[&quot;Now, granted, encryption algorithms are designed to mimic random data, and it is very hard to compress or deduplicate random data. With that said, it can still be done, and it’s works just fine.&quot;

If you can compress your encrypted data, the encryption algorithm is egregiously leaking data. Same goes for deduplication - a crypto implementation that allows one to tell from ciphertext only that the plaintexts are the same is broken]]></description>
		<content:encoded><![CDATA[<p>&#8220;Now, granted, encryption algorithms are designed to mimic random data, and it is very hard to compress or deduplicate random data. With that said, it can still be done, and it’s works just fine.&#8221;</p>
<p>If you can compress your encrypted data, the encryption algorithm is egregiously leaking data. Same goes for deduplication &#8211; a crypto implementation that allows one to tell from ciphertext only that the plaintexts are the same is broken</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Toponce</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-117074</link>
		<dc:creator>Aaron Toponce</dc:creator>
		<pubDate>Tue, 23 Oct 2012 14:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-117074</guid>
		<description><![CDATA[Not quite. The initialization vector is a nonce, and there is only one. It is what is responsible for kickstarting the CBC process. Further, deduplication sits underneath the encryption layer, not on top. At that level, the blocks are nothing more than zeros and ones. Now, granted, encryption algorithms are designed to mimic random data, and it is very hard to compress or deduplicate random data. With that said, it can still be done, and it&#039;s works just fine.]]></description>
		<content:encoded><![CDATA[<p>Not quite. The initialization vector is a nonce, and there is only one. It is what is responsible for kickstarting the CBC process. Further, deduplication sits underneath the encryption layer, not on top. At that level, the blocks are nothing more than zeros and ones. Now, granted, encryption algorithms are designed to mimic random data, and it is very hard to compress or deduplicate random data. With that said, it can still be done, and it&#8217;s works just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonny</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-117072</link>
		<dc:creator>Jonny</dc:creator>
		<pubDate>Tue, 23 Oct 2012 13:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-117072</guid>
		<description><![CDATA[Deduplication will work in that you can turn it on, but you wont find any duplicate data.

Encrypting duplicate files/blocks will result in different data even when using the same key, since the Initialisation Vectors will be different.

In ZFS they got around this by changing the way the IV was calculated when dedup is turned on (see this blog post: https://blogs.oracle.com/darren/entry/compress_encrypt_checksum_deduplicate_with).

So as far as I can tell using 3rd party encryption will make dedup pointless]]></description>
		<content:encoded><![CDATA[<p>Deduplication will work in that you can turn it on, but you wont find any duplicate data.</p>
<p>Encrypting duplicate files/blocks will result in different data even when using the same key, since the Initialisation Vectors will be different.</p>
<p>In ZFS they got around this by changing the way the IV was calculated when dedup is turned on (see this blog post: <a href="https://blogs.oracle.com/darren/entry/compress_encrypt_checksum_deduplicate_with" rel="nofollow">https://blogs.oracle.com/darren/entry/compress_encrypt_checksum_deduplicate_with</a>).</p>
<p>So as far as I can tell using 3rd party encryption will make dedup pointless</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rudd-O</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-117069</link>
		<dc:creator>Rudd-O</dc:creator>
		<pubDate>Mon, 22 Oct 2012 18:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-117069</guid>
		<description><![CDATA[I don&#039;t understand what compromises you make with LUKS + ZFS. I have used that and there are no compromises. ZFS works very well with it.]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand what compromises you make with LUKS + ZFS. I have used that and there are no compromises. ZFS works very well with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Toponce</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-116848</link>
		<dc:creator>Aaron Toponce</dc:creator>
		<pubDate>Sat, 25 Aug 2012 14:29:37 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-116848</guid>
		<description><![CDATA[Deduplication happens at the block level, beneath ZFS. Regardless if the data is encrypted or not, deduplication is still possible. Now, granted, encrypting very similar, yet different data, can result in highly pseudorandom data. This can make data deduplication very difficult, but that doesn&#039;t change that with version 32, it&#039;s still the same problem, as it uses 256-bit AES. Same is said for compression. So, it&#039;s not eCryptFS that is causing these issues, but the disagreement in the technologies. These are the same issues you&#039;ll face with the latest version from Oracle. Regardless, the point is that ZFS knows nothing about the data it receives, only what it can do with it after the fact.]]></description>
		<content:encoded><![CDATA[<p>Deduplication happens at the block level, beneath ZFS. Regardless if the data is encrypted or not, deduplication is still possible. Now, granted, encrypting very similar, yet different data, can result in highly pseudorandom data. This can make data deduplication very difficult, but that doesn&#8217;t change that with version 32, it&#8217;s still the same problem, as it uses 256-bit AES. Same is said for compression. So, it&#8217;s not eCryptFS that is causing these issues, but the disagreement in the technologies. These are the same issues you&#8217;ll face with the latest version from Oracle. Regardless, the point is that ZFS knows nothing about the data it receives, only what it can do with it after the fact.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brozer</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-116846</link>
		<dc:creator>Brozer</dc:creator>
		<pubDate>Fri, 24 Aug 2012 20:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-116846</guid>
		<description><![CDATA[Is it really correct to say there are no compromises at all? Granted, any exceptions would be somewhat minimal, and without source access we don&#039;t know exactly how Oracle has chosen to implement encryption, BPR etc. But in principle it seems like some ZFS operations would work better if performed on the data as a step before encryption in the chain. It seems likely that dedup, to take Loïc&#039;s example, would be more effective if it was done and then the result was randomized rather then after the result was randomized. Compression would be useless (though that of course can get handled farther up) and I don&#039;t know if snapshots would be quite as efficient.

It&#039;s true that it&#039;s mostly transparent though, but in the end I still hope the illumos team comes through with their own native implementation as well as the improvements suggested by Delphix.]]></description>
		<content:encoded><![CDATA[<p>Is it really correct to say there are no compromises at all? Granted, any exceptions would be somewhat minimal, and without source access we don&#8217;t know exactly how Oracle has chosen to implement encryption, BPR etc. But in principle it seems like some ZFS operations would work better if performed on the data as a step before encryption in the chain. It seems likely that dedup, to take Loïc&#8217;s example, would be more effective if it was done and then the result was randomized rather then after the result was randomized. Compression would be useless (though that of course can get handled farther up) and I don&#8217;t know if snapshots would be quite as efficient.</p>
<p>It&#8217;s true that it&#8217;s mostly transparent though, but in the end I still hope the illumos team comes through with their own native implementation as well as the improvements suggested by Delphix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Implementing encypted ZFS « 0ddn1x: tricks with *nix</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-116845</link>
		<dc:creator>Implementing encypted ZFS « 0ddn1x: tricks with *nix</dc:creator>
		<pubDate>Fri, 24 Aug 2012 17:20:32 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-116845</guid>
		<description><![CDATA[[...] http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/     Leave a Comment    TrackBack URI [...]]]></description>
		<content:encoded><![CDATA[<p>[...] <a href="http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/" rel="nofollow">http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/</a>     Leave a Comment    TrackBack URI [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loïc</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-116838</link>
		<dc:creator>Loïc</dc:creator>
		<pubDate>Wed, 22 Aug 2012 14:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-116838</guid>
		<description><![CDATA[Ok then, seems really great :)]]></description>
		<content:encoded><![CDATA[<p>Ok then, seems really great <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Toponce</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-116837</link>
		<dc:creator>Aaron Toponce</dc:creator>
		<pubDate>Wed, 22 Aug 2012 09:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-116837</guid>
		<description><![CDATA[Yes they will. Of course they will. The eCryptfs filesystem resides &quot;on top&quot; of ZFS. So, as far as ZFS is concerned, it&#039;s just standard, run-of-the-mill data. It doesn&#039;t know any different. So, all of the benefits ZFS brings are still there. No compromises are made. Unlike ZFS on top of LUKS.]]></description>
		<content:encoded><![CDATA[<p>Yes they will. Of course they will. The eCryptfs filesystem resides &#8220;on top&#8221; of ZFS. So, as far as ZFS is concerned, it&#8217;s just standard, run-of-the-mill data. It doesn&#8217;t know any different. So, all of the benefits ZFS brings are still there. No compromises are made. Unlike ZFS on top of LUKS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loïc</title>
		<link>http://pthree.org/2012/08/21/encrypted-zfs-filesystems-on-linux/#comment-116835</link>
		<dc:creator>Loïc</dc:creator>
		<pubDate>Wed, 22 Aug 2012 08:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=2469#comment-116835</guid>
		<description><![CDATA[Seems great! :)

But I don’t think dedup and/or compression will continue to work as they did before, no?]]></description>
		<content:encoded><![CDATA[<p>Seems great! <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But I don’t think dedup and/or compression will continue to work as they did before, no?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
