6068833eba05d516c4f7b2b4fd53e292407b176f
Resolves a critical bug that caused permanent data loss of locked items when encryption was disabled. The previous implementation deleted the encryption key without decrypting the data first. This commit introduces a safe-offboarding process: - When disabling encryption, the user is now authenticated to retrieve the secret key. - New `decryptAllLockedItems` functions in the ViewModels are called to decrypt all locked notes, recipes, and shopping lists across the app. - Only after successful decryption is the key permanently deleted. Additionally, this commit removes the last remnants of the old session-based unlocking logic and standardizes the auto-relock-on-exit behavior across all detail screens for a consistent user experience.
Description
Noteshop is a versatile and privacy-focused application for managing your notes, shopping lists, and recipes all in one place. It is designed to be simple, efficient, and fully under your control
Languages
Kotlin
98.3%
Python
1.7%