New answers tagged disk-encryption
0
votes
Passing luks passphrase to unlock encrypted rootfs with script instead of passing from the terminal
If you are working in a Bash shell, you can use a Bash here-string, with the <<< operator, as follows:
cryptsetup luksOpen /dev/sda1 map_name <<< 'your_passphrase'
Top 50 recent answers are included
Related Tags
disk-encryption × 514encryption × 169
linux × 96
bitlocker × 93
truecrypt × 70
windows × 52
windows-10 × 46
ubuntu × 46
luks × 46
security × 45
windows-7 × 39
hard-drive × 36
ssd × 36
partitioning × 29
veracrypt × 26
boot × 19
macos × 15
data-recovery × 15
debian × 14
passwords × 13
lvm × 12
filevault × 12
windows-8 × 11
multi-boot × 11
self-encrypting-drive × 11