keepass2android
keepass2android copied to clipboard
Soft Lock when awaiting hardware token and redrawing the screen
While trying to save a database that is protected with a hardware token (e.g. YubiKey), when the app requests the hardware token to be connected and then the screen resolution changes (from potrait-mode to landscape-mode), the hardware token authentification step will be skipped and the app soft locks while trying to save the database changes without the hardware token authetification.
Steps to reproduce:
- Open a database that is protected with a hardware token
- Perform any edit to the database
- Hit the save icon
- When presented to connect the hardware token via NFC, force a redraw of the app by changing the orientation of the screen
- The app will now skip the hardware token authentification and try to save the database without it, soft locking the app