
Firefox addon for kwallet KDE4
Source (link to git-repo or to original if based on someone elses unmodified work):
IMPORTANT: This version works ONLY with KDE4, for the KDE5 version use: http://kde-apps.org/content/show.php?content=173994
It seems that the crashes experienced by the users are related to the new Javascript JIT Compiler Called ION Baseline. Disabling it seems to solve the problem. You can disable it by setting javascript.options.baselinejit.* in about:config to false
Version 2.4:
* Fixed LDAP password managaement, thanks to Aliaksandr Stelmachonak
* Fixed FF32 crashes due to changes in Add-on Manager, thanks helper987654321 on kde-look.org
* Implemented modify instead of remove/add
Version 2.3:
* Added timestamp support (Fix sync bug?)
* Added entries for timestamp in kwallet
* Added storage version numbering (for upgrades)
* Fixed crash bug, thanks to nemo from Bugzilla@Mozilla
Version 2.2:
* Change in API, added isLoggedIn()
Version 2.1:
* Corrected a memory leak
* Use nsIPrefBranch instead of nsIPrefBranch2
* Correct problem saving UTF8 passwords
Version 2.0:
* New API, based on js-ctypes
* Select wallet folder based on App name, thanks to Mociej Sitarz
Ratings & Comments
153 Comments
since FF 49.0.1 for kde kwallet and kde5 kwallet FF does not ask for user if he wants to record id and owd FF does not fill template with id and pwd see my bug report https://bugzilla.mozilla.org/show_bug.cgi?id=1305652
It stopped working for Firefox 49.
Since I upgraded Thunderbird to v38, there's a new issue: On startup, it correctly opens the wallet to get the passwords for IMAP login. If however, some time later, I send an email, it is unable to access the wallet for the SMTP password. KWallet shows a message saying something went wrong, and Thunderbird asks me to enter my password.
with plasma 5 and kf5 kwallet will use secret service from http://standards.freedesktop.org/secret-service/ there will a new api . please do your maximum to avoid FF stops using kwallet thanks
see here the kwallet developer post https://barlog.rusu.info/valentin/blog/?p=411
in FF disconnect from sync service unactivate kwallet plugin restart FF check that kwallet plugin is well unactivated connect to sync service go to FF password manager copy somewhere the password of "Chrome://FirefoxAccounts (Firefox Accounts credentials)" activate kwallet plugin in kwallet manager replace the password of "Chrome://FirefoxAccounts" by the password you copied somewhere restart FF enjoy ! my explication : passwords(tokens) delivered with or without kwallet manager activated are different with kwallet activated {"version":1,"accountData":{"sessionTokenContext":"fx_desktop_v1","unwrapBKey":"d92...fe7","keyFetchToken":"6vg...3eb","customizeSync":false}} with kwallet unactivated {"version":1,"accountData":{"sessionTokenContext":"fx_desktop_v1","customizeSync":false,"kA":"65...09","kB":"01...46"}}
the automatical connection fails but the manual connection to sync service works well ! i can connect to sync service by clicking the button for connecting.
FF uses now a strong authentication . It uses a token as a password . for each access (each time you launch FF) or after a delay token is renewed. in kwallet the record is : <mail address>,,Firefox Accounts credentials,Chrome://FirefoxAccounts and <password> = {"version":1,"accountData":{"sessionTokenContext":"fx_desktop_v1","unwrapBKey":"d92...fe7","keyFetchToken":"6vg...3eb","customizeSync":false}}
see here https://bugzilla.mozilla.org/show_bug.cgi?id=1135632
opensuse 13.1 x86_64 , addon kwallet 2.4 , FF 35.0 1. FF 35.0 no sync authentication (the new one) pb 2. i delete ~/.mozilla folder in order to solve a pb 3. i install again all modules , extension etc. 4. i set a custom settings 5. i activate "sync" by connecting again to sync service . no pb 6. i quit FF 7. i launch FF after several seconds i get an error message "rsync encounters a pb : account name or password is not good" 8. i reconnect manualy without any pb 8. i quit FF and launch FF then again FF fails to connect to sync service if i unactivate kwallet then no pb if i activte kwallet then i must "forget the mail address" to inactivate sync service see here comments https://bugzilla.mozilla.org/show_bug.cgi?id=1116119#c22 https://bugzilla.mozilla.org/show_bug.cgi?id=1116119#c26 is there something new with FF35 or the authentication process or something else ? now i can't use the sync service
Is there a bugtracker for this project anywhere? As I described at [1], version 2.4 of the plugin is completely dysfunctional on my system. I had to disable auto-updates of (all) Thunderbird plugins to prevent it from auto-breaking... [1] <https://bugzilla.mozilla.org/show_bug.cgi?id=961005#c74>
Hi kwallet-integration freezes firefox 33.0.2 on startup. Unusablility. In the command line it gives QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. QEventLoop: Cannot be used without QApplication when I say killall -9 firefox it closes and displays [17761] ###!!! ABORT: Aborting on channel error.: file /builds/slave/rel-m-rel-l64_bld-000000000000/build/ipc/glue/MessageChannel.cpp, line 1547 [17761] ###!!! ABORT: Aborting on channel error.: file /builds/slave/rel-m-rel-l64_bld-000000000000/build/ipc/glue/MessageChannel.cpp, line 1547 After changing initialize back to init in .mozilla/firefox/n57hypb2.default/extensions/kwallet\@guillermo.molina/components/KDEWalletStorage.js firefox works again (but password integration doesen't). Damn. Any Ideas?
Oh I forgot to mention: I reinstalled the app cleanly. it caused the same crashing.
I found the problem to be non-existent on my Arch Linux machine at home with either firefox 33.0.3 and firefox 33.1 (which I upgraded to yasturday). I have no crashing there and working password integration. So the problem occurs only on my Debian Weezy machine at work. grrr. This reminds me, why I use Arch.
Thanks for the crash fix. Unfortunately 2.4 is no longer working for me. I don't get the save password popup, if I open saved passwords I don't see any (I have several saved in kwallet from previous versions), and if I try to manually enter a new password I get this error: Quote:Got an error:
[JavaScript Error: "this._storage is null" {file: "resource://gre/components/nsLoginManager.js" line: 323}]'[JavaScript Error: "this._storage is null" {file: "resource://gre/components/nsLoginManager.js" line: 323}]' when calling method: [nsILoginManager::addLogin]
Did you try to create a duplicate login entry?
and nothing gets saved.
I think it doesn't even try to connect to kwallet, because I tried to revoke the authorization and it does not even prompts to authorize the connection.
I'm using iceweasel (firefox) 31.2.0 from debian testing. The addon is configured to use the "Iceweasel" folder instead of the default "Firefox" folder.
On icedove (thunderbird) 33.0 it is perfectly working, thanks!
I'm not sure how, but now it is working again! Thanks!!
Oh right, I know how... I installed iceweasel 33.0 from experimental!
This option in Firefox must be checked to use this addon or no?
When I have remember passwords in Firefox enebled they are stored both in Firefox and in kwallet. But I'm not sure if this is safe. Is it?
If this addon needs to have Firefox "remember passwords" enabled is it still a secure solution? Because you don't use master password for Firefox database? Do you? When this option in Firefox is enabled passwords are visible in Firefox option remembered passwords. If Firefox still remembers them seems to be no reson to use this addon. I'd be glad if the author of this addon could give a few more words on how it works.
Enter these commands in your terminal: mkdir plugin cd plugin svn checkout http://svn.guillermomolina.com.ar/firefox-kde-wallet-2/ Edit this file: xpi/components/KDEWalletStorage.js Find this section: ... change the first line to: save and exit the text editor. In the plugins/ directory, follow the instructions in the file: BUILD You don't need to create the tarball. After you've done: `make archive`, open the file that was created one level above plugin/ in firefox and it will install the working plugin. NOTE: you need the following to perform these steps: svn cmake g++ kdelibs5-dev Good luck.
The file you open with FF is: firefox-kde-wallet-2.4.xpi
Thanks, but this does not work for me.
My explanation is redundant. All you need to do is to locate the file: "KDEWalletStorage.js" in .mozilla/firefox/<somestuff>.default/extentions/kwallet@guillermo.molina/components and modify the source code like described above. The plugin should work when the changes to KDEWalletStorage.js are saved.
Hi, thanks, now it works, jaja. I had Initialize, only change I for i, thanks so much!