[dm-crypt] piping password to cryptsetup

frodowiz frodowiz at gmail.com
Sat Sep 27 06:20:30 CEST 2014


Konstantin Bläsi <ktrackfd at ...> writes:


i just wanted to say thank you to  the replies. for some reason, possibly a
race condition?, the problem dissapeared after i wrote this original post.
seeing the replies helped me stick to the path i was on and voila!.  

echo "$pass" | cryptsetup  --cipher aes-xts-plain  --key-size 512 --hash
sha512 --iter-time 10000 --use-urandom luksFormat "$container"

works with "$container" and "$pass" defined earlier in a graphical dialog.

thanks again for all your work on this.
erik




More information about the dm-crypt mailing list