Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 586360

Summary: sys-fs/cryptsetup - dmcrypt initscript should support truecrypt device via options var
Product: Gentoo Linux Reporter: Piotr Łyczba <lyzkov>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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?