How to ex-/import passwords from Firefox

I still have a Firefox 50.1.0 running (on openSUSE 13.1) and want to export the sign-on data for websites (account/password) to import them on Firefox 60.5.0esr (on openSUSE 15.0). I clicked everyware (IMHO), but I could only find and ex-/import functionality for Favourites.

https://support.mozilla.org/en-US/kb/password-manager-remember-delete-change-and-import https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile#w_passwords

Thanks.

My conclusions:

  1. there is no Export function;
  2. there is only an Import on MS Windows (rather superfluous conclusion when you have no export).

Nice, very nice :sarcastic:

Here you go, this should export your passwords so they can be imported elsewhere.
I expect that the decision not to officially support an export functionality was made for security reasons.

If it’s not clear, the app is written to be distributed as an AppImage app (similar to Flatpak), but especially on Linux can be simply run as a NodeJS app.

TSU

I’m pretty sure that it is the file “signons.sqlite” in the profile directory. But it may also use “key4.db” if you are having firefox keep them encrypted (use a master key). However, back at firefox 50.1.0, it was “key3.db” rather than “key4.db”. And I don’t know whether that sqlite database file has changed between 50.1.0 and now.

If it were me, here’s what I would do:

(1) create a whole new profile for firefox 60.5.0esr.
(2) copy the complete profile directory from 50.1.0 to the new profile directory
(3) startup firefox using that new profile. It should recognize the old profile and update it to the new requirements.
(4) copy the needed file from the new profile directory to your standard one.
(5) delete that new profile.

Good hint!

I went there and it says that the product works with FF 58+. So it seems that I waited too long, completeley my fault.

In any case, thanks again for the trouble you took to answer.

Sounds like something that could work.

I hesitate between trying this, or just start using the new environment adding a few of the most used simlply manualy. The old system is on different hardware, thus I can always (at least for some monthes) switch it on and look what the uid/passwd were for that site. Some more work, but a all old stuff will be gone then. A clean start is a good thing very 10 years or so.:wink:

Thanks for taking the trouble to think out this scenario.

I forgot to comment on this reamrk.

I assume you are correct, it came to my mind also.
FF could have addressed that easy enough by saying so in the link posted above. I guess most people would understand such reason.
OTOH the support the fact that Chrome can do it, not very consistent :wink:

Mozilla is pretty clueless when it comes to merging profiles locally: Syncing Firefox passwords between 2 computers - FF >= 57 - Super User

I created a new empty profile, deleted key4.db and copied the from the old key3.db and logins.json. The following indeed decrypts the old data:

karl@erlangen:~> /home/karl/Downloads/software/firefox_decrypt-master/firefox_decrypt.py
Select the Firefox profile you wish to decrypt
1 -> 0btr9gvr.default-1472189842958
2 -> smxz2b9b.test
3 -> 34fbnmm2.2009
Choice: 

Thanks Karl. More info to digest.

Did you try copying the entire ~/.mozilla folder to the new install’s user? Haven’t had any issues doing so.

No, I didn’t.

In fact I am afraid that the jump between the two versions is to large.

I did ex-/import the NoScript config, but do not see the same things as I saw in the old one.

O boy, I am not against introducing new things (if they can be switched off), but I hate changes or removal of old features. Even vi does work different!

But I assume that I can try. When disaster (unusable FF) happens, I guess I can remove .mozilla and start all over again.

I used Knurphts way of doing it. It worked very well as far as I can see.
The password manager is filled and listens to it’s main password. All is there.

And I was just able to login in my bank account.

I have still problems with the forums though, but that must be something different.

Thanks all for the suggestions.