Possibility of using a ksm plugin to encrypt the file on the client side when using an s3 backend #941
Replies: 2 comments 2 replies
-
Hi, KMS can be used to store the master encryption key, we should encrypt/decrypt files on the fly on the client side (this means that any other S3 client will read encrypted files and only SFTPGo can decrypt your files). We also need to provide the decrypted size in file list and stat calls. Download from an offset could be problematic and/or add complexity. I should do some testing and invest some time to evaluate if this is possible and to estimate the added complexity. Do you plan to support SFTPGo with a sponsorship/donation? |
Beta Was this translation helpful? Give feedback.
-
That sounds a little more complex than I initially thought. I was hoping I could just implement an simple plugin and it would work ;) I am curious to see what your final assessment will be. Regarding sponsoring: I'm looking for a solution for my private purposes. I don't run a company and won't earn any money with it. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am currently looking for a way to share a (remote) S3 bucket locally on my network. The
sftpgo
project makes a very good first impression. The documentation states that the file encryption only works with a local file system and that for the cloud based solution you should use the server side encryption.However, I don't really trust the server side encryption.
Would it be possible to work around this limitation by developing a custom
kms
plugin? If so, is this advisable or can it cause major problems?Thanks in advance :)
Beta Was this translation helpful? Give feedback.
All reactions