[Bug 1332518] Re: keyscript=passdev for keyfiles via usb does not timeout
Philippe Gaucher
pg.achat at gmail.com
Fri Jun 20 14:01:35 UTC 2014
I have the same problem. I posted this question a long time ago here:
http://askubuntu.com/questions/381604/crypttab-syntax-for-luks-container-with-key-file-or-passphrase
without getting any answer. It would be safe to have a script which asks for a password if no usb key is plugged.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1332518
Title:
keyscript=passdev for keyfiles via usb does not timeout
Status in “cryptsetup” package in Ubuntu:
Confirmed
Bug description:
1.) ubuntu-release
root at ubuntu-4crypt:/var/log# lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
2.)pkg-version
root at ubuntu-4crypt:/var/log# apt-cache policy cryptsetup
cryptsetup:
Installiert: 2:1.6.1-1ubuntu1
Installationskandidat: 2:1.6.1-1ubuntu1
3.)expected
root at ubuntu-4crypt:/var/log# zless /usr/share/doc/cryptsetup/README.initramfs.gz | grep timeout
The "key" part of /etc/crypttab will be interpreted as <device>:<path>[:<timeout>],
The timeout option has to be in seconds.
After timeout cryptsetup should ask for a passphrase to unlock the
encrypted filesystem.
4.)unexpected
With my keyfile the system starts as expected; however the timeout option from the documentation has no effect at all...
Others already tried to report this, eg: https://answers.launchpad.net/ubuntu/+source/cryptsetup/+question/248155
5.)no logfiles
I can not provide logfiles, as I do not know how to log information about initramfs/upstart.
I have setup a vm to test this with lvm/sdaX_crypt.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1332518/+subscriptions
More information about the foundations-bugs
mailing list