Package: ffpass-next
ffpass-next - Import and Export passwords for Firefox QuantumThe latest version of Firefox doesn't allow to import or export the stored logins and passwords as a file.This tools interacts with the encrypted password database of Firefox to provide these features.Installationffpass-next requires Python3.6+and will work with Firefox 58+pipinstallffpass-nextFeaturesSupports master passwordsAutomatic profile selection for Linux, macOS and WindowsExport to CSVImport from CSV compatible with Google ChromeUpdate existing passwordsNote: Firefox must be closed during the whole process, as these actions change its database.
Note: If you have Sync enabled, you'll have to disconnect and reconnect your Firefox account after importing the passwords.Export to CSVffpass-nextexport>passwords.csv
ffpass-nextexport-fpasswords.csv
ffpass-nextexport--filepasswords.csvUsageusage: ffpass-next export [-h] [-t TO_FILE] [-d DIRECTORY] [-v]

outputs a CSV with header `url,username,password`

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  file to export password (defaults to stdout)
  -d DIRECTORY, --directory DIRECTORY, --dir DIRECTORY
                        Firefox profile directory
  -v, --verboseImport from CSVffpass-nextimport<passwords.csv
ffpass-nextimport-fpasswords.csv
ffpass-nextimport--filepasswords.csv
ffpass-nextimport--filepasswords.csv--overwriteBy default, it works with the passwords exported from Google Chrome.Usageusage: ffpass-next import [-h] [-f FROM_FILE] [-d DIRECTORY] [-v] [--overwrite]

imports a CSV with columns `url,username,password` (order insensitive)

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  file to import from (defaults to stdin)
  -d DIRECTORY, --directory DIRECTORY, --dir DIRECTORY
                        [Firefox profile directory](https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_how-do-i-find-my-profile)
  -v, --verbose
  --overwrite           overwrites existing passwordsFormattingFor CSV files not exported from Google Chrome, take these formatting rules into consideration:The CSV must have the headers "url", "username", "password", "httpRealm", "formSubmitURL","usernameField","passwordField". Any other columns will be safely ignored.The url must be formatted to include all prefixes ("http://", "https://", etc), or ffpass will not be able to read them correctly.ffpass-nextdoes not care if the CSV has quotes around fields, even if some fields have them and others don't.Transfer from Google Chrome to FirefoxNow, Firefox can more accurately import logins saved in Chrome/Chromium on Windows and macOS (including timestamps, deduping, http auth. logins, etc.) so you don't need to use this tool on those operating systems. See File > Import from Another Browser… in Firefox to import.Export from Google ChromeOpen Chrome and enter the following in the address bar:chrome://flags/#PasswordExportClick Default next to “Password export” and choose Enabled.Click Relaunch Now. Chrome will restart.Click the Chrome menuin the
toolbar and choose Settings.Scroll to the bottom and click Advanced.Scroll to the “Passwords and forms” section and click “Manage
passwords”.Clicknext to Saved Passwords and
choose Export.Click Export Passwords, enter the password you use to log in to your
computer, and save the file topasswords.csv(or any other
available name).(instructions fromhttps://support.1password.com/import-chrome/)Import in FirefoxStop FirefoxImport into Firefox:ffpass-nextimport--filepasswords.csvRestart Firefox, making sure it didn't leave any process still open.Transfer from Firefox to Google ChromeExport from FirefoxStop FirefoxExport from Firefox:ffpass-nextexport--filepasswords.csvImport in Google ChromeOpen Chrome and enter the following in the address bar:chrome://flags/#PasswordImportClick Default next to “Password import” and choose Enabled.Click Relaunch Now. Chrome will restart.Click the Chrome menuin the
toolbar and choose Settings.Scroll to the bottom and click Advanced.Scroll to the “Passwords and forms” section and click “Manage
passwords”.Clicknext to Saved Passwords and
choose Import.Select the filepasswords.csvand click Import.Troubleshootffpass export: error: the following arguments are required: -d/--directory/--dirIt means one of the following (launch with option--verboseto
know):Automatic profile selection is not supported for your platform.There is more than one user profile for Firefox.You have to provide the--diroption with your Firefox Profile
Folder. To find it, follow theseinstructionson the website of Firefox.Firefox password database is empty. Please create it from Firefox.It means that Firefox currently doens't store any password.ffpasscannot create the password database for security reasons. Just add
one password manually to Firefox to create the database.TypeError: 'PosixPath' object is not iterableSee#17.Empty url field ("example.com") in Firefox after importing: the urls of the source
csv file must begin with a scheme (http://,https://,ftp://,
etc…)Passwords do not sync to other devices, including Lockwise app.Importing passwords break the sync. You'll have to disconnect the
Firefox account in the Sync options and the re-add it.CreditsThanks a lot to Louis Abraham@louisabraham. We created a fork to keep maintaining this library.