Firefox addon for kwallet KDE4

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

35
Score 83.8%
Description:

Firefox stores its passwords internally, optionally protected by a master password. KDE has its own password manager called KWallet. KWallet stores every password in the KDE system, and protects access by a master password. With this extension you are able to use KWallet instead of the default Firefox password manager. It allows tighter integration of Firefox inside KDE.

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
Last changelog:

5 years ago

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

C

gmolina

6 years ago

WARNING: BACKUP KWALLET FIRST!!!!!!!!
and try: http://www.guillermomolina.com.ar/archivos/category/1-firefox-kwallet-extension?download=27:firefox-kwallet-extension-version-2-3-beta&start=20

It saves timestamps, but I can not be sure if it solves the problem.

Report

9

Murz

5 years ago

Thanks for updates to KDE Wallet Firefox extension in version 2.3 - I see that you add timestamps and other info into storage, in hope that Passwords Sync issue will be solved.

I do many tests for Passwords Sync and can report that adding timestams is not solve the sync problem :(

But I noticed the strange behavior that may be the source of sync problem, how to reproduce it (I test on Firefox 29):

1. Open clean Firefox profile without KDE Wallet extension.

2. Open Edit » Preferences » Security » Saved passwords window and stay it open (place it on top for always visible on screen),

3. Switch to Firefox browser window and type some site any password and remember it.

You will see that it immediatly appeared in list of "Saved passwords" window. Press "Show passwords".

4. On the same site type another password and press "Update password", you will see that it will be immediatly updated in "Saved passwords" window.


And repeat this steps via KDE Wallet extension enabled:

1. Open clean Firefox profile with KDE Wallet extension enabled.

2. Open Edit » Preferences » Security » Saved passwords window and stay it open (place it on top for always visible on screen),

3. Switch to Firefox browser window and type some site any password and remember it.

You will see that it immediatly appeared in KDE Wallet, but in list of "Saved passwords" window it will not appeared. But if you type in "search" something and clear search, you will see new record. Press "Show passwords".

4. On the same site type another password and press "Update password", you will see that it immediatly appeared in KDE Wallet, in "Saved passwords" window you will see old password. Type something in "search" and clean field, you will see that password is updated.


Result of this test is, as far as I understand, that KDE Wallet extensions don't send events "added new password / password updated" to Firefox core, and Firefox didn't understand that passwords are changed, and see this only via manual refresh of password list (open-close "Saved Passwords" window, search in it, etc).
And missing events "added new password / password updated" can be the reason for broken sync.


What do you think about described test and results? I think that solution of KDE Wallet passwords sync is near, we need to find event/signal to send for Firefox after insert/update password.

Can you investigate why password list not updated immediatly after updating KDE Wallet?

Can you find the event/signal that your extension must send to Firefox for tell him that password is added/updated?

Report

9

borisdigital

6 years ago

Seems to work for me. At least no crashes yet for about a week

Report

C

gmolina

6 years ago

Ok, but what about the sync problem? the crashes are still being produced by the ion jit compiler

Report

9

Murz

6 years ago

Hello gmolina!

Thanks for useful extension! But current version still have issues with password sync (not all passwords are synced).
Seems that this is not easy to solve, so maybe you can do a light version of KDE Wallet password integration extension, that stores in KWallet only master password from Firefox password storage?

This is the way how work Chrome with KWallet - it store only key in kwallet and encrypt the data with it.

Can you tell me, is it techincally possible to get master key password from KWallet and unlock automatically firefox password storage?

Report

C

gmolina

6 years ago

The master firefox is part of the firefox's subsystem, if you add your own subsystem you have to implement it by yourself, Chrome DO save its passwords in kwallet. It's not necessary to crypt them, all other programs don't do that.

Report

9

Murz

6 years ago

Oh, sorry, yes - Chrome save passwords in Kwallet via Binary Data for each site, and this works out-of-the-box.

If auto-fill master password from KDE Wallet is not possible in firefox - it's bad, so one way is like in current extension.

Report

C

gmolina

6 years ago

I don't use firefox any more, but I will try to make the plugin work again

Report

C

gmolina

6 years ago

Try version 2.2

Report

9

borisdigital

6 years ago

Thank you for your time and work!
Happy X-Mas!

Report

9

borisdigital

6 years ago

Hm, looks like it's still crashing FF26 from time to time ;(

Report

m00nraker

6 years ago

Confirmed, still crashing with FF 26....

Report

C

gmolina

6 years ago

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

Report

rwman

6 years ago

actually you can just turn off ion by setting javascript.options.ion.content to "false". This fixes crashes for me.

unrealted trick i discovered: setting javascript.options.ion.chrome to "true" seems to speedup all the browser interface responsiveness! (and it does not cause any crashes for me)

Report

C

gmolina

6 years ago

I think is more a bug in the JIT compiler than a compatibility issue. I've tracked the segfault to that module of firefox using its debug info, in order to see what is causing it to segfault I would need far more knowledge of its internals than the knwoledge I have. Sorry about that.

Report

rafl

6 years ago

Many thanks, this workaround works for me.

Any chance that you'll release a new version compatible with this ION baseline?

Report

C

gmolina

6 years ago

Can you give me kdebug output and/or firefox console output?

Report

9

borisdigital

6 years ago

I uploaded the output files here
-> http://boris64.net/files/linux/kwallet-addon/

Report

rafl

6 years ago

I can also confirm FF26 is still crashing.

And even with all debug symbols installed here the crash handler still says the info collected is not useful.

I've also started firefox with an empty profile and added only this add-on, but it still crashes (for example, in the Humble Store page -- but not in the main Humble Bundle or Weekly Bundle pages). If you want me to run tests, just ask.

And many thanks for the plugin. Really quite handy.

Report

C

gmolina

6 years ago

I am sorry, but with these logs don't give me much, the crash seems to be pointing at some weerd "epoll_wait: Bad file descriptor" error, there is no single line refering to the plugin's library (libkdewallet_x86.so or libkdewallet_x86_64.so). I use Ubuntu 13.10 32b/64b to compile, and it doesn't seem to crash here, but as I said before I use firefox just for testing the plugin, I don't use it all the time and with many other extensions. I will try to compare my plugin to others, in order to see if there are api errors, but there are not many others xul-kde-qt pluggins out there.

Report

m00nraker

6 years ago

Hi Gmolina.
I'm a long time user of your KWallet Firefox plugin on KDE. It's a very usefull piece of software, thank you for making that possible.
With Firefox 26 the plugin seems to be broken. When starting Firefox with activated Kwallet plugin, Firefox crashes right after starting with Signal Segmentation Fault (11). Even with a clean KDE user profile, when activating KWallet plugin, Firefox still crashes. When I disable the plugin, everthing works fine.
Is there s.th special with Firefox 26 or do you plan to release an updated plugin? I'm using openSUSE 13.1/KDE 4.11+4.12/Kwallet plugin v2.1.
Thank you, bb.

Report

m00nraker

6 years ago

After reinstalling Firefox 26 from the OBS repos and cleaning the cache files again, it seems to work now. No more segmentation faults anymore.
So the Kwallet plugin has no problems with Firefox 26. I have to say sorry for the wrong alarm.

Report

rafl

6 years ago

In any case, it seems to me that the most useful piece of information about the crashes is the following (when starting firefox via the command line):

'FirefoxKwalletPlugin(3994)/kdevplatform: Memory buffer and count differ'

Report

m00nraker

6 years ago

Oh, I didn't tried that. Will see if I can reproduce.

Report

m00nraker

6 years ago

With a clean Firefox setup (no AddOns, clean profile, clean cache) Firefox 26 doesn't crash on my opensUSE 13.1. After adding KWallet plugin to Firefox 26 it started crashing again with segmentation fault (ony KWallet plugin, no other ones). So KWallet 2.1 plugin seems to be buggy with Firefox 26.
For now I have to remove the plugin. Hope to get an update soon :-)

Report

5 years ago

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

12345678910
348
product-maker RingOV Jul 07 2015 9 excellent
product-maker OderMalSo May 17 2015 9 excellent
product-maker paulus3005 Jan 07 2015 9 excellent
product-maker remix Nov 03 2014 9 excellent
product-maker Tuxteno Sep 09 2014 3 bad
product-maker natha Sep 08 2014 3 bad
product-maker ava1ar Jul 04 2014 9 excellent
product-maker lazx888 Jun 18 2014 9 excellent
product-maker Pafrape Apr 07 2014 9 excellent
product-maker Apostle Jan 13 2014 9 excellent
product-maker Syvolc Dec 26 2013 9 excellent
product-maker borisdigital Dec 23 2013 9 excellent
product-maker bendersteed Dec 23 2013 9 excellent
product-maker Sweyn78 Aug 24 2012 9 excellent
product-maker janet Aug 07 2012 9 excellent
product-maker cyberconan Aug 01 2012 9 excellent
product-maker DreamDragon Jun 13 2012 9 excellent
product-maker RAIDENSUB Jun 12 2012 9 excellent
product-maker mdye Jun 12 2012 9 excellent
product-maker Koali-Fran Jun 11 2012 9 excellent
product-maker gramb Apr 01 2012 9 excellent
product-maker olahaye74 Mar 07 2012 9 excellent
product-maker Sagittarius Jan 10 2012 9 excellent
product-maker JanMalte Jan 07 2012 9 excellent
product-maker pvt14 Dec 01 2011 9 excellent
product-maker atimus Nov 24 2011 9 excellent
product-maker tomsdale Nov 23 2011 9 excellent
product-maker Xepher Oct 12 2011 9 excellent
product-maker Airion Sep 03 2011 9 excellent
product-maker alpvonkri Jul 18 2011 9 excellent
product-maker juank202 Jul 18 2011 9 excellent
product-maker ObiWahn Jul 18 2011 9 excellent
product-maker bruno666 Jul 14 2011 9 excellent
product-maker bitcrazy Jul 01 2011 3 bad
product-maker deabru Jun 30 2011 9 excellent
product-maker Longaso Jun 28 2011 9 excellent
product-maker quippini Jun 28 2011 9 excellent
product-maker MetalByte Jun 28 2011 9 excellent
product-maker Hmpf Jun 27 2011 9 excellent
product-maker Genserowski Mar 23 2011 9 excellent
product-maker jmunin Mar 22 2011 9 excellent
product-maker metar Mar 21 2011 9 excellent
product-maker Rettich Mar 15 2011 9 excellent
product-maker zuargo Mar 13 2011 9 excellent
product-maker dil Mar 13 2011 9 excellent
product-maker overmind88 Mar 13 2011 9 excellent
product-maker vitoubien Mar 13 2011 9 excellent
product-maker MichauSm Mar 13 2011 9 excellent
product-maker momonster Mar 13 2011 9 excellent
product-maker unhammer Feb 25 2011 9 excellent
product-maker Murz Jan 23 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
katrinadcobb
Mar 16 2020
pups
Jan 13 2015
drdanz
Nov 05 2014
dharman
Apr 18 2014
Murz
Jan 27 2014
rafl
Jan 13 2014
Apostle
Jan 13 2014
remix
Dec 28 2013
Ashiroxzer
Aug 21 2012
janet
Aug 07 2012
mdye
Jun 12 2012
Sagittarius
Feb 05 2012
JanMalte
Jan 07 2012
darkbasic4
Jan 04 2012
m00nraker
Dec 10 2011
salyavin
Nov 23 2011
tomsdale
Nov 22 2011
victorcifuentes
Sep 30 2011
Airion
Sep 03 2011
quippini
Aug 10 2011
alpvonkri
Jul 18 2011
Hmpf
Jun 27 2011
jmunin
Mar 22 2011
zuargo
Mar 13 2011
saigkill
Mar 13 2011
dfx
Jun 27 2010
winford
Apr 05 2010
Yggdrasill
Jan 17 2010
DaiVied
Dec 30 2009
easy
Dec 12 2009
ZaWertun
Dec 12 2009
devport
Dec 11 2009
hefee
Dec 11 2009
tommyangelo
Dec 11 2009
pippo73
Dec 11 2009
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
2.4
updated Oct 17 2014
added Dec 11 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 6