Improve configuration-related e2ee wording #8165
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I am a new user to Nextcloud. I would consider myself a power-user, but I got totally thrown under a bus by the e2e configuration AND the misleading wording in the UI. Specifically, the UI uses the "enabled", "supported", "activated", "set up", "start", "reset", etc. in an inconsequential, often interchangable way. It's all over the place and makes it really hard to understand what is going on in the UI, as well as in the code itself.
I also noticed the iOS client mixes the verbiage even more, by also using "activated" and "start":
I will file a separate PR for this once this one gets cleared for merging.
Moreover, even the code itself confuses the "enabled for account" with "set up for the device" :
disableEncryptionForAccountcallsAccountSettings::resetE2eEncryption(), which effectively makes the device "forget" the e2ee configuration and the mnemonic, but does not change anything on the account itself. In particular, it does not reset the encryption on the account itself, which is a destructive and irreversible action, availble in the web UI:As such, this PR establishes that:
Last, but not least, for the e2e to actually be enabled , a user needs to explicitly enable encryption on each subfolder in the synchronized root folder. This goes against all other common/popular software that supports e2e encryption, where you simply assume everything gets encrypted by default. As such, I am confident that the UI should lend itself to the user to help them understand that they need to take an additional, explicit action for their files to actually get encrypted, which is why after properly setting up the encryption, the message box in the Settings now reads
Remember to **Encrypt** a folder to end-to-end encrypt any new files added to it.