模板:Profile-file 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 22.214.171.124 and Firefox 126.96.36.199 (data stored in signons.txt is automatically migrated to signons2.txt after an upgrade).
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)
This file can be moved to a different profile as long as it is moved with key3.db, which is the encryption key.
Deleting signons.txt will delete your saved user names, passwords, and "never save" password settings.