Re: slower logins

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joachim Schipper
Date: Thursday, December 16, 2010 - 2:35 am

On Wed, Dec 15, 2010 at 09:42:52PM -0700, Bob Beck wrote:

Why not? An attacker can, after all, brute-force your password on a
machine of his choice. Silently decreasing the number of rounds on older
architectures surprises the user in a way that can lead to password
compromise ("My password was brute-forced because I used it on a sparc?!
I would have been fine on amd64? Huh? What happened to 'secure by
default'?!")

One *could* consider using a memory- instead of CPU-bound function to
calculate the password hash. Since, historically, memory access times
have increased less than effective CPU speeds, this may give decent
security without penalizing old machines quite as much.

Colin Percival (FreeBSD security officer) has proposed scrypt
(security/scrypt; BSD license), which is supposed to be both memory- and
CPU-bound. Perhaps you could do some test runs on your sparc to see if
the above theory actually holds up? (Leaving open the question of
whether OpenBSD should switch - bcrypt *is* more battle-tested.)

FWIW, I've used 2^10 rounds for years and never had any problems. Then
again, I've only used machines made in the last 10 years...

		Joachim
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
slower logins, Ted Unangst, (Wed Dec 15, 8:31 pm)
Re: slower logins, Ted Unangst, (Wed Dec 15, 9:33 pm)
Re: slower logins, Bob Beck, (Wed Dec 15, 9:42 pm)
Re: slower logins, Joachim Schipper, (Thu Dec 16, 2:35 am)
Re: slower logins, Mike Belopuhov, (Thu Dec 16, 5:38 am)
Re: slower logins, Ted Unangst, (Thu Dec 16, 6:46 am)
Re: slower logins, Bob Beck, (Thu Dec 16, 8:14 am)
Re: slower logins, Bob Beck, (Thu Dec 16, 8:15 am)
Re: slower logins, Joachim Schipper, (Thu Dec 16, 9:29 am)
Re: slower logins, Ted Unangst, (Thu Dec 16, 9:39 am)