Bug 489293 - Reask for password, when the token is lost
Summary: Reask for password, when the token is lost
Status: CONFIRMED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: 24.05.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-27 09:04 UTC by Gerion
Modified: 2024-07-28 12:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerion 2024-06-27 09:04:03 UTC
SUMMARY

This is not directly technically wrong, but a thing of user experience.
Yesterday, I fiddled around with kwallet-pam resulting in a completely new wallet to get it to work so all passphrases are lost.

When opening Neochat today, it reports that the tokens to my accounts are lost and doesn't do anything more.
I tried to delete the accounts with no visible reaction.
Then, I created new accounts with the same name. That worked, but I needed to type in the user name a second time and go again to the verification process.
After that all messages are "encrypted" again, since Neochat seems not to decrypt old messages.

It would be nice, to have a "relogin" feature. I'm not sure, if Neochat stores the passphrase and the session token in kwallet (so after asking for the passphrase again, the session needs to be verified a second time) but at least the history and the account as such could stay.

STEPS TO REPRODUCE
1. Login to a Matrix-Account with Neochat, go to the verification and chat a little bit.
2. Delete your kwallet.

OBSERVED RESULT
1. Neochat reports the account as completely lost.

EXPECTED RESULT
1. Neochat takes all existing account data and "just" perform a relogin.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux
KDE Plasma Version:  6.1.0
KDE Frameworks Version:  6.3.0
Qt Version: 6.7.1