Re: Crypto in DragonFlyBSD

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Magnus Eriksson
Date: Friday, April 2, 2010 - 4:26 pm

On Fri, 2 Apr 2010, Matthew Dillon wrote:


You mean, it would prefix the data in the stream?  (It can't be inside the 
encrypted stream if you need the salt to decrypt it.)



It would be a good idea to ask a cryptographer about any fancy 
non-standard plans.  I'm worried that any enhancements us mere mortals 
can come up with are either already well known, and incorporated in some 
good crypto algorithm, or known to weaken the crypto algorithm.



Hmm.

Right, but this still assumes that the salt / the seed for the random 
numbers generator is known by the system (stored somewhere), but kept from 
the user / attacker.  That will not help against an attacker that gains 
root and/or physical access.

(There is also an active console cracking scene, which indicates that even 
if you have very smart people, and lots of money to spend on custom 
hardware designed specifically not to give up its secrets, this is a hard 
problem.)


And if you are only guarding against non-root users, you might be able to 
acheive the same thing more simply.  The "salt" in the above description 
sounds more like a secret part of the en/decryption key; instead you might 
just pick a longer encryption key, equal to the lenghts of the two 
separate keys.  (And by the way, isn't this exactly the "trick" that made 
Windows NT passwords so bad?)


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

Messages in current thread:
Re: Crypto in DragonFlyBSD, Dmitry Stephantsov, (Wed Mar 31, 10:52 am)
Re: Crypto in DragonFlyBSD, Matthew Dillon, (Wed Mar 31, 11:11 am)
Re: Crypto in DragonFlyBSD, Magnus Eriksson, (Wed Mar 31, 12:52 pm)
Re: Crypto in DragonFlyBSD, Gleb Kurtsou, (Wed Mar 31, 4:11 pm)
Re: Crypto in DragonFlyBSD, Matthew Dillon, (Fri Apr 2, 10:57 am)
Re: Crypto in DragonFlyBSD, Magnus Eriksson, (Fri Apr 2, 4:26 pm)