Indeed, the question is on  server-side encryption with keys managed by ceph on 
a per-user basis

 
From: Christian Wuerdig
Date: 2023-05-23 00:51
To: huxia...@horebdata.cn
CC: Stefan Kooman; ceph-users
Subject: Re: [ceph-users] Re: Encryption per user Howto
Hm, this thread is confusing 
in the context of S3 client-side encryption means - the user is responsible to 
encrypt the data with their own keys before submitting it. As far as I'm aware, 
client-side encryption doesn't require any specific server support - it's a 
function of the client SDK used which provides the convenience of encrypting 
your data before upload and decryptiing it after download - 
https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingClientSideEncryption.html
But you can always encrypt your data and then upload it via RGW, there is 
nothing anywhere that prevents that since uploaded objects are just a sequence 
of bytes, meta data won't be encrypted then

You can also do server-side encryption by bringing your own keys - 
https://docs.ceph.com/en/quincy/radosgw/encryption/#customer-provided-keys

I suspect you're asking for server-side encryption with keys managed by ceph on 
a per-user basis?


On Tue, 23 May 2023 at 03:28, huxia...@horebdata.cn <huxia...@horebdata.cn> 
wrote:
Hi, Stefan,

Thanks a lot for the message. It seems that client-side encryption (or per use) 
is still on the way and not ready yet for today. 

Are there  practical methods to implement encryption for CephFS with today' 
technique? e.g using LUKS or other tools?

Kind regards,


Samuel




huxia...@horebdata.cn

From: Stefan Kooman
Date: 2023-05-22 17:19
To: Alexander E. Patrakov; huxia...@horebdata.cn
CC: ceph-users
Subject: Re: [ceph-users] Re: Encryption per user Howto
On 5/21/23 15:44, Alexander E. Patrakov wrote:
> Hello Samuel,
> 
> On Sun, May 21, 2023 at 3:48 PM huxia...@horebdata.cn
> <huxia...@horebdata.cn> wrote:
>>
>> Dear Ceph folks,
>>
>> Recently one of our clients approached us with a request on encrpytion per 
>> user, i.e. using individual encrytion key for each user and encryption  
>> files and object store.
>>
>> Does anyone know (or have experience) how to do with CephFS and Ceph RGW?
> 
> For CephFS, this is unachievable.

For a couple of years already, work is being done to have fscrypt 
support for CephFS [1]. When that work ends up in mainline kernel (and 
distro kernels at some point) this will be possible.

Gr. Stefan

[1]: https://lwn.net/Articles/829448/

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to