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

Only show mnemonic request dialog when user explicitly wants to enable E2EE #5181

Merged
merged 2 commits into from
Dec 9, 2022

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Nov 15, 2022

This stops the user getting spammed with annoying pop-ups on launch asking for the mnemonic when they have no intention of enabling encryption on their current system/account

Closes #4778

Signed-off-by: Claudio Cambra claudio.cambra@nextcloud.com

@claucambra claucambra self-assigned this Nov 15, 2022
@claucambra claucambra changed the title Only request mnemonic when user explicitly wants to enable E2EE Only show mnemonic request dialog when user explicitly wants to enable E2EE Nov 15, 2022
src/libsync/account.h Show resolved Hide resolved
src/libsync/clientsideencryption.cpp Outdated Show resolved Hide resolved
@claucambra claucambra force-pushed the feature/dont-spam-user-with-mnemonic-request branch from bb3ab79 to d03f39d Compare November 29, 2022 10:54
@claucambra claucambra requested a review from mgallien November 29, 2022 10:55
@claucambra claucambra force-pushed the feature/dont-spam-user-with-mnemonic-request branch from d03f39d to 001bfd6 Compare December 8, 2022 11:34
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
@mgallien mgallien force-pushed the feature/dont-spam-user-with-mnemonic-request branch from 001bfd6 to 3b60643 Compare December 9, 2022 11:12
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-5181-3b6064390cf0dd80aabb41fc39a023a05f7d7bc8-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarcloud
Copy link

sonarcloud bot commented Dec 9, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@claucambra claucambra merged commit 1baa303 into master Dec 9, 2022
@claucambra claucambra deleted the feature/dont-spam-user-with-mnemonic-request branch December 9, 2022 11:39
@mgallien mgallien added this to the 3.7.0 milestone Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants