Bug#421693: [Pkg-cryptsetup-devel] Bug#421693: timeout option does not work with keyscript/key-file

Jonas Meurer jonas at freesources.org
Wed May 2 00:56:54 UTC 2007


On 01/05/2007 Alexander Zangerl wrote:
> Package: cryptsetup
> Version: 2:1.0.4+svn26-2
> Severity: normal
> 
> The timeout option has no effect if keyscript/key-file are used,
> because line 252 in lib/setup.c directly uses read() on the file 
> descriptor. 
> 
> There is a timed_read() function which is used for 
> interactive passphrase entry, and it seems to me that it's feasible
> to use that instead of a direct read.

i'm not sure why this could be needed. upstream cryptsetup knows only
keyfiles and passphrases, keyscripts are a feature of the cryptdisks
wrapper in the debian package.

so from upstream point of view there might be no need to support a
timeout in conjunction with keyfiles.

if you use keyscripts, why don't you simply add timeout support to the
script itself?

greetings
 jonas




More information about the Pkg-cryptsetup-devel mailing list