Conversation
9e00aa9 to
7f389d1
Compare
ecff7d7 to
ce337ae
Compare
lib/trino-filesystem/src/main/java/io/trino/filesystem/encryption/EncryptionKey.java
Outdated
Show resolved
Hide resolved
...pooling-filesystem/src/main/java/io/trino/spooling/filesystem/FileSystemSpoolingManager.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
I am not a big fan of this one. This is fine in tests but it changes the semantics of interface significantly by putting constraints on EncryptionKey passed to new*File methods,
it looks it would be trivial to just inline the logic in openInputStream, createOutputStream and directLocation and not use EncryptionEnforcingFileSystem at all
There was a problem hiding this comment.
I actually did it before but changed that in the meantime.
There was a problem hiding this comment.
can be a followup but I think that SpoolingManager should throw TrinoException. Not IOException. Then you can provide nice error code which explains what is going on.
There was a problem hiding this comment.
Yeah, that area can be improved
...ooling-filesystem/src/main/java/io/trino/spooling/filesystem/encryption/AzureSSEHeaders.java
Outdated
Show resolved
Hide resolved
...ooling-filesystem/src/main/java/io/trino/spooling/filesystem/encryption/AzureSSEHeaders.java
Outdated
Show resolved
Hide resolved
...ooling-filesystem/src/main/java/io/trino/spooling/filesystem/encryption/AzureSSEHeaders.java
Outdated
Show resolved
Hide resolved
...ooling-filesystem/src/main/java/io/trino/spooling/filesystem/encryption/AzureSSEHeaders.java
Outdated
Show resolved
Hide resolved
...o-spooling-filesystem/src/main/java/io/trino/spooling/filesystem/encryption/HeaderUtils.java
Outdated
Show resolved
Hide resolved
...no-spooling-filesystem/src/main/java/io/trino/spooling/filesystem/encryption/SSEHeaders.java
Outdated
Show resolved
Hide resolved
In comparison to Minio it supports SSE-C without the need to configure TLS to secure connection.
ce337ae to
1130731
Compare
Description
Additional context and related issues
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: