-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When Nheko can't fetch secrets from KeePassXC, display option to retry #802
Comments
Does Nheko not show an error, that it couldn't connect to the secret storage? Does it log any obvious error, that we could handle, or does KeePass just say "not found"? |
Nheko shows the following message on the login screen:
Here's the generated log when I run |
This seems to be fixed in keepassxreboot/keepassxc#6943, which should be in KeePassXC 2.7, which isn't released yet. You could try the development version of it? |
I've just tried it in a VM running Arch Linux. (I installed it from Chaotic AUR as I can confirm that it doesn't have the issue anymore. Now Nheko waits until I unlock the database and authorize Nheko inside KeePassXC. (I've also noticed that this last prompt window for authorization pops up every time, even if "Always" is checked, although this is probably a separate issue.) Thank you for your help! |
Hi, |
No, Nheko only loses the account info, if the secret service CAN be contacted, but returns empty data instead of an error. |
The Problem
Secret Storage service is enabled in KeePassXC so that Nheko can store its secrets in it. Let's suppose that I have logged in with my Matrix account at least once and exit both Nheko and KeePassXC.
Later, if I run KeePassXC, unlock its database, and then launch Nheko, I'm automatically logged into my pervious Matrix session, so I don't have to authenticate the device again.
On the other hand, if KeePassXC is running but its database is locked when I launch Nheko, the following happens:
The Solution
When the KeePassXC database is locked, Nheko could display a message like "Secret storage for the pervious session is unreachable" with two options:
Alternatives
I know KWallet and Gnome Keyring can be used with Nheko, too, but I haven't tried them yet. (I'm using i3wm, so I would prefer using standalone applications that don't rely on full-fledged desktop environments.)
Additional context
I'm using Nheko 0.8.2-d11fcb0f and KeePassXC 2.6.6 under Manjaro Linux.
Happens in the latest version
The text was updated successfully, but these errors were encountered: