For too long now (since somewhere around April/May 2008 at least) I have had the task of switching MailNews from the old password manager code (known as wallet) to use the newer code in toolkit that Firefox has been using for a long time now.
Finally, the day has arrived for this to get pushed to the tree – the patches have now all landed, although we do have one final change to do which is to stop pulling the wallet cvs directory into the source tree when we do a pull.
What does this mean for Nightly Testers (and users when we release)?
Hopefully no-one will notice the difference, except for a few bug fixes and revised preferences display. However, as always (especially for nightly testers) it is recommended that you keep backups your profile.
What happens if I use the same profile on wallet and toolkit versions of Thunderbird/SeaMonkey?
When one of the applications with toolkit’s password manager is first run, it will create two new files in your profile directory, signons3.txt and signons.sqlite. signons3.txt is an unfortunate artefact of the upgrade. signons.sqlite is the file the toolkit’s password manager will actively use.
If you subsequently go back to a wallet version, then it will use signons.txt and store any changes to your passwords in that file. These changes won’t get picked up in the toolkit password manager version. Likewise, if you save passwords in the toolkit version, then they won’t get into the wallet version.
Why have we made the switch?
- Provides the same interfaces as Firefox – making it easier for extensions to work across our applications.
- Drops the old wallet password manager code which was virtually unmaintained and complicated.
- Increases code sharing (and string sharing for localisers).
- Moves Thunderbird and SeaMonkey slightly closer to being xulrunner based applications.
- Helps to fix some bugs, and should make it easier to fix some others.
I’ve got a problem with the new password manager that I didn’t have with the old one, what should I do?
Although we now have lots of unit tests for various bits of the mailnews code relating to getting saved passwords and communicating them to servers, and whilst I really do hope there won’t be any new bugs, I won’t be surprised if there are some. Here’s what you should do:
- Confirm the bug isn’t in a previous version of Thunderbird.
- Check for duplicates
- File a bug. We’ll need to know: the format of your username/hostname and if they have any special charaters. We may also need: a protocol log.