[Pkg-cryptsetup-devel] Bug#423102: cryptsetup: sorts crypttab before processing it

Joerg Jaspert joerg at ganneff.de
Wed May 9 19:38:55 UTC 2007


Package: cryptsetup
Version: 2:1.0.4+svn29-1
Severity: important

Hi

next thing I think is wrong - it seems to sort etc/crypttab before
processing the entries in it. Consider a tab like the following:

swap1 device random swap
cfoo device none luks,tries=3
cbar device none luks,tries=3
swap2 device random swap
cfoobar device none luks,tries=3
swap3 device random swap

(Of course use real entries for devices).

In theory that should get first swap1, then cfoo and cbar, then swap2
followed by cfoobar and swap3 done.

In practice it goes and does swap1, swap2, swap3 and then the "normal"
devices.

Advantage of not sorting swap first but doing strictly in order crypttab
is written - if you have multiple devices using dev/random as input you
need a lot of entropy. You get that by typing stuff - like passphrases
for other cryptodevices.

-- 
bye Joerg
In dem allseits bekannten Land, wo die Intelligenz von einer
staatlichen Central-Agentur verwaltet und anscheinend so stark
rationiert wird, dass selbst der Präsident kaum was ab bekommen hat, [..]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 250 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20070509/8a24a9bd/attachment.pgp


More information about the Pkg-cryptsetup-devel mailing list