fluffychat icon indicating copy to clipboard operation
fluffychat copied to clipboard

Flatpak: When requested for the password to the keyring, cancelling will result in a database-error, seemingly infinite additional requests, and log-out

Open MoonlightWave-12 opened this issue 5 months ago • 0 comments

Bug Description

When the keyring (which stores the credentials for accounts set up in FluffyChat) is not unlocked, one will be asked to enter the password for the keyring when starting FluffyChat. If one decides to not enter it, it will result in a database-error, and the window requesting the password will appear again, for seemingly an infinite number of times, practically locking the system with those requests. After entering the password for the keyring, one will be logged out of the Matrix-account that was set up in FluffyChat.

Steps to Reproduce

  1. Have an account set up in FluffyChat.
  2. Lock the keyring with the "Passwords And Encryption"-app (seahorse), or simply have auto-login for the user-account (of the operating system) enabled and do not unlock the keyring before starting FluffyChat.
  3. Start FluffyChat.
  4. Request for keyring-password opens.
  5. Press cancel.
  6. A database-error happens, and the request for the keyring-password appears again.
  7. Press cancel.
  8. The request for the keyring-password appears again.
  9. Enter the password for the keyring and confirm.
  10. FluffyChat will start, but one will logged out of the account that was previously set up.

Expected Behavior

Close the keyring-password-request-window normally when cancelling it, without a database-error, or seemingly infinite additional requests for the keyring-password. FluffyChat should then either close itself, or show a screen with a message telling one that it is necessary to unlock the keyring to use FluffyChat, and preferably a button to open another request for the password of the keyring.

App Version

1.22.0

Additional Platform Information

Debian GNU/Linux Testing (Trixie) - GNOME

Additional Context

Log (flatpak run --log-session-bus --log-system-bus --log-a11y-bus im.fluffychat.Fluffychat &> log.txt ): log.txt

MoonlightWave-12 avatar Sep 11 '24 11:09 MoonlightWave-12