thank you :)
I'll update it later that day!

one question: why did you choose tty over stdin?
would using stdin be a security flaw?


Am 10/22/09 12:36 AM, schrieb Marco Peereboom:
It's in.

On Wed, Oct 21, 2009 at 05:24:06PM +0200, elias r. wrote:
Am 10/21/2009 05:11 PM, schrieb Marco Peereboom:
I am working on a diff that will do this right.  So hang on.

On Wed, Oct 21, 2009 at 03:52:47PM +0200, elias r. wrote:
Am 10/21/2009 03:43 PM, schrieb Alexander Hall:
elias r. wrote:
hum, nobody's got an answer?


is there maybe a way via the shell pipelining to read the passphrase
from a file and write it to stdin?

should this work?:

bioctl -c C -l /dev/wd0a softraid0<    pass.keyfile

If will by default try to read it from /dev/tty, so you need to trick it
not to.

man readpassphrase

hum, ok, that sounds logical...

do you have any suggestions how to do it?

right now, i don't have an idea how to prevent a root-priviledged
program from reading from tty...
and the flags mentioned in the man-page are all set at compile-time,
aren't they?



thanks a lot! :)

Reply via email to