Git Product home page Git Product logo

ff-password-exporter's Introduction

FF Password Exporter

It can be difficult to export your passwords from Firefox. Since version 57 of Firefox (Quantum) existing password export addons no longer work. Mozilla provides no other official alternatives. FF Password Exporter makes it quick and easy to export all of your passwords from Firefox. You can use FF Password Exporter on Windows, macOS, and Linux distributions.

FF Password Exporter

Download/Install

How to Use

  1. Download and install/run FF Password Exporter. Use the links above.
  2. Choose the Firefox user's profile directory you want to export passwords from.
  3. If you have set a master password to protect your Firefox passwords, enter it.
  4. Click the export button.
  5. Choose your file format (CSV or JSON), and save the file to your device.

Supported Firefox Versions

  • Firefox 58+ with key4.db profiles

Contributing

FF Password Exporter is written in Electron with JavaScript. Contributions/pull requests are welcome!

Requirements

Run the app

npm install
npm run electron

ff-password-exporter's People

Contributors

arash-kaffashi avatar cryptism avatar dgorbash avatar kspearrin avatar rivetchip avatar tony-0tis 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ff-password-exporter's Issues

Error: To few bytes to parse DER.

OS X 10.10.5
FF 60.0.2 (64-Bit)
Error message on export (csv+json)

Error: To few bytes to parse DER.

(profile is found: wrong master password will be decteted)

PW with special characters

Hi there,

I use a password in Firefox 66 like

Q"W§324$(TG"§=

...and the ff-password-exporter exports to the csv-file (UTF-8):

Q""W§324$(TG""§=

Maybe its a bug or are there limitations to the special characters?

Thanks!

Spaces in profile path result in key4.db not being found on Win10

It found the default profile directory just fine, but it doesn't appear to handle spaces in that directory when running the export process.

e.g. "C:\Users\Parent1 & Parent2\AppData...."

gives Error: key4.db was not found in the profile directory

When I moved the database file to a location without a space in the path it worked just fine.

Thanks for the simple and useful tool!

Encoding is wrong

Encoding is wrong for non-ASCII characters. Examples are ÜÖÄß, which come out garbled. Please fix, thank you!

Master password incorrect

Password Exporter detects my FF profile correctly, but displays "Error: Master password incorrect" when I click the "Export" button. I do have a master password set, and yes, I am typing in the right password. The same password opens the password store in FF, and I've tried several times. I see that I have a key4.db instead of a key3.db file - have Mozilla changed the key file format again?

Firefox 62.0
FF-Password-Exporter-Portable-1.0.1
Win 7 x64

Brilliant, thank you so much

Hi Kyle, I know this is not an bug or issue, but just wanted to say thank you so much for developing this app for Linux and I have now switched to self-hosted Bitwarden, which rocks ;-)

No option to RESTORE passwords?

What is the point of exporting them if there is no way to import them into another new installation?

Am I crazy?

Why does firefox lack this basic functionality? WTH

Failed to navigate/select profile

My FF profile is in a folder beneath D:\Users<user>\AppData\Roaming\Mozilla\Firefox\Profiles\2018-01-30 but the app does not allow me to select that folder.

Dev instructions in the readme fail: "missing script electron"

I cloned the repo and attempted the follow the dev instructions:

npm install
npm run electron

I get this error from npm run electron:

> npm run electron
npm ERR! missing script: electron

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ssmith/.npm/_logs/2019-11-30T18_59_57_939Z-debug.log

Possibly the build/run process has been updated but the README is behind?

Exporting doesn't work (TypeError: str.charCodeAt is not a function)

Not many steps to reproduce:

  1. Run the program
  2. Correct profile is already detected & selected (there is only one)
  3. Enter the master password
  4. Click Export Passwords
  5. Error popup: TypeError: str.charCodeAt is not a function

Tried (all same error):

  • Removing master password
  • Running the program as admin
  • Portable & installable versions
  • Building from source with dist:win and running the win-unpacked\FF Password Exporter.exe
  • Building from source with dist:win:ci and running the win-unpacked\FF Password Exporter.exe

Other info:

  • Firefox Developer Edition 73.0b6 (64-bit)
  • Windows 10 Insider Build 19041.21
  • Profile path doesn't have any special characters (not even a space).
  • I have passwords saved on some domains that point to localhost and different ports (if related at all).
  • When I use showAlert('error', JSON.stringify(item2Asn1)); just before renderer.js:202 it shows like this:
    image
    • Looks like recursion to me (probably because it's an object and I'm trying to debug it with JSON.stringify).
    • What is going on with the last part (weird characters)?

Sorry, I can't debug properly because I'm using docker on WSL and don't know how to set up X Server yet. So I'm building and running it on Windows instead of using npm run electron.

Firefox Portable Issue

When I attempt to point to the profile for Firefox portable (example below) it doesn't acknowledge the path as acceptable.

C:\Users\Family\Dropbox\Portable\PortableApps\FirefoxPortable\Data\profile

If I'm doing something wrong please point me in the right direction.

copies passwords wrong

unfortunately the portable password exporter copies alot passwords wrong.
for example.. when i use the following character in my passwortd: "
i noticed that the password exorter just doubles that character into: ""

and then when using specific characters like ä, ü, ö and ß
they are transformed into strage stuff like à ASP or à ST (the ASP and ST have black background in notepad++).

all mentioned characters are speicific for german language. even the " character. (used to express direct speech)

edit: and then there are cases where my passwords are warpped around "....." like..
username: xyz
password: "passwordhere"

but in real that password never had "......" around it

edit 2: this all occurs when saving it as CSV
when saving it as json, the double "" didnt occure but still didnt understand the characters: ä ö ü ß

Character encoding - Accent in username and / or password

Hi!

Thank You for the app!

When I have a Firefox column like this:

hostname username password
https://github.com PoLáKoSz PoLáKoSz

when I save it to .csv or .json it will become to this:

hostname username password
https://github.com PoLáKoSz PoLáKoSz

Solution

Fix for .json

  1. Open with Sublime Text with the .json file
  2. File > Save with Encoding > Western (ISO 8859-1)
  3. Reopen Sublime Text with the file

Fix for .csv

  1. Open with Sublime Text with the .csv file
  2. File > Save with Encoding > Western (ISO 8859-1)
  3. Open Excel with a new blank sheet
  4. Data > From Text (or something similar)
  5. FIle origin: Unicode (UTF-8)
Screenshot

Excel Import Wizard

What about importing?

I actually have two issues, I would need to import my passwords from the xml- file that was once created with password exporter. another major issue is that Group policy does not allow me to run exe. files. Any chance that an import could be achieved in another way?

Thanks,
Vik

No longer works. False error "Master password incorrect".

Very disappointing that I used this about a year ago to extract my Firefox passwords and it no longer works. Every attempt produces the false error message Error: Master password incorrect.

Since I have only one profile and it finds the profile correctly, it can't be an issue with profiles.

First 20 Username & Password Columns Are Unreadable

CSV is correctly generated, all fields are readable, but the first 20 - 30 entries
username and password fields are unreadable (& sporadic timecreated).
It appears that some of the CSV delimiters are corrupted and / or part of a password?

For example:

hostname username password timeCreated
URL :�u¦ÑpW ®aÅ�~���àÈÉn1� 7Ê[ Ò�N
URL ?�ñ��Þ�pú� :"%�?���' 1494472076080

Extra Details:
This is an older login.json which has followed me on several machines (with Master Password rotated every few months).
Trying to export to KeePass after some type of problem with FF70, my MasterPassword would not work (used login.json & Key4.db backups).

TypeError

FF v60.0.1
I've got the following error
error

App doesn't work on MacOS Catalina 10.15

There's another issue about this but it has been closed without a solution so I'm making a new one.
I'm running MacOS Catalina 10.15 on a Mac Pro 2018 and when opening the app (no matter if portable or installed) the following window pops up:

image

"Master password incorrect" when no master password

In Firefox, the "use a master password" box is NOT checked; however, when I hit Export Passwords in FF Password Exporter, a message pops up that says "Error: Master password incorrect". FF Password Exporter's "Firefox Master Password (if you set one)" field is empty. I'm using Firefox 60.0.2 on Windows 10.

Empty window when running on Linux

I am trying to run FF Password Exporter on Debian 9 (Stretch) / XFCE and the program doesn't work properly, either the AppImage or running from repo with nodejs directly.

GTYnrHB
https://i.imgur.com/GTYnrHB.png

When I run it with electron directly, the same program behavior is happening - exactly the same as on the screenshot above. The nodejs version I have tried with is 10.

Empty window when running on macOS Sonoma 14.4 after Firefox 124.0 Update

I have been using ff-password-exporter 1.2.0 on my Macs for several years. It's still doing fine on most of them, but on my main machine it began failing to launch after Firefox updated from 123.x to 124.0 several days ago. I've tried everything I could think of to isolate a cause, but I've come up with nothing useful. Tried deleting and reinstalling ff-password-exporter, replacing my Firefox application, and even refreshing Firefox. Nothing helped. I can use the Firefox built-in option for exporting passwords to a .csv file for the time being, but a feature I really like in ff-password-exporter is that it gives a count of times used for each login password. That's really a cool feature and makes it so easy to identify the most frequently used passwords. I hope there will be a fix. At the moment, I have no clue what's causing it on this particular Mac. Thanks.

C Source

Would it be possible for you to make a C source repo of it ?
Would be nice :-)

cannot get ff-pasword-exporter to install and run on Ubuntu 18.04.1 with current instructions.s

All I want to do is get my wife's and my several hundred passwords out of Firefox and into Opera.

After adding Bitwarden to Firefox I find out It can't get any out of Firefox without a .csv file that ff-password-exporter is supposed to be so-easily installed and then produce.

When I down load
Linux

Portable (.AppImage, x64)

I get

selection_002
if I select disk image mounter I get

selection_003

If I click [open link]
I get

selection_004

When I run npm I get this.
anne@anne-110-220z:~$ npm run electron
npm ERR! Linux 4.18.0-15-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "electron"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! path /home/anne/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open '/home/anne/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/home/anne/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! /home/anne/npm-debug.log
anne@anne-110-220z:~$

The debug log is here
npm-debug.log

There are more than 20 package.json files, but none are in
/home/anne/

and none of the sub directories of /home/anne/
contain any reference to npm or ff-password-exporter.

Essentially once the readme says download and install I am left on my own with no guidance

  • of where the appimage is supposed to go
    • Do I just save it
      • That does not create this package.json than npm is looking for
    • Do I use the disk image mounter
      • If so what application do I really use to process the "Appimage application bundle"
      • Is there one that will produce this package.json file for npm to find?
  • of how to run the appimage with npm,
  • or how this package.json is is supposed to get into /home/anne/

I searched in ask.ubuntu, with google on line, and not a mention of how to do this anywhere,

Copy and pasting user names and pass words one at a time from one window to another window is going to be tedious and error prone. And on this two year old machine take hours of waiting for the two CPU's to drop below 100% with more than one window of Firefox open or both Firefox and Opera open. Only about 5% of the 16 Gb of RAM is even getting touched.

I hope someone knows how to do this on a Linux OP Sys; can write it down and share it.
Please!
Luigi

Norton threat detected

Got this after downloading the portable windows exe.

`Filename: ff-password-exporter-portable-1.0.0.exe
Threat name: Heur.AdvML.CFull Path: c:\tmp\ff-password-exporter-portable-1.0.0.exe



On computers as of 
5/18/2018 at 8:30:23 AM

Last Used 
5/18/2018 at 8:32:24 AM

Startup Item 
No

Launched 
No

Threat type: Heuristic Virus. Detection of a threat based on malware heuristics.


ff-password-exporter-portable-1.0.0.exe Threat name: Heur.AdvML.C
Locate

Very Few Users
Fewer than 5 users in the Norton Community have used this file.

Very New
This file was released less than 1 week  ago.

High
This file risk is high.


https://github-production-release-asset-2e65be.s3.amazonaws.com/132924177/51c6d992-5474-11e8-96bc-b41818fae614?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20180518/us-east-1/s3/aws4_request&X-Amz-Date=20180518T133159Z&X-Amz-Expires=300&X-Amz-Signature=e61f1a845f0f3a4852e5859dc801b7db8c5dd2a9c54de9d5591ebf30ad87561e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment; filename=FF-Password-Exporter-Portable-1.0.0.exe&response-content-type=application/octet-stream
Downloaded File from amazonaws.com
Source: External Media

ff-password-exporter-portable-1.0.0.exe


File Actions

File: c:\Tmp\ ff-password-exporter-portable-1.0.0.exe Removed


File Thumbprint - SHA:
5b8a8f1f197b053335bcf83f0272759810478cba10756dc4649f85557c7c4587
File Thumbprint - MD5:
d95cd73fa69f16350ce9fed507db39c0
`

[feature request] add date columns to export

It would be nice to add the date columns "last used" and "last changed" to export.
Then it can be easily imported with correct dates in third party applications like nextcloud passwords.

Seamonkey ?

Helo,
your application works she under-Seamonkey 2.49 ?
Thank you.

error: TypeError: str.charCodeAt is not a function

Tried this today, using Firefox 73.0 (32-bit) but got the following error:

TypeError: str.charCodeAt is not a function

I have only key4.db and logins.json

I tried it with Thunderbird, and it worked fine.

Any suggestions?

Application won't open running on Mac

Mac is running OS Catalina version 10.15. When I tried to open the downloaded application, it said "“FF Password Exporter” can’t be opened because Apple cannot check it for malicious software. This software needs to be updated. Contact the developer for more information."

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.