All of lore.kernel.org
 help / color / mirror / Atom feed
* on disk encryption
@ 2012-09-15 11:54 Sage Weil
  2012-09-15 12:22 ` Mark Nelson
  2012-09-19  1:53 ` Dustin Kirkland
  0 siblings, 2 replies; 14+ messages in thread
From: Sage Weil @ 2012-09-15 11:54 UTC (permalink / raw)
  To: ceph-devel; +Cc: dustin.kirkland

Hey,

A common requirement that's come up in conversation a few times now is 
on-disk, at-rest encryption.  Usually, this is really just about making 
sure the bits on an individual disk are useless in isolation, so that 
drives can be safely discarded or RMAed without compromising customer 
data.

I suspect the simplest way to accomplish this would be through something 
like dm-crypt.  The trick would be keeping the keys for the osd's block 
device and journal elsewhere.

One option would be to use the monitor as a lock box to securely store the 
disk encryption key, secured by the osd's existing cephx key is provided.  
The startup scripts (triggered via upstart, sysvinit, whatever) would need 
to get the keyring off the disk (separate, unencrypted partition?), get 
the disk key from the monitor, set up the dm-crypt devices, mount the 
osd's fs, and then start ceph-osd.  An attacker in possession of a 
recovered disk would be need network connectivity to the cluster (prior to 
the keys getting revoked/destroyed) in order to decrypt it.

Looking forward, another option might be to implement encryption inside 
btrfs (placeholder fields are there in the disk format, introduced along 
with the compression code way back when).  This would let ceph-osd handle 
more of the key handling internally and do something like, say, only 
encrypt the current/ and snap_*/ subdirectories.  

Other ideas?  Thoughts?

sage


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-02-01 15:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-15 11:54 on disk encryption Sage Weil
2012-09-15 12:22 ` Mark Nelson
2012-09-19  1:53 ` Dustin Kirkland
2012-12-10  9:17   ` James Page
2012-12-10 15:53     ` Gregory Farnum
2013-01-22 21:28       ` James Page
     [not found]         ` <CAEgPQZDqUK+MJTX3Kbpdv3ai4=5rNCrGkxi=ioLt5OzC+zi4+Q@mail.gmail.com>
2013-01-23  0:02           ` Sage Weil
2013-01-23  0:04         ` Sage Weil
2013-01-31 23:42           ` Marcus Sorensen
2013-02-01  0:04             ` Mark Kampe
2013-02-01  0:16               ` Marcus Sorensen
2013-02-01  0:44             ` Sage Weil
2013-02-01  0:57               ` Neil Levine
2013-02-01 15:37                 ` Christian Brunner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.