Toolkit:Password Manager: Difference between revisions
m (Mnoorenberghe moved page Firefox:Password Manager to Toolkit:Password Manager: Password manager is in Toolkit) |
(Removing obsolete content) |
||
Line 1: | Line 1: | ||
The Toolkit password manager is responsible for remembering usernames and passwords on sites and allowing the user to autofill or autocomplete it upon returning to the website. | |||
=== Mac OS X Integration === | |||
== Mac OS X Integration == | |||
(See also [https://bugzilla.mozilla.org/show_bug.cgi?id=106400 bug 106400], [https://bugzilla.mozilla.org/show_bug.cgi?id=496660 bug 496660].) | (See also [https://bugzilla.mozilla.org/show_bug.cgi?id=106400 bug 106400], [https://bugzilla.mozilla.org/show_bug.cgi?id=496660 bug 496660].) | ||
Line 41: | Line 17: | ||
By keeping the integration at this very low level we can minimize the impact of the changes and retain the functionality that Firefox users expect - dropdown showing choice of options (multiple options can be stored in our signons file - we just don't store the passwords and certificates there) - we can even add metadata (username/password field name attribute values) when we discover them to the signon file, which at that point just becomes a metadata storage point. | By keeping the integration at this very low level we can minimize the impact of the changes and retain the functionality that Firefox users expect - dropdown showing choice of options (multiple options can be stored in our signons file - we just don't store the passwords and certificates there) - we can even add metadata (username/password field name attribute values) when we discover them to the signon file, which at that point just becomes a metadata storage point. | ||
=== Dependencies === | ==== Dependencies ==== | ||
Two dependencies for Keychain Services integration on Mac OS X: | Two dependencies for Keychain Services integration on Mac OS X: | ||
Line 48: | Line 24: | ||
* the ability to detect if default browser (implemented on Windows but not MacOS X) (this may prove challenging in addition since nsIShellService is a browser API, not a toolkit one where password manager lives. Maybe it should move, or become more generic) | * the ability to detect if default browser (implemented on Windows but not MacOS X) (this may prove challenging in addition since nsIShellService is a browser API, not a toolkit one where password manager lives. Maybe it should move, or become more generic) | ||
== | == Existing Extensions in 2009 == | ||
= | |||
The following password-management extensions are on addons.mozilla.org, and give some indication of what kind of features people find useful. | The following password-management extensions are on addons.mozilla.org, and give some indication of what kind of features people find useful. | ||
Line 82: | Line 47: | ||
* [https://addons.mozilla.org/firefox/670/ Password Composer] 6 | * [https://addons.mozilla.org/firefox/670/ Password Composer] 6 | ||
* [https://addons.mozilla.org/fr/firefox/addon/4133 Password Finder] ? | * [https://addons.mozilla.org/fr/firefox/addon/4133 Password Finder] ? | ||
== See Also == | |||
{{subpagelist}} | |||
[[Firefox:Password_Manager:UI]] | |||
[https://bugzilla.mozilla.org/buglist.cgi?component=Password%20Manager&product=Toolkit&bug_status=__open__ Bug List] | |||
[https://bugzilla.mozilla.org/enter_bug.cgi?product=Toolkit&component=Password%20Manager File a bug] |
Revision as of 18:49, 1 June 2015
The Toolkit password manager is responsible for remembering usernames and passwords on sites and allowing the user to autofill or autocomplete it upon returning to the website.
Mac OS X Integration
(See also bug 106400, bug 496660.)
Mac OS X provides an application called Keychain Services which manages passwords and certificates for all applications including web browsers. It provides default encryption of the passwords and certificates using the user's login password, locks and unlocks the chain per application etc. Basically everything we've had to re-implement for our password manager (including Master Password etc).
We should transition to using Keychain Sevices as the "out of the box" back end for storing passwords and certificates. This will allow users transitioning from Safari and Camino to bring across their site passwords in addition to their Bookmarks, Preferences and other data for the optimal user experience.
We should retain the existing back end in code for Windows and Linux, and for Mac OS X 1.0 users who have established password and certificates collections. We need some heuristic for detecting whether or not Firefox is the default browser, has an established password collection etc so we can determine which back end to use.
We might also offer a hidden pref to let users toggle between the two in case the heuristic breaks down.
The integration is very simple - where we retrieve password and certificate data from our password and certificate store now, we alternate on some preference value ("use keychain") - if not, use the old way, if so, call SecKeychainFindInternetPassword to get the value.
By keeping the integration at this very low level we can minimize the impact of the changes and retain the functionality that Firefox users expect - dropdown showing choice of options (multiple options can be stored in our signons file - we just don't store the passwords and certificates there) - we can even add metadata (username/password field name attribute values) when we discover them to the signon file, which at that point just becomes a metadata storage point.
Dependencies
Two dependencies for Keychain Services integration on Mac OS X:
- the ability to open Keychain Services from Preferences (add a method or constant to nsI*ShellService)
- the ability to detect if default browser (implemented on Windows but not MacOS X) (this may prove challenging in addition since nsIShellService is a browser API, not a toolkit one where password manager lives. Maybe it should move, or become more generic)
Existing Extensions in 2009
The following password-management extensions are on addons.mozilla.org, and give some indication of what kind of features people find useful.
- Keychain Services Integration
- iMacros for Firefox Stores master password in Firefox password manager
- PwdHash 226
- PasswordMaker 525
- AI Roboform Toolbar 3615
- Password Hasher 1708
- Annoyance Remover 286
- LoginManager 568
- Secure Login 3567
- SecurePassword Generator 739
- Fire Encrypter 1166 (mainly encryption, but has a "secure password generator")
- Password Exporter 88
- SignupShield 89
- Master Password Timeout 586
- WiKID 6 (2-factor auth)
- 1passwd 35
- Passguard Login Manager 53
- Password Composer 6
- Password Finder ?
See Also
- Toolkit:Password Manager/2015
- Toolkit:Password Manager/2015/Master Password
- Toolkit:Password Manager/Debugging
- Toolkit:Password Manager/Extensions
- Toolkit:Password Manager/Feature Backlog
- Toolkit:Password Manager/Glossary
- Toolkit:Password Manager/Keychain Integration
- Toolkit:Password Manager/Password Generation
- Toolkit:Password Manager/about:logins