Giter Site home page Giter Site logo

mozilla-gnome-keyring's People

Contributors

infinity0 avatar j08ny avatar pah avatar saemy avatar seschwar avatar simontunnat avatar swick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mozilla-gnome-keyring's Issues

Initialize (v32) is different from Init (v31)

Hi, the new Initialize method is not the same as Init. The former should be asynchronous, returning a Promise, and the latter is synchronous. In nsILoginManagerStorage.idl:

    /**
     * Initialize the component.
     *
     * At present, other methods of this interface may be called before the
     * returned promise is resolved or rejected.
     *
     * @return {Promise}
     * @resolves When initialization is complete.
     * @rejects JavaScript exception.
     */
    jsval initialize();

Only store master password in gnome-keyring

Hi there,

I'd like to keep using Firefox' own password store (for sync and other issues), but I would like to have them encrypted with a master password stored in gnome-keyring. Would it be possible to support this?

Passwords stored and expected in a format not readable by Epiphany and presumably other browsers

When Firefox uses this extension to save a password to GNOME Keyring, it saves them in a different format than the one that Epiphany uses. This extension save passwords like this:

passwordField: passwd
formSubmitURL: https://www.reddit.com
hostname: https://www.reddit.com
usernameField: user
httpRealm: 
username: <username>
mozLoginInfoMagic: loginInfoMagicv1

Epiphany saves it like this:

username: <username>
form_password: passwd
uri: http://www.reddit.com/
form_username: user

Here's what it looks like visually:

both keys 1
both keys 2

Neither browser is able to understand the format used by the other, defeating the purpose of using a systemwide utility to store passwords. This extension should adopt the Epiphany format for the copy that it exports to GNOME Keyring.

Note: I have also filed a bug on the GNOME folks in case they're the ones Doing It Wrong:™ https://bugzilla.gnome.org/show_bug.cgi?id=774820

Can't get it to work with default keyring

If I set the 'extensions.gnome-keyring.keyringName' property in the config to a existing keyring not created by this plugin (in this case named "Default keyring" and also set to be the default per seahorse) the plugin won't open it correctly, but instead try to create a new keyring with the same name. After it created them however, it seems to think that creating and unlocking failed as it tries to create another keyring with the same name again and again. This way I end up with a couple of keyrings with the same name (all confirmed to exist and be unlocked by seahorse), but the plugin won't use them and will create new ones if I, e.g. try to save a password.

I run Thunderbird 31.2.0 with version 0.5 of your plugin.

Addon is not signed

Hi
I just installed this Addon in Thunderbird and Firefox.
Thunderbird works fine but Firefox tells me that the Addon is not signed and could not be verified.
Can you get it signed by the Firefox Devs?
In the current version it is possible to set xpinstall.signatures.required to false, but this feature won't exist in the next version.

Use same storage format as Gnome-web

I think it would be great to store the credentials the same way as gnome-web (or as google-chrome, just one of them would be great so we could reduce the number of password formats). That way you could move between different browsers and still have your passwords working.

Does not work anymore with FF 32.0 (?)

Since latest FF upgrade (to 32.0), the plugin does not seem to work anymore, at all...
I get these errors in the console:

NS_ERROR_XPC_GS_RETURNED_FAILURE: Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService] passwordManagerCommon.js:28
TypeError: kObserverService is undefined passwordManagerCommon.js:39

Broken in FF 34 ?

Hi,
the plugin seems to be broken with FF 34. Symptoms are I get no keyring created in Seahorse and I'm not asked if I want to remember password when needed.
Looking into FF console log, I see these errors:
Services.logins is undefined LoginManagerParent.jsm:104
Services.logins is undefined LoginManagerParent.jsm:222

Any idea?

Cannot delete saved login-password pair from Firefox UI

Reproducing:

  • Go to a random random login page, such as http://oyanforum.com/
  • Provide a dummy login-password pair, for testing purpose
  • Accept to save it
  • In the address bar, click on the globe, then "More Information..", and finally "View saved passwords..."
  • Delete the saved password
  • Close the dialogs, and repeat the previous step to display saved passwords again. The password still appear, whereas I expected it to be gone.

Gnome Keyring Integration 0.10
Firefox 38.5.0 (branded as Iceweasel)
Debian GNU/Linux

Thunderbird password displayed without master passord.

In thunderbird :
Go in preference->security->stored password. Unlock your keyring, show you passwords.
Close passwords window.
Lock your keyring
Go again in preference->security->stored password. In the window asking for your master key, don't enter it and click on “cancel”. -> you can see your passwords.
A little problematic I think…

Editing passwords doesn't work (via saved-password-editor)

Using the saved-password-editor extension together with this extension allows for easier testing. Unfortunately, editing an existing entry doesn't work:

Got an error:
  [JavaScript Error: "propEnum is undefined" {file: "jar:file:///home/infinity0/.mozilla/firefox/xxx.testing/extensions/[email protected]!/components/loginManagerStorage.js" line: 127}]'[JavaScript Error: "propEnum is undefined" {file: "jar:file:///home/infinity0/.mozilla/firefox/xxx.testing/extensions/[email protected]!/components/loginManagerStorage.js" line: 127}]' when calling method: [nsILoginManagerStorage::modifyLogin]
Did you try to create a duplicate login entry?

"Remember password" prompt when submitting auto-filled-in form

Hi,

When login-in on a website after the extension auto-fill the form, Firefox prompt me to remember the password (that's right, not even an update password prompt, but a remember password prompt).

That shouldn't happen. The login & pass was auto-filled, so its already remembered.

I removed the C(++) extension (didn't want to rebuild it after a Firefox update), and installed the pure-JS one. So the password database comes infinity0's C++ extension.

Firefox version: 29.0.1 (iceweasel package)
System: Debian GNU/Linux, amd64

Firefox Sync passwords

I have installed this add-on and without a warning it has erased ALL passwords saved in my Firefox Sync. Well I had some really rare passwords there.

A warning and a chance to make a backup before proceeding would be probably appreciated by most users.

appears to be corrupt

$ git clone https://github.com/swick/mozilla-gnome-keyring.git mozilla-gnome-keyring
$ cd mozilla-gnome-keyring
$ make

Then the file gnome-keyring-integration.xpi appears in the bin drectory.

When attempting to install add-on to firefox 68.0.2 (64-bit) from Ubuntu 18.04,
it claims that "This add-on could not be installed because it appears to be corrupted"

Any ideas?

Web extensions are the future!

The current plan is that Firefox 57 will only support web extensions. Your add-on is not a web extension yet as far as I can see, so you should consider remaking your add-on. The Firefox 57 release is planned for 28th November 2017.
Already for Firefox 53 (planned release: 18th April 2017) it is planned to no longer accept other new add-on submissions than web extensions on AMO (addons.mozilla.org). Old extensions can however still be updated.
The good message is that one should be able to use your web extensions add-on in all mayor browsers. That's the idea behind web extensions.
Note that you can use so-called hybrid extensions for switching to WebExtensions.

Note that all dates are estimates and may be changed.

German source: https://www.soeren-hentzschel.at/firefox/firefox-57-mit-exklusiver-webextension-unterstuetzung/
Original source: https://blog.mozilla.org/addons/2016/11/23/add-ons-in-2017/

Can I use it?

Is it a live project?
And is there a way to install it on Debian 10?

Adopt as the new official "mozilla-gnome-keyring"

Hi, after #27 is merged, I'd be happy to bless this as the next "official" version of mozilla-gnome-keyring, and hand over maintenance of this software to you. I actually already have a demo debian package of this here.

I'd prefer it if the name was kept, though. It has some presence online and it would provide some continuity with the current mozilla-gnome-keyring. Are you OK with doing this? It would involve changing the extension URL on addons.mozilla.org, and updating the places in the repo to change "moz-gnome-keyring-integration" to "mozilla-gnome-keyring".

Password without username not handled correctly

If I have a password without a username it is not handled correctly.
1.) If there is a stored login with a username in the stored passwords, that password will be used when retrieving one.
2.) If there has been no username/password combination before storing the password, that password will automatically also be used for username/password prompts (which does not make sense because there is a username to be entered too).

The first is not that big a problem.
The second, however, is more problamtic because I seem to be unable to store the password then with the username (might only be a problem if the password is the same as without the username)

Passwords for Firefox Sync are not correctly stored

I get a message every time I start FIrefox on the window bottom, saying "Sync encountered an error while synchronising: Incorrect account name or password. Sync will automatically retry this action.".
Then, If I try to sign in again, I have to enter masster password to use saved password, but it fails.

Without this extension, no error occurs.

I compare stored passwords with this extension via seahoce and without it via Firefox Preference:

  • With this extension
    • Description: chrome://FirefoxAccounts
    • Use: Saved password or login
    • Type: Password
    • Password: {"version":1,"accountData": "sessionTokenContext":"fx_desktop_v1","unwrapBKey":"#####","keyFetchToken":"#####","customizeSync":false}}
    • Details:
      • passwordField:
      • formSubmitURL:
      • hostname: chrome://FirefoxAccounts
      • usernameField:
      • httpRealm: Firefox Accounts credentials
      • username: (my username)
      • mozLoginInfoMagic: loginInfoMagicv1
  • Without this extension
    • Site: chrome://FirefoxAccounts (Firefox Accounts credentials)
    • Username: (my username)
    • Password: {"version":1,"accountData":{"sessionTokenContext":"fx_desktop_v1","customizeSync":false,"kA":"#####","kB":"#####"}}

Here, "#####" denotes strings consist of random alphabets and numbers.

I love this extension and I'm very glad if it is supported to store passwords for Firefox Sync.

Email is not saved in the keyring

Hi,

On the following login page, I have provided both an email and password, and confirmed I'd like them saved. This website like many others use email addresses as identifier.
https://soutien.laquadrature.net/login

However, when going back to the login page, only the password is filled. Upon listing the saved login/password, it appears the username was NOT saved.

A quick look at the HTML shows it's a relatively standard login form, but that the input type is "input". On most login forms the type "text" is used.
When changing the input type to "text" (w/ developer tools), the extension is able to remember the login.

Firefox 38.5.0 (branded as Iceaweasel by Debian)
GNOME Keyring Integration 0.10

Change default keyring to "mozilla" if it exists

After an upgrade, I noticed today all my passwords were gone. Investigating, I found that the keyring to use is now configurable and defaults to "default", whereas it was hardcoded to "mozilla" before. This leads to a bad upgrade experience - everything is gone, without any indication why.

Perhaps it makes sense to instead, if no keyring preference is set and a "mozilla" keyring exists, then default to "mozilla"? I'm not sure how fast people are to upgrade and if this is still relevant (since the change is from April, I think), but I just noticed this today, so I guess this change was only recently released?

Passwort still stored in plain text in Firefox.

Correct me if I have a wrong understanding.
Shouldn't there be no password accessible in Firefox?
If I navigate to preferences, security, saved logins i see them all.
I use debian 9 and installed the add-on form the repository

Hogs CPU and never finishes

Hi
I am running firefox latest (50.0) with this plugin, and on sync it hogs up CPU for hours and hours, in fact it is the gnome-keyring-daemon that takes nearly 100% of the CPU. I tried this now on 2 of my computers and after logging into my firefox account and starting sync, CPU goes up on g-k-d to close to100, and remains there even after 24h ...

I would really like to see my passwords moved to the g-k store, but as it is now it is unfortunately unusable.

All the best

Norbert

Debian/sid, firefox 50.0, gnome-keyring-integration 0.12

Stopped working (in Firefox 51?)

It worked fine for a long time, but since a while (possibly since last Firefox update, but not sure), the keyring does not seem to be accessible any more from Firefox. Logins are not filled automatically, and no saved passwords appear in Preferences->Security->Saved Logins. Also the Add-On preferences of mozilla-gnome-keyring do not list the available key rings.

Under Thunderbird all works as before.

I am using Xubuntu 16.04 LTS (32 bit).

Get rid of maxVersion

Now that the extension is in JS, it should be unnecessary to keep re-compiling it, which (IIRC) was the original reason for having "maxVersion" in install.rdf. It would avoid having to do e.g. #41 all the time, as well as things like Debian bug 838546

What do you think?

Firefox gets really slow with gnome-keyring enabled

I have a large number of secrets in my keyring (about 700, I think). Since today, I noticed my Firefox gets really sluggish when this add-on is enabled. There are frequent slowdowns, each lasting a few seconds (during which Firefox doesn't respond to any input). Slowdowns happen whenever switching tabs, clicking links, interacting with some input fields, possibly in more moments. The slowdowns disappear when I disabe the add-on, or when I switch it to use a nearly empty keyring.

dbus-monitor output shows that the full contents of my keyring is requested 3 times when I switch from one tab to another. Requesting all my keys takes a while, so this probably results in the slowdown. Is requesting the full keyring contents regularly intentional, or should it normally request only what it needs, or cache the results?

This issue is probably introduced when I upgraded the Debian package for this add-on, from version 0.6.11-3 to 0.10-1~deb8u1. When I downgrade again, the problem disappears.

It also seems the Secure Login (version 1.1.5) add-on is involved - if I disable it, the issue disappears as well. It seems likely that that add-on makes requests for secrets to the gnome-keyring add-on, which take a long time to fullfil. I'll file a support request for that add-on too and point it to this ticket as well.

Doesn't work with firefox 49

Forms don't get filled out any more. The message in the console is:
GnomeKeyringLoginManagerStorage: Called ([object XPCOutParam],[xpconnect wrapped nsIPropertyBag])

The passwords and sites are still accessible in Preferences -> Security -> Saved Logins

Add documentation for the options

It would be nice to explain the options in a bit more detail. For example:

  • I don't know what the "default" keyring is. In the old mozilla-gnome-keyring, this was the "mozilla" keyring. Is it now the "login" keyring? But I also see "login" in the drop-down box for "use an available keyring", and there should be an indication that this is the same as the "default" keyring (if this is indeed true; I am not sure).
  • What does "store passwords only for this session" mean? The browser session, or the desktop session?

i386 -> amd64 breaks a lot

Hi

The good: The addon works really good.
Thank you that passwords still in sync but: When changing the OS without /home (i386 to amd64) all passwords seems to be lost.
This [1] was the first adress to ask for

Now i would like to infom you and ask how to solve it for the future!?

My trouble report:
[1] https://support.mozilla.org/en-US/questions/1164487

Solution aftersome hours including backup recovery for analysis... Disabling the plugin brings back the passwords for firefox. But what about other passwords? e.g. Machine passwords or thunderbird passwords if the keyring db doesnt understand changes of the OS.

Kind regards
Florian

Deleting password does not work

After deleting a password in Firefox it is not deleted from the keyring. After reopening the password list it wil show up once again.

See #14

Access to passwords broken on Thunderbird in fix for #5

After the upgrade to 0.3 to fix #5 in abf86ef, the extension no longer finds the passwords on Thunderbird 31 (or rather Icedove, Debian/Linux). Downgrading to fd3d509 solves the problem for now.

Thanks for your support! I can imagine that the debugging required to fix #5 has been quite bad, but the solution is at least not "working" on TB :-(.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.