Open
Description
⚠️ Before posting ⚠️
- This is a bug, not a question or an enhancement.
- I've searched for similar issues and didn't find a duplicate.
- I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- I agree to follow Nextcloud's Code of Conduct.
Steps to reproduce
- Activate E2EE in android client / have it already activated and use it in android client to "cache/ save" the keys locally
- Reset E2EE on the server (Settings -> Security -> End-to-end encryption)
- Use the client E2EE encryption to encrypt for example a new folder
Expected behaviour
After step 3 should generate new key pair and should generate a new passphrase because E2EE was reset and keys on server were deleted
Actual behaviour
App uses local keys and not generates new ones as it should. The E2EE is on the server side not activated (eg. resetting is not possible anymore) but client behaves like it is activated.
Screen_recording_20240314_142803.webm
Explanation of the video: After 15 sec I reset e2ee, folder is deleted as it should be but encryption a new folder works fine while server has no e2ee keys
Android version
12
Device brand and model
Emulator
Stock or custom OS?
Stock
Nextcloud android app version
current master
Nextcloud server version
27
Using a reverse proxy?
I don't know
Android logs
No response
Server error logs
No response
Additional information
I think e2ee implementation is missing a check before doing anything to see if server still has e2ee keys and if they are the same as the local ones.