[Pkg-cryptsetup-devel] Bug#487245: Bug#487245: cryptsetup: tries and tiemout should be passed as arguments to the keyscript

David Härdeman david at hardeman.nu
Sun Jun 22 22:46:00 UTC 2008


On Fri, Jun 20, 2008 at 04:32:21PM +0200, Christoph Anton Mitterer wrote:
>The tries and timeout parameters from /etc/crypttab should be passed as
>2nd and 3rd parameter to the keyscript (in both,... normal startup and
>the initrd-scripts).

No, they should not. The moment you expect keyscripts to handle tries 
you've broken askpass as it can't know if an passphrase is correct or 
not. You also risk breaking any other scripts in a similar fashion.

Also, for timeout I fail to see the point. crypt devices fall into two 
categories, those that are necessary to boot (here a timeout makes no 
sense) and those which aren't (here you'd normally start the mapping 
yourself while sitting at the console so you can decide when and if to 
cancel the setup attempt).

Unless any surprising arguments are presented I intend to close this 
bug.

-- 
David Härdeman





More information about the Pkg-cryptsetup-devel mailing list