Re: Password is a string?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is fixed in my patches, have you tried them yet?

<URL:http://www.stwing.org/~sluskyb/util-linux/>

On Thu, 14 Aug 2003 05:35:37 -0400, mike@xxxxxxxx wrote:
> I have a question regarding util-linux 2.12's handling of encryption keys.
> I would expect "mount -p0 ..." to be able to use any key I provide it,
> including one generated from /dev/urandom or a random physical token.
> However, this is not the case.  Because lomount.c uses string operations,
> bytes such as 0x00 and '\n' may not appear in a key.  This reduces the
> entropy of the key space and makes using random keys awkward (uuencode
> or something must be used and then its result must be hashed).
> 
> Why does "mount -p0 ..." use string operations?  Am I missing something here?

-- 
Ben Slusky                      | "A paranoid is simply someone
sluskyb@xxxxxxxxxxxxxx          |  in possession of all the 
sluskyb@xxxxxxxxxx              |  facts."
PGP keyID ADA44B3B              |       -Spider Jerusalem
-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux