Add new key from a variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to write a script to add a new key to LUKS device /dev/sda2. As
I know, I can set the new key in a key file (for example,
new-key-file) and use the key file in the option. For example,

$ cryptsetup luksAddKey /dev/sda2 new-key-file

Can I add a new key from a variable defined in my script (for example,
$newkey) instead of using a key file?

Thanks
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt



[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux