-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
KeePassXC prompts to create new database even though there is an unlocked one in use #7839
Comments
Could you paste here the output of the following command (mask any byte array which can reveal your password)?
|
@Aetf ran the command you posted and launched element-desktop. Entered my passphrase when asked about it, then the New database popup showed up, which I cancelled, then I quit element-desktop and stopped the command. Here's the output:
|
Thanks for the output. In the log, the error was the "default" alias not found. Thus the program went ahead to try to create one. Have you exposed a group to the secret service after creating the new database? By default, no groups or entries are exposed via the secret service for security reasons.
Edit: I just realized, you didn't unlock the database before launching element-desktop, right? The passphrase prompt was |
I didn't realize we would "force" creation of a new database if no existing collection was defined. That seems like undesired behavior. I don't even think an error message is needed, just ignore the request. |
It's not us "force" create a new database. Likely it's the client library libsecrets. |
Right, what I mean is to not implement the CreateCollections interface. Just ignore it, or make it an option to ignore (not desired). |
What about making the CreateCollection prompt the user to select an exposed group of an existing database? We've seen multiple times that the user doesn't know/forgets to select an exposed group, so this makes sense to me. |
Exactly this, thank you very much. I did this and now it works. Still not smoothly, though. Now, every time I open I had "Remember" checked and tried "Allow Selected" as well as "Allow All & Future", yet I'm still getting this popup every time Is there another hidden setting where I could tell KeePassXC to allow |
@droidmonkey I would like to confirm, but only if a different program should try to access the key. Is there a way for KeePassXC to remember the program binary's sha hash or something and not request me to agree until the hash changes/it's an entirely different program? |
It's another request entirely on the issue board. |
@mrusme there's element-hq/element-web#7571. |
Overview
[TIP]:
NOTE:
Maybe this has something to do with this and/or this. I've created a fresh database in KeePassXC 2.7.1 (Gentoo Linux) and have KeePassXC running with it unlocked. When I launch Element for the first time, I get the create database popup from KeePassXC, instead of simply utilizing the existing database.
Steps to Reproduce
NOTE:
element-desktop
Expected Behavior
element-desktop
should simply add its key to the existing, currently opened database.Actual Behavior
KeePassXC shows the "New Database" window.
Context
Gentoo Linux, Wayland, Sway
KeePassXC - 2.7
Revision: 1
Operating System: Linux
Desktop Env: Sway
Windowing System: Wayland
The text was updated successfully, but these errors were encountered: