P is for Practical | |
PerlMonks |
Re: Expect for cryptsetupby grondilu (Friar) |
on Aug 20, 2013 at 22:02 UTC ( [id://1050254]=note: print w/replies, xml ) | Need Help?? |
Do you really want/need to use Expect? Because that seems very complicated a solution, to me. There is certainly an option for cryptsetup that allows you to provide the passphrase on command-line or in a file. I've just looked at the cryptsetup man page, and I see there is a --key-file option.
In Section
Seekers of Perl Wisdom
|
|