Protect your Thunderbird passwords with a Primary Password

Revision Information
  • Revision id: 226046
  • Created:
  • Creator: Paul
  • Comment: Replacing "master" with "primary" in the article text.
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: Chris_Ilias
  • Is approved? No
  • Is current revision? No
  • Ready for localization: No
Revision Source
Revision Content

Thunderbird can save passwords for each account, so you don't have to re-enter them when you check for new messages. You can view them and remove the ones you don't use anymore.

What if you share a computer, and don't want others to see your stored passwords? With the primary password feature, Thunderbird will require you to enter a primary password in order to view or use the passwords you've told Thunderbird to remember. When you have a primary password set, you'll only need to enter it once per session.

ef5f631b4f4f00424fd9f2a09ddaeb4e-1290640828-218-2.png

Want to prevent others from seeing your messages? The best secure method if you share a computer, is to create a separate WindowsMacOSOS user account on the operating system for each person, and make sure your WindowsMacOSOS account requires a password. Thunderbird stores accounts, messages and password information separately for each operating system account.

A weaker method is to change the hidden preference mail.password_protect_local_cache in the config editor to True. This will prevent the display of email until the primary password is entered. It does not however do anything about your mail being stored on the hard disk as a plain text file. Using an operating system account does address that.

Defining a primary password

By default, Thunderbird does not use a primary password to protect stored credentials. To define a primary password:

  1. In the menu bar, click the Thunderbird menu and select Settings.Click the menu button Fx89menuButton and choose Settings.
  2. Select the Security panel.
  3. Select the Passwords tab.
  4. Put a check mark next to Use a master password.

    Create_Master_Password-Mac
    Create_Master_Password-Mac
    ef5f631b4f4f00424fd9f2a09ddaeb4e-1290640828-218-3.png
  5. The Change Primary Password dialog will appear. As you enter your primary password, the password quality meter will indicate the difficulty of guessing the password. Here are some tips for creating better passwords:
    • Use at least one capital letter.
    • Use one or more digits.
    • Use at least one non-alphanumeric character, such as: @ # $ % ^ & * ( ).
    • Also, remember to make your password something that is easy for you to remember, but difficult for others to guess to ensure that you, and only you, will be able to retrieve this secure information.
  6. The password must be entered twice to confirm that you can enter it consistently.

    Choose_Master_Password-Mac
    Choose_Master_Password-Mac
    ef5f631b4f4f00424fd9f2a09ddaeb4e-1290640828-218-1.png
  7. To set the primary password, click OK.

Now that your primary password is set, Thunderbird will prompt you to enter it the first time you need to view or use a password per session.

Changing the primary password

  1. In the menu bar, click the Thunderbird menu and select Settings.Click the menu button Fx89menuButton and choose Settings.
  2. Select the Security panel.
  3. Select the Passwords tab.
  4. Click Change Primary Password.
  5. Enter the current primary password to confirm you are authorized to change it.
  6. Enter the new primary password twice.
  7. Click OK.

Removing your primary password

Follow the steps above to change the password, but leave both the new primary password fields empty.

Resetting your primary password if you have forgotten it

If you've forgotten your primary password you can reset it.

Warning: This will remove all of your saved usernames and passwords.
  1. Choose Tools -> Developer Tools -> Error Console.
  2. Copy the text given below and paste into the Console. The choice is determined by the version you are using.
    • If using a version prior to 78, copy and paste the following text:
      openDialog("chrome://pippki/content/resetpassword.xul")
    • If using version 78 or later, copy and paste the following text:
      openDialog("chrome://pippki/content/resetpassword.xhtml")
  3. Click the Evaluate button. If you do not see an 'Evaluate' button, press Return or Enter on keyboard.
  4. When prompted with the confirmation dialog box, click the Reset button.
    TB68_Reset_Master_Password_Win