On 30/01/2006 Jan C. Nordholz wrote: > Hi, > > > indeed, it sounds exactly like what i'm searching for. > > > > but unfortunately it looks like cryptsetup does not have support for > > reading the password from stdin or command-line. > > ah, I see, it is using getpass(3) if no keyfile has been > specified. Hmm, after having a glance at the source code, > the easiest thing seems to patch the source to accept > a new command-line option to specify a different input fd. > The rest of the code (lib/setup.c:get_key(), most importantly) > should work without a change.
maybe then the best would be to add support for a --timeout option, instead of supporting another (insecure) input fd. > Shall I try to wrap something up? if you like, that would be great. i've not much experiences with coding c(++). ... jonas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

