kee-org / keebird

22 stars 10 forks source link

Authorization Popup in Thunderbird is not displayed #27

Open agairing opened 4 years ago

agairing commented 4 years ago

The following is happening on my system:

This happens with keebird 2.0.1. Then I did reinstall keebird - now the version is 2.0.0. But it did not work with either version. Thunderbird 68.3.1 (32 bit/Windows)

agairing commented 4 years ago

Suddenly it was working again. The authorization window was displayed and I could enter the code. Thunderbird displays that KeeBird was updated yesterday. Not sure if this is somehow connected.

mat-bru commented 4 years ago

I have similar problem as described above and could not find any solution to it yet. To be more specific: I run Thunderbird 68.7.0 with keebird 2.0.0 on Win 10 64-bit OS. I have two (2) users on this machine and both use the same KeePass DB - which is centrally saved on the NAS. I have also assigned different ports to both users, like this, KEE plugins for Firefox or Chrome work perfectly. Just Thunderbird annoys me for one user: auto-login works perfectly for the first user, where authorization of keebird worked as it should. With the 2nd user, however, I get the "authorization request" window opened as soon as I start Thunderbird with Keepass open, but TB never offers me a window to enter the 7 digit key. I have already tried changing the ports, de-/re-installing keebird... notwhing worked. Even completely removing keebird is no longer an option, because now TB does not allow me to save any new passwords anymore - the tickbox is simply disabled...

Anyone with some good advice for me, please!

otti-o commented 4 years ago

I have a similar issue. Windows 10 pro 64 bit, Thunderbird 8.7.0 (32 bit), KeePass 2.44, KeePassRPC 1.9.0.0 and KeeBird 2.0.0. First I start and unlock KeePass. When starting Thunderbird it asks for all account-passwords and tells me KeePass is not started. KeePass itself tells me that KeeBird needs authorisation and presents a key. I am missing the KeeBird-window where I can enter the key. I tried reinstalling KeyBird several times, including reboots and manually resetting KeeBird entries in Thunderbird-Config. No results. And if I uninstall KeeBird I still cannot use the builtin password store from Thunderbird (it doesn't offer the "save password" checkbox). One interesting observation: as long as it all worked I only was presented an empty window when I wanted to see the config of KeeBird in "Extras". Now I can see all the config but it doesn't work any more. :-(

otti-o commented 4 years ago

When I create a new profile everything is fine. I get presented the authorisation window, enter the code and it all works. One thing that might cause trouble: When comparing the two profiles I realized that in the working profile there is one entry in the thunderbird password store called "chrome://keefox(KPRPC key), in the not working one I deleted all passwords.

Sanaki commented 4 years ago

Unfortunately now I'm running into this. Tried forcing new authorizations by clearing my saved ones, but now I'm unable to reauthorize Thunderbird. And unfortunately making a new profile just isn't a viable option for me.

Thunderbird 68.10.0 64-bit KeeBird 2.0.0

EDIT: Compiled 03c3c75 myself, works fine now.

kevinthekingsson commented 4 years ago

I don't have a development environment on my system. Can anyone advise me how to obtain a copy of 2.0.1?

dlech commented 4 years ago

Here is v2.0.1 keebird-2.0.1-tb.zip. The file extension needs to be renamed from .zip to .xpi after downloading.

kevinthekingsson commented 4 years ago

@dlech Thank you very much! Unfortunately it hasn't fixed my problem. My desktop machine (which I'm using now) was already working OK with Keebird 2.0.0 and Tb 68.4.1 after I had successfully downgraded from Tb 78: but my laptop, now with Keebird 2.0.1 and Tb 68.4.1 isn't. I clean installed Windows on it this week after the 'feature update' bricked it. On re-installing Tb 68.4.1 it auto-updated to Tb 78 several times before I managed to stop it. But once I had removed Keebird 2.0.0 and had it starting OK I installed 2.0.1: but it's still asking me to enter the verification code into a non-existent box! I think I will try copying the Thunderbird folder from this machine again, to see if that gets me any closer to a solution.

kevinthekingsson commented 4 years ago

Having re-copied my desktop's Thunderbird folder last night, I turned on my laptop this morning, intending to replace the laptop's Thunderbird folder. It was still showing a draft message I had been working on after manually logging on last night. So I closed that down ... and suddenly a dialog screen appeared, asking for my KeePass authorization code! Entered it - and all was hunky-dory. BUT, shortly after, I went into the Add-on's on my desktop and, noticing that the Bitdefender toolbar add-on was disabled (whereas it was on and working on the laptop), I enabled it. Suddenly, I had the same problem on my desktop machine! I tried everything I could think of to make the authorization input window to appear ... updated everything, multiple start attempts, manual logins, etc., ... No joy. I then tried to recreate the conditions on the laptop. As best I can remember the sequence was: (1) Created a Thunderbird write window and tried to save it. Usual story - authorization password appeared: but nowhere to put it. (2) Shut down the main Thunderbird window. (3) Shut down the computer without shutting down anything else. (4) Restarted computer from cold. (5) Opened Keepass. (6) Started Thunderbird. Bingo! - both authorization windows appeared. That's as best I can remember it. Having spent the entire morning experimenting, I don't want to risk upsetting the system again by trying to reproduce it. My guess is that there is some kind of problem with the normal sequencing of the dialog windows that prevents the input window from appearing. I am attaching a copy of today's Keefox log file from within the Thunderbird profile, which may contain some additional clues. keefox_log.txt

kevinthekingsson commented 4 years ago

In case the above sounds rather confused, the overall sequence of events was that yesterday the problem was on the laptop and the desktop was OK. This morning, on powering up the laptop it promptly requested the Keepass authorization code and it has been working fine since. Meanwhile, the desktop was still OK; but, after enabling an add-on for the desktop, it developed the same problem. As before, nothing I tried could induce the authorization input window to appear, until I tried to simulate the partial overnight shutdown that had occurred on the laptop. So the log file, taken from the desktop machine contains a record of the early successful sessions, the events when the system failed and all my subsequent efforts up to and beyond the point when the Authorisation input window finally appeared (c. Line 728).