Signons.txt

From MozillaZine Knowledge Base
Jump to navigationJump to search

signons.txt stores saved user names and passwords in Thunderbird, Sunbird, and earlier versions of Firefox. It also stores a list of sites for which passwords are never saved. The Options/Preferences dialog contains a UI to view and remove the passwords. This file is encrypted to help prevent others with access to your computer from seeing your passwords.

Due to a fix for bug 360493, signons.txt is replaced by signons2.txt starting in Firefox 1.5.0.10 and Firefox 2.0.0.2 (data stored in signons.txt is automatically migrated to signons2.txt after an upgrade).

Editing

Manually editing signons.txt is not recommended because its contents are encrypted and there is a UI to do common tasks.

The file's contents are as follows:

#2c
(list of domains for which passwords are never saved)
.
(site with a saved password)
(name of HTML user name field or blank for HTTP authentication)
(encrypted user name)
*(name of HTML password field or blank for HTTP authentication)
(encrypted password)
.
(more entries like the one above)

Moving

This file can be moved to a different profile as long as it is moved with key3.db, which is the encryption key.

Deleting

Deleting signons.txt will delete your saved user names, passwords, and "never save" password settings.

Related files and folders

See also