Firefox addon for kwallet KDE5

Various Plasma 5 Improvements

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

2
Become a Fan
7.2

Available as/for:
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 KDE5.

IMPORTANT: This version works ONLY with KDE5, for the KDE4 version use: http://kde-apps.org/content/show.php/Firefox+addon+for+kwallet+KDE4?content=116886
Last changelog:

Version 1.1

Fixed crash, thanks cyberbea


Ratings & Comments

27 Comments

marsei

addon installation doesn't work (when I click on "Install from xpi file" and choose the file, nothing happens).

m00tiny

Those complaining about unsigned or unverified: browser to about:config xpinstall.signatures.required = false This will potentially expose you to installing malicious addons, so don't be an idiot with the addon installation after toggling this parameter.

hefee

Hey, under https://addons.mozilla.org/en-US/firefox/addon/kde5-wallet-password-integrati/ I see a version 1.3, but this version isn't available here and also missing at your website: http://www.guillermomolina.com.ar/en/projects/63-firefox-kwallet5 How do I get the source for this 1.3 version?

tomglx

I've created the following preliminary patch. Which fixes it for me. --- KDE5WalletStorage.js.orig 2016-10-08 19:55:47.617159179 +0200 +++ KDEWalletStorage.js 2016-10-08 19:57:10.424447710 +0200 @@ -224,21 +220,28 @@ searchLogins: function (outCount, matchData) { this.log( "searchLogins() Start" ); let propEnum = matchData.enumerator; - var guid; + var guid, hostname, formSubmitURL, realm; while (propEnum.hasMoreElements()) { let prop = propEnum.getNext().QueryInterface(Ci.nsIProperty); switch (prop.name) { case "guid": guid = prop.value; break; -/* case "hostname": - case "username": - case "password": + hostname = prop.value; + break; case "formSubmitURL": + formSubmitURL = prop.value; + break; + case "schemeUpgrades": + break; + case "httpRealm": + realm = prop.value; + break; +/* case "username": + case "password": case "usernameField": case "passwordField": - case "httpRealm": // nsILoginMetaInfo properties... // case "guid": case "timeCreated": @@ -251,7 +254,8 @@ throw "Unexpected propertybag item: " + prop.name; } } - let entries = this._lib.findLoginsWithGuid( guid ); +// let entries = this._lib.findLoginsWithGuid( guid ); + let entries = this._lib.findLogins( hostname, formSubmitURL, realm ); return this._array2NsILoginInfo( outCount, entries ); },

Beguam

Hello, thanks for your patch, I have made the same for me (instead I'm not a developper). But the function _lib.findLogins crashes if one parameter is "undefined". Previous, you have to set the vars at null : var guid; var hostname = null; var formSubmitURL = null; var realm = null; then you have to comment the default clause : /*default: throw new Error("Unexpected propertybag item: " + prop.name);*/ And at the end : if (guid !== undefined) { let entries = this._lib.findLoginsWithGuid( guid ); return this._array2NsILoginInfo( outCount, entries ); } else { let entries = this._lib.findLogins( hostname, submitURL, realm ); return this._array2NsILoginInfo( outCount, entries ); }

Beguam

Sorry : let entries = this._lib.findLogins( hostname, formSubmitURL, realm );

promeneur

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

promeneur

i found with mozregression that the problem begins with 49.0 see https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=c57a0e71e7cdf62ba3d443e250e6086368ad0833&tochange=f59918cf04fa5954101b0274ebf60fb7e11e7a21

remix

It stopped working with Firefox 49

remix

Sorry, This comment concerns KDE 4.

Walternate

When I attempt to install Firefox addon for kwallet KDE5, the install fails with: "This add-on could not be installed because it has not been verified." and gives me a "Learn more" link to: https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox?as=u&utm_source=inproduct I am using Firefox version 45.0 on openSUSE Leap 42.1 Linux for x86_64 (64 bit). Please help.

dharman

After installation of this great component, Firefox try to restart, but immediately crash with the following error: </MY/PATH>.default/extensions/kde5wallet@guillermo.molina/components/libkde5wallet_x86_64.so: undefined symbol: _ZN6QDebug9putStringEPK5QCharm I'm using kubuntu 15.10 with Plasma 5.4 and FF 42.

chrpospiech

Same crash seen here, and this is the error message when starting on the command line. cp@helios:~$ firefox Start /usr/lib/firefox/firefox: symbol lookup error: /home/cp/.mozilla/firefox/6nswkv3k.default/extensions/kde5wallet@guillermo.molina/components/libkde5wallet_x86_64.so: undefined symbol: _ZN6QDebug9putStringEPK5QCharm Removing the directory kde5wallet@guillermo.molina made firefox operational again (without the plugin, of course). Anyone knowing what may be missing here ? Christoph

gordin

It seems that the plug in is compiled against Qt 5.5. Ubuntu 15.10 currently ships Qt 5.4. Installing Qt 5.5 from https://launchpad.net/~canonical-qt5-edgers/+archive/ubuntu/backup-qt551 solved this issue for me. While the plug in is now able to load and even talk to kwallet5 (Firefox folder created successfully in the default wallet) Firefox still crashes. After removing the plug in and installing it again it is now working. I'm not sure what the cause for the second crash was. There was no error message on the console and unfortunately I had not looked into the bug report Firefox wanted to send. Please be aware that the passwords from the old kwallet database are not moved to the new db. I have not found a way to load and export the old database with kwallet5.

chrpospiech

I followed this recipe for installing missing kde/qt libraries and it worked for me. Thanks !! Christoph

chrpospiech

Since the last update of firefox yesterday (45.0+build2) the extension ceased to work. Christoph

chrpospiech

More information on the crash - has anyone an idea what is missing here ? It looks to me that the kwallet extension is quite happy, but bumps into some API change by firefox ? cp@helios:~$ firefox Start walletType = "LocalWallet" Start walletFolder = "Firefox" Start QSettings::value: Empty key passed QSettings::value: Empty key passed Start Start Pass a valid window to KWallet::Wallet::openWallet(). Opened wallet type "LocalWallet" Selected wallet folder "Firefox" Storage is version 2 And firefox collects the following crash information. Add-ons: ubufox%40ubuntu.com:3.2,%7B73a6fe31-595d-460b-a920-fcc0f8843232%7D:2.9.0.4,kde5wallet%40guillermo.molina:1.0,%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:45.0,loop%40mozilla.org:0.1,langpack-en-ZA%40firefox.mozilla.org:45.0,langpack-en-GB%40firefox.mozilla.org:45.0,langpack-de%40firefox.mozilla.org:45.0 AddonsShouldHaveBlockedE10s: 1 BuildID: 20160304114936 CrashTime: 1457778740 EMCheckCompatibility: true EventLoopNestingLevel: 1 FramePoisonBase: 7ffffffff0dea000 FramePoisonSize: 4096 InstallTime: 1457715302 Notes: OpenGL: Intel Open Source Technology Center -- Mesa DRI Intel(R) Haswell Mobile -- 3.0 Mesa 11.0.2 -- texture_from_pixmap ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384} ProductName: Firefox ReleaseChannel: release SafeMode: 0 SecondsSinceLastCrash: 47208 StartupTime: 1457778738 TelemetryEnvironment: {"build":{"applicationId":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","applicationName":"Firefox","architecture":"x86-64","buildId":"20160304114936","version":"45.0","vendor":"Mozilla","platformVersion":"45.0","xpcomAbi":"x86_64-gcc3","hotfixVersion":"20160106.01"},"partner":{"distributionId":"canonical","distributionVersion":"1.0","partnerId":null,"distributor":null,"distributorChannel":null,"partnerNames":[]},"system":{"memoryMB":7864,"virtualMaxMB":null,"cpu":{"count":4,"cores":2,"vendor":"GenuineIntel","family":6,"model":69,"stepping":1,"l2cacheKB":256,"l3cacheKB":4096,"speedMHz":3300,"extensions":["hasMMX","hasSSE","hasSSE2","hasSSE3","hasSSSE3","hasSSE4_1","hasSSE4_2"]},"os":{"name":"Linux","version":"4.2.0-30-generic","locale":"en-US"},"hdd":{"profile":{"model":null,"revision":null},"binary":{"model":null,"revision":null},"system":{"model":null,"revision":null}},"gfx":{"D2DEnabled":null,"DWriteEnabled":null,"adapters":[{"description":"Intel Open Source Technology Center -- Mesa DRI Intel(R) Haswell Mobile ","vendorID":"Intel Open Source Technology Center","deviceID":"Mesa DRI Intel(R) Haswell Mobile ","subsysID":null,"RAM":null,"driver":null,"driverVersion":"3.0 Mesa 11.0.2","driverDate":null,"GPUActive":true}],"monitors":[],"features":{"compositor":"none"}}},"settings":{"blocklistEnabled":true,"e10sEnabled":false,"telemetryEnabled":false,"isInOptoutSample":false,"locale":"en-US","update":{"channel":"release","enabled":true,"autoDownload":true},"userPrefs":{"browser.cache.disk.capacity":358400,"browser.newtabpage.enhanced":true,"xpinstall.signatures.required":false},"addonCompatibilityCheckEnabled":true,"isDefaultBrowser":true},"profile":{"creationDate":16745,"resetDate":16771},"addons":{"activeAddons":{"ubufox@ubuntu.com":{"blocklisted":false,"description":"Ubuntu modifications for Firefox","name":"Ubuntu Modifications","userDisabled":false,"appDisabled":false,"version":"3.2","scope":8,"type":"extension","foreignInstall":true,"hasBinaryComponents":false,"installDay":16696,"updateDay":16696,"signedState":2},"{73a6fe31-595d-460b-a920-fcc0f8843232}":{"blocklisted":false,"description":"Extra protection for your Firefox: NoScript allows JavaScript, Java (and other plugins) only for tru","name":"NoScript","userDisabled":false,"appDisabled":false,"version":"2.9.0.4","scope":1,"type":"extension","foreignInstall":false,"hasBinaryComponents":false,"installDay Theme: classic/1.0 Throttleable: 1 URL: about:blank Vendor: Mozilla Version: 45.0 useragent_locale: en-US This report also contains technical information about the state of the application when it crashed. Christoph

maciex

Same problem here, anyone managed to fix that? Is Guillermo still working on the plugin? His homepage does not seem to work any more.

chrpospiech

After upgrading to Kubuntu 16.04 (which includes libqt5core5 5.5.1 and plasma 5.5.5, as well as firefox 46.0+build5) the plugin started working again. Thanks ! Christoph

Ray-Ven

I tried to install the plugin in ff41 (ubuntu) - firefox says that the xpi is corrupt. downloaded several times

gmolina

Yes you were right. The file was corrupted, sorry about that. Try downloading now.

Ray-Ven

This seems to be another app for the same purpose: https://barlog.rusu.info/valentin/blog/?p=395 Greetings, Ray

ilpianista

It took me a bit, but he's "joining" forces. Here's why: the post you linked redirect to the Firefox-KDE-Wallet plugin I made (http://www.andreascarpino.it/posts/firefox-kde-wallet-for-kf5.html). As I wrote, my plugin is a fork of Guillermo's plugin to support KDE Frameworks 5. I browsed Guillermo's repository and found out it accepted my changes in his new repository http://svn.guillermomolina.com.ar/firefox-kde5-wallet/ . So, there's only one Firefox KWallet 5 plugin :-)

Ray-Ven

Aaah, now I get it! Thank you for your effort - do you know why there aren't any kde-devs jumping on the same train? Or this Plasmazilla guy... Guillermo seems to be very busy! This is an important plugin which needs to be maintained carefully. I would love to donate - if this helps... But if there's no regular maintainer, donations won't help Ray

gmolina

Andrea is right, all i did was to repackage his modifications. Thanks agian Andrea. Cheers

Pling
0 Affiliates
Details
license
version 1.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 10

Other Various Plasma 5 Improvements:

Blured screenshot as screenlock BG
qwe12421
last update date: 9 years ago

Score 6.5

KDE fb2 Thumbnailer
caig
last update date: 7 years ago

Score 7.0

KDE CHM Thumbnailer
caig
last update date: 7 years ago

Score 7.3

KDE ePub Thumbnailer
caig
last update date: 7 years ago

Score 8.1

KSmoothDock
dangvd
last update date: 1 year ago

Score 7.7

ksuperkey
Mogger
last update date: 8 years ago

Score 8.5