You are not logged in.

#1 2023-03-09 06:54:55

marko154
Member
Registered: 2013-08-13
Posts: 14

[solved] dm-crypt cryptkey timeout

When using

cryptkey=device:fstype:path

kernel parameter for unlocking the encrypted disk with a key on USB stick, there is a default timeout of 10s. Is there a way to change this timeout? I'd like to configure this to only check if USB disk is present then fallback to password right away. Thanks.

Last edited by marko154 (2023-03-10 06:25:47)

Offline

#2 2023-03-09 08:47:59

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [solved] dm-crypt cryptkey timeout

The rootdelay parameter, see https://man.archlinux.org/man/mkinitcpi … NVIRONMENT, is also used for the device specified in cryptkey: https://github.com/archlinux/svntogit-p … ncrypt#L16 (resolve_device doesn't actually use this second parameter, but it also uses rootdelay: https://github.com/archlinux/mkinitcpio … tions#L366 )

Offline

#3 2023-03-10 06:25:29

marko154
Member
Registered: 2013-08-13
Posts: 14

Re: [solved] dm-crypt cryptkey timeout

Thanks. I'll try that.

Offline

Board footer

Powered by FluxBB