At 01:32 PM 3/14/2004, Hallvard B Furuseth wrote:
I'd like to see a section like the following in Authmeth, to help people
decide which authentication methods to support and what password
security to expect.
Are you trying to help implementor to decide which mechanisms
to support, or help deployers to decide which mechanisms to
use? I gather the latter.
I would rather this focus more on the former (as our primary
audience is implementors of LDAP). In particular, it could
note that while DIGEST-MD5 is specifically designed to allow
storage of a realm-specific but password-equivalent hash of
the password. Servers implementing simple DN/password mechanism
in addition to DIGEST-MD5, have three basic choices:
1) use the DIGEST-MD5 hash to verify the simple password;
2) store the actual password: generating the DIGEST-MD5
hash as needed, using it directly for simple password; or
3) store both the DIGEST-MD5 hash and a separate hash
of the password for use in verifying the simple password.
It might be useful to briefly describe the trade-offs.
1) doesn't work to well if you also need to support
a mechanism that require another hash of the password, but
if you're only supporting DIGEST-MD5 and simple (and PLAIN),
1) seems better than 2).
2) is appropriate where a server needs to support multiple
authentication mechanisms which either require knowledge
of the password, or differing hashes of the password.
3) doesn't scale well to multiple mechanisms... only is as
strong as weakest hash, but even less due to added complexity.