[openstack-dev] Volume Encryption
John Griffith
john.griffith at solidfire.com
Thu Feb 14 19:42:39 UTC 2013
On Thu, Feb 14, 2013 at 10:38 AM, Caitlin Bestler <
caitlin.bestler at nexenta.com> wrote:
> On 2/14/2013 8:23 AM, Nate Reller wrote:
>
> Malini, I was happy to learn about a key manager discussion at the
> summit. Do you know what track this would be under? I can't decide if
> this should be in Keystone or maybe a whole new service. I like the idea
> of a whole new service myself because I think it helps to have the
> separation and prevent bloating of functionality for components. On the
> other hand, I probably don't want a dozen services.
>
> I like the idea of the key-id. I think we may end up using that idea.
> This will help us to support snapshot operations.
>
> One item we have yet to tackle is cloning. I think there are a few
> options for this.
>
> 1) Don't support clone operations for encrypted volumes. This is easy
> to implement and prevents key reuse, but it limits functionality.
> 2) Support clone with same key. This should be easy to implement as
> well. We could use the metadata key-id and set it to the same value for
> the clone. The drawback to this is that the key has multiple uses, and it
> could be used to decrypt many different volumes. I don't like the idea of
> that. If the key is compromised then what do you do?
> 3) Support clone with different key. You could do this by decrypting the
> bytes from the original volume and encrypting them with a new key. If we
> are going to support cloning then I think I like this approach the best.
> The drawback on this is time.
>
> There are similar issues for snapshots, but I am not as opposed to
> option 2 for snapshots. Any thoughts on this?
>
> -Nate
>
> ------------------------------
>
>
> Great outline, it zeroes in on the most critical issue.
>
> Nexenta favors option 2, which shouldn't be surprising since we on-the-fly
> snapshotting and cloning
> is one of the key strengths of ZFS.
>
> When you have to decrypt and re-encrypt a volume the process is no longer
> a "snapshot", but something
> that resembled Civil War era photography.
>
> However, I do not see Keystone as being a key repository that is up to
> supporting distributed keys.
> Any would-be attacker would immediately target the encryption of
> communicating with keystone
> as being a far more vulnerable target than the encryption used on the
> volumes themselves.
>
> I believe what we need is to allow the encryption keys to be stored by the
> storage servers themselves
> in secure lock boxes, and the role of OpenStack should be to authorize
> secure transfers between those
> lockboxes (which could be encrypted by far more than SSL).
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> I've been pretty much silent through most of this discussion and I'm fine
with the direction everybody's taking here. The concerns that I had
regarding the implementation itself; I raised in the review for the code
and the responses/solution were addressed so I don't have a problem.
I just want to urge folks to make sure we document this VERY well. There
are all sorts of corner cases, caveats etc that this has the potential to
raise. For example, if somebody is using a back-end device that has
internal encryption features, then you turn around and try to overlay the
nova encryption changes on top of it. The absolute destruction that this
will cause on some de-duplication algorithms depending again on the
back-end.
I really could care less about what algorithm is used etc, I think the
folks involved in this thread have plenty of expertise in this area and I
leave that up to them. I just think as has been pointed out we need to
stress via documentation and communication to folks that there are
significant risks and possible issues if they choose to turn this on
without a good understanding of exactly how it works etc.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130214/23299833/attachment.html>
More information about the OpenStack-dev
mailing list