-
Notifications
You must be signed in to change notification settings - Fork 5
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
Stuck on "Loading passwords..." with KeePass using KeePassNatMsg #11
Comments
Unfortunately I'm not able to reproduce your problem. (I just do not get any entries from KeePassNatMsg - but I think that's either a problem on their side or a miss-configuration as I just hacked it together.) What are your over all system details? OS? Thunderbird version? KeePass and KeePassNatMsg version? PS: Why are you using KeePass anyway together with keepassxc-mail? |
Same versions here. Still not reproducible but the keepassxc-browser webExtension is not providing any credentials as well... What is the content of your de.kkapsner.keepassxc_mail.json and where is is located? |
When even KeePassXC-Browser doesn't work, there might be something wrong in your setup. If you want, I can prepare a portable KeePass with the plugins set up and/or a sample database for testing. I saw that KeePassNatMsg uses a different directory than shown in the instructions, but I found the required JSON files in {
"name": "de.kkapsner.keepassxc_mail",
"description": "KeepassXC integration with Thunderbird with Native Messaging support",
"path" : "keepassnatmsg-proxy.exe",
"type": "stdio",
"allowed_extensions": [
"keepassxc-mail@kkapsner.de"
]
} |
If you can provide a portable setup to reproduce your problem that would be great. |
I've bundled a portable KeePass with the KeePassNatMsg plugin installed: The archive contains a KeePass database called The second file contains a portable Thunderbird installation: It has the keepassxc-mail add-on readily installed and connected to the KeePass database, the mail account is configured to ask for the password at start-up. You should just have to start the program and get the password prompt with the "Loading passwords..." message immediately, given that the native messaging configuration is correct. I hope this helps. |
Thanks for the files. With these I can reproduce the issue. But it seems that the KeePassNatMsg simply does not respond to the "get-logins" request. Not sure how to debug this... Also if I try to connect to this with keepassxc-browser I get a warning that an outdated version of keepassxc is used and that the communication could not be decrypted. Does this setting work for you with keepassxc-browser? |
The warning regarding an old version of KeePassXC is "normal", because KeePassNatMsg seems to report a fixed KeePassXC version (2.4.3 right now), and KeePassXC has version 2.5.3 currently. This is nothing that ever prevented me from using KeePassXC-Browser in Firefox, but you can override the reported version in the KeePassNatMsg options on the Regarding your comment about KeePassXC-Browser, its now me unfortunately who cannot reproduce the issue. When I connect to the sample database with my usual Firefox setup, I can select the sample entries stored in the database for the KeePass Help Center just fine. On topic: If you think that keepassxc-mail should do everything right, I can open an issue in the KeePassNatMsg repo and ask for supporting this add-on. However, as the KeePassXC-Browser plugin (currently using version 1.6.1) works for me, there has to be some difference between them. One possibility that comes to my mind is that I create the native messaging JSON file for keepassxc-mail manually, while it is managed by KeePassNatMsg for Firefox and other browsers. Maybe nobody ever thought that there would be another program using the native messaging mechanism and this somehow prevents communication? |
Heureka! I got KeePassXC-Browser working (no idea was wrong yesterday). And then I compared the messages and found the difference: keepassxc-mail does not send the So... I think that both KeePassNatMsg and keepassxc-mail do something not quite right. Since I can fix my side without any problems I will do that (you can have a look at the commit that fixes that issue - it's tiny!). It's up to you if you want to inform KeePassNatMsg. |
I installed the KeePassXC-Mail add-on according to the instructions in the README. However, instead of KeePassXC, I'm using the original KeePass with the KeePassNatMsg plugin.
The add-on installs just fine and after clicking the "Connect with KeePassXC" button in the add-on settings, I get the usual dialog in KeePass to add the new client to the database. The add-on then shows its connection key in the settings. Thunderbird's error console doesn't show any errors as well:
However, after I restart Thunderbird, a dialog prompting me for the password to the mail server appears. KeePassXC-Mail seems to start looking for the password, but never finishes. It instead keeps showing the message "Loading passwords.." until I enter it manually:
I added the credentials quite some time ago to my KeePass database, with the URL
smtp://<myserver>
. This worked without any problems with the KeeBird add-on I used previously.The text was updated successfully, but these errors were encountered: