Replies: 2 comments 4 replies
-
|
Do you use S3 or Posix? Encryption may only be available with S3 storage. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Documentation from the future ... Not implemented. Needs at least a new PutObject option: // Create a new symmetric key
key := encrypt.NewSymmetricKey([]byte("my-secret-key-1234"))
// Create an SSE-C object from the key
encryption := encrypt.DefaultSSEC(key)
// Use SSE-C encryption for PutObject
_, err := minioClient.PutObject(context.Background(), bucketName, objectName, reader, objectSize,
minio.PutObjectOptions{
ServerSideEncryption: encryption,
})
// The same encryption object must be provided to download
object, err := minioClient.GetObject(context.Background(), bucketName, objectName,
minio.GetObjectOptions{
ServerSideEncryption: encryption,
})See https://deepwiki.com/minio/minio-go/5.4-server-side-encryption and https://github.com/minio/minio-go/blob/3e647dd9/docs/API.md#L447-L447 Our related code lives in: https://github.com/opencloud-eu/reva/blob/15373fbb74f73a2ccaeb7d9a7e6012d6a67d3342/pkg/storage/fs/decomposeds3/blobstore/blobstore.go#L87-L95 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
According to the OpenCloud documentation, files should be encrypted when stored on the server (Server-Side Encryption). However, when I inspect the backend filesystem directly, I can still access and open the files in plain text.
Is there a specific configuration setting I need to enable to activate this feature, or have I misunderstood how the encryption is implemented?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions