Gentoo Archives: gentoo-user

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: scripted iptables-restore
Date: Mon, 14 Oct 2013 19:17:43
Message-Id: 525C434C.8040905@orlitzky.com
In Reply to: [gentoo-user] Re: scripted iptables-restore by Martin Vaeth
1 On 10/14/2013 02:49 PM, Martin Vaeth wrote:
2 >
3 >> Hiding the salt would just be security through obscurity.
4 >
5 > And yet it is stupid if you do not do it and give away a
6 > huge constant factor for no advantage.
7 >
8
9 (I'll just agree to disagree about the rest.)
10
11 Keeping the salt secret makes your application more complex. Rather than
12 "SELECT hash, salt FROM users WHERE...", you now have to "SELECT hash
13 FROM users WHERE..." and then pull the salt from somewhere else. (Where?
14 The filesystem? Do you encrypt that? How?)
15
16 What's stupid is going to all that effort for a 2x improvement when you
17 could twiddle a bit and get a 340282366920938463463374607431768211456x
18 improvement.

Replies

Subject Author
Re: [gentoo-user] Re: scripted iptables-restore Alan McKinnon <alan.mckinnon@×××××.com>