All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Add new key from a variable
@ 2014-12-26  2:47 Jian-Ming Zheng
  2014-12-26  6:49 ` Sven Eschenberg
  0 siblings, 1 reply; 4+ messages in thread
From: Jian-Ming Zheng @ 2014-12-26  2:47 UTC (permalink / raw)
  To: dm-crypt

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-26 17:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-26  2:47 [dm-crypt] Add new key from a variable Jian-Ming Zheng
2014-12-26  6:49 ` Sven Eschenberg
2014-12-26 16:51   ` Arno Wagner
2014-12-26 17:09     ` Sven Eschenberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.