Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586360 - sys-fs/cryptsetup - dmcrypt initscript should support truecrypt device via options var
Summary: sys-fs/cryptsetup - dmcrypt initscript should support truecrypt device via op...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2016-06-19 10:02 UTC by Piotr Łyczba
Modified: 2016-06-19 11:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Łyczba 2016-06-19 10:02:47 UTC
I have tried open partition encrypted via truecrypt using 'options="--type tcrypt"' but it failed. dmcrypt initscript detects partition is luks (isLuks returns false) and uses plain mode: 'cryptsetup create' that ignores '--type' option. It looks like there is no command 'cryptsetup isTcrypt'.
Please add support for 'open --type tcrypt'.
Comment 1 Piotr Łyczba 2016-06-19 10:15:51 UTC
Please also take into account that 'cryptsetup open --type tcrypt' always prompt for passphrase even if device is encrypted via keyfile only and password is not required. Maybe initscript should use 'echo -e "" | cryptsetup open ...' for such case?