[Pkg-cryptsetup-devel] Bug#421693: timeout option does not work
	with keyscript/key-file
    Alexander Zangerl 
    az at debian.org
       
    Tue May  1 02:22:02 UTC 2007
    
    
  
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.
regards
az
-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (980, 'testing'), (970, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.7
Locale: LANG=C, LC_CTYPE=de_AT (charmap=ISO-8859-1)
Versions of packages cryptsetup depends on:
ii  dmsetup  2:1.02.08-1                     The Linux Kernel Device Mapper use
ii  libc6    2.3.6.ds1-13                    GNU C Library: Shared libraries
ii  libdevma 2:1.02.08-1                     The Linux Kernel Device Mapper use
ii  libgcryp 1.2.3-2                         LGPL Crypto library - runtime libr
ii  libgpg-e 1.4-1                           library for common error values an
ii  libpopt0 1.10-3                          lib for parsing cmdline parameters
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-2 universally unique id library
cryptsetup recommends no packages.
-- no debconf information
    
    
More information about the Pkg-cryptsetup-devel
mailing list