DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Question on cryptsetup options
@ 2010-11-16  9:09 Vinodh Sundararajan
  2010-11-16 11:12 ` Milan Broz
  0 siblings, 1 reply; 2+ messages in thread
From: Vinodh Sundararajan @ 2010-11-16  9:09 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

Hello All,
 
I am trying to use cryptsetup as part of my porgram encrypt a block device with a randomly generated master key that I intend to encrypt (with user password) and store on the device. I see that I could use the cryptsetup option '-d' to provide the key using a file on device but I don't want to store the unencrypted key file on device. Is there an option to "stream" the key file contents as input to cryptsetup?
 
BTW, I cannot use the -y option either - I am not running these from the console but through my program. Any suggestions? If this is not supported, is there a plan to support this in the near future?
 
Thanks a ton in advance for tips/suggestions/feeback!
 
cheers
Vinodh
 
 

[-- Attachment #2: Type: text/html, Size: 1377 bytes --]

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

end of thread, other threads:[~2010-11-16 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-16  9:09 [dm-crypt] Question on cryptsetup options Vinodh Sundararajan
2010-11-16 11:12 ` Milan Broz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox