Remembering old passwords (was 60-second timeout in Unix login)

Brent Chapman chapman at eris
Sat Feb 20 17:47:21 AEST 1988


In article <18174 at topaz.rutgers.edu> ron at topaz.rutgers.edu (Ron Natalie) writes:
>Remembering old passwords doesn't involve storing the passwords in the
>clear anymore than remembering the current one does.
>
>Jeez.

Ya, but you'd need to check the current password with _all_ the salts used in
the past passwords.  Assume you have 50 users who change their passwords
monthly.  After a year, you've got (potentially) 600 different salts to
encrypt the new password with and compare to the old passwords. 

Now, if I remember the results of the tests I ran several months ago
correctly, my unloaded Sun 3/280 (not exactly a wimpy machine) can
encrypt about 20 passwords a second.  That's 30 seconds to check 600
salts.  Assume that, on average, if a password is being "reused", it
will be discovered half-way through the check.  The user _still_ has to
wait 15 seconds to be told "sorry, try another password".  And _that's_
assuming you have a relatively fast, unloaded machine; I'd hate to think
what it would take on a VAX 11/750 with an average daytime load of 2.0, for
instance.

The more users you have, and the more they change their passwords, the longer
the delay gets.  What you end up providing is a strong incentive for users
to _not_ change their passwords, because it's such a pain in the ass. 

Effective security needs to be as "transparent" and easy to Joe User as
possible, otherwise Joe User will do something to make his life easier,
but that has the side effect of blowing your so-called "security" all to hell.


-Brent
--
Brent Chapman					Capital Market Technology, Inc.
Senior Programmer/Analyst			1995 University Ave., Suite 390
{lll-tis,ucbvax!cogsci}!capmkt!brent		Berkeley, CA  94704
capmkt!brent@{lll-tis.arpa,cogsci.berkeley.edu} Phone: 415/540-6400



More information about the Comp.unix.wizards mailing list