Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable encryption with system keys for groupfolders #2057

Merged
merged 2 commits into from
Aug 29, 2022

Conversation

icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Aug 10, 2022

It's probably possible to do some backwards compatibility hack to keep compatibility with versions that don't have the marker interface

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 force-pushed the system-key-encryption branch from f57f063 to f3d60be Compare August 25, 2022 12:52
@icewind1991
Copy link
Member Author

Changed it so encryption is disabled by default to prevent unexpected behavior change on upgrade

@icewind1991 icewind1991 force-pushed the system-key-encryption branch from f3d60be to 5a48224 Compare August 25, 2022 13:01
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 force-pushed the system-key-encryption branch from 5a48224 to 2df8760 Compare August 25, 2022 13:04
@icewind1991
Copy link
Member Author

"backport" is here: #2068

@@ -78,6 +78,7 @@ public function register(IRegistrationContext $context): void {
};
$config = $c->get(IConfig::class);
$allowRootShare = $config->getAppValue('groupfolders', 'allow_root_share', 'true') === 'true';
$enableEncryption = $config->getAppValue('groupfolders', 'enable_encryption', 'false') === 'true';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if we should also bring this to the web UI as it will likely be a more common option than allow_root_share ?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I am in favor. I would look for it there.

@PVince81
Copy link
Member

@CarlSchwan can you review this one with the server one also ?

@PVince81 PVince81 merged commit 0fdb00a into master Aug 29, 2022
@PVince81 PVince81 deleted the system-key-encryption branch August 29, 2022 12:47
joshtrichards added a commit that referenced this pull request Dec 5, 2023
Documents config value implemented in #2057 
Closes #912 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
come-nc pushed a commit that referenced this pull request Jan 2, 2024
Documents config value implemented in #2057 
Closes #912 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Items that need to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants