Re: bioctl crypto passphrase file?

2009-10-22 Thread elias r.
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

Re: bioctl crypto passphrase file?

2009-10-22 Thread Ted Unangst
On Thu, Oct 22, 2009 at 3:01 PM, elias r. obs...@crudp.ath.cx wrote: 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? As you discovered, making it read from tty makes it harder for people to put their put their

Re: bioctl crypto passphrase file?

2009-10-22 Thread Theo de Raadt
On Thu, Oct 22, 2009 at 3:01 PM, elias r. obs...@crudp.ath.cx wrote: 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? As you discovered, making it read from tty makes it harder for people to put their

Re: bioctl crypto passphrase file?

2009-10-22 Thread elias r.
Am 10/22/09 9:27 PM, schrieb Ted Unangst: On Thu, Oct 22, 2009 at 3:01 PM, elias r.obs...@crudp.ath.cx wrote: 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? As you discovered, making it read from tty makes

Re: bioctl crypto passphrase file?

2009-10-22 Thread Ted Unangst
On Thu, Oct 22, 2009 at 3:55 PM, elias r. obs...@crudp.ath.cx wrote: Am 10/22/09 9:27 PM, schrieb Ted Unangst: On Thu, Oct 22, 2009 at 3:01 PM, elias r.obs...@crudp.ath.cx wrote: thank you :) I'll update it later that day! one question: why did you choose tty over stdin? would using

Re: bioctl crypto passphrase file?

2009-10-21 Thread elias r.
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 greetings! Am 10/19/2009 04:03 PM, schrieb elias r.: Is there way to get the

Re: bioctl crypto passphrase file?

2009-10-21 Thread 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

Re: bioctl crypto passphrase file?

2009-10-21 Thread elias r.
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

Re: bioctl crypto passphrase file?

2009-10-21 Thread elias r.
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

Re: bioctl crypto passphrase file?

2009-10-21 Thread Joachim Schipper
On Wed, Oct 21, 2009 at 03:55:34PM +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

Re: bioctl crypto passphrase file?

2009-10-21 Thread elias r.
Am 10/21/2009 04:18 PM, schrieb Joachim Schipper: On Wed, Oct 21, 2009 at 03:55:34PM +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

Re: bioctl crypto passphrase file?

2009-10-21 Thread Ted Unangst
You have the source to bioctl On Wed, Oct 21, 2009 at 9:52 AM, elias r. obs...@crudp.ath.cx 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

Re: bioctl crypto passphrase file?

2009-10-21 Thread elias r.
Am 10/21/2009 04:47 PM, schrieb Ted Unangst: You have the source to bioctl On Wed, Oct 21, 2009 at 9:52 AM, elias r.obs...@crudp.ath.cx 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

Re: bioctl crypto passphrase file?

2009-10-21 Thread 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

Re: bioctl crypto passphrase file?

2009-10-21 Thread elias r.
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

Re: bioctl crypto passphrase file?

2009-10-21 Thread elias r.
Am 10/21/2009 04:47 PM, schrieb Ted Unangst: You have the source to bioctl On Wed, Oct 21, 2009 at 9:52 AM, elias r.obs...@crudp.ath.cx 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

Re: bioctl crypto passphrase file?

2009-10-21 Thread 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.

bioctl crypto passphrase file?

2009-10-19 Thread elias r.
Is there way to get the passphrase for softraid-crypto out of a file? greetings!

Re: bioctl crypto passphrase file?

2009-10-19 Thread Jacob Yocom-Piatt
elias r. wrote: Is there way to get the passphrase for softraid-crypto out of a file? greetings! do think about this: it seems to defeat the entire purpose of disk crypto to have the passphrase stored in a file, unless i'm missing something. having a 2nd factor for authentication, e.g.

Re: bioctl crypto passphrase file?

2009-10-19 Thread elias r.
Am 10/19/09 5:05 PM, schrieb Jacob Yocom-Piatt: elias r. wrote: Is there way to get the passphrase for softraid-crypto out of a file? greetings! do think about this: it seems to defeat the entire purpose of disk crypto to have the passphrase stored in a file, unless i'm missing something.

Re: bioctl crypto passphrase file?

2009-10-19 Thread elias r.
Am 10/19/09 5:05 PM, schrieb Jacob Yocom-Piatt: elias r. wrote: Is there way to get the passphrase for softraid-crypto out of a file? greetings! do think about this: it seems to defeat the entire purpose of disk crypto to have the passphrase stored in a file, unless i'm missing something.