Re: allow bioctl to read passphrase from stdin

2010-12-22 Thread Jason McIntyre
On Tue, Dec 21, 2010 at 02:22:37PM +0100, Jiri B. wrote: > On Mon, Nov 29, 2010 at 02:22:35PM -0800, Chris Kuethe wrote: > >Currently bioctl invokes readpassphrase(3) with RPP_REQUIRE_TTY, which > >means that there must be a controlling tty to read the password from. > >This diff adds an option (-s

Re: allow bioctl to read passphrase from stdin

2010-12-22 Thread Kenneth R Westerback
On Wed, Dec 22, 2010 at 11:58:50AM +0001, Jason McIntyre wrote: > On Tue, Dec 21, 2010 at 02:22:37PM +0100, Jiri B. wrote: > > On Mon, Nov 29, 2010 at 02:22:35PM -0800, Chris Kuethe wrote: > > >Currently bioctl invokes readpassphrase(3) with RPP_REQUIRE_TTY, which > > >means that there must be a co

Re: allow bioctl to read passphrase from stdin

2010-12-22 Thread Jason McIntyre
On Tue, Dec 21, 2010 at 02:22:37PM +0100, Jiri B. wrote: > On Mon, Nov 29, 2010 at 02:22:35PM -0800, Chris Kuethe wrote: > >Currently bioctl invokes readpassphrase(3) with RPP_REQUIRE_TTY, which > >means that there must be a controlling tty to read the password from. > >This diff adds an option (-s

Re: allow bioctl to read passphrase from stdin

2010-12-21 Thread Jiri B.
On Mon, Nov 29, 2010 at 02:22:35PM -0800, Chris Kuethe wrote: >Currently bioctl invokes readpassphrase(3) with RPP_REQUIRE_TTY, which >means that there must be a controlling tty to read the password from. >This diff adds an option (-s) to force bioctl to read the passphrase >from stdin. Without thi

Re: allow bioctl to read passphrase from stdin

2010-11-30 Thread Marco Peereboom
I changed my mind. I did talk with jsing and deraadt about the bioctl follow on but haven't gotten to it yet. On Tue, Nov 30, 2010 at 11:20:53AM -0500, Ted Unangst wrote: > err, the last time this came up you said you would do it right... :) > > http://marc.info/?l=openbsd-misc&m=125613898224309

Re: allow bioctl to read passphrase from stdin

2010-11-30 Thread Chris Kuethe
On Tue, Nov 30, 2010 at 12:51 AM, Joachim Schipper wrote: > In short, what's the use? Network unlocks. I don't want to have to wander over to my colo facility after every reboot, and plug in a disk every time, and I also don't want to have to log in and run bioctl by hand for every volume. --

Re: allow bioctl to read passphrase from stdin

2010-11-30 Thread Ted Unangst
err, the last time this came up you said you would do it right... :) http://marc.info/?l=openbsd-misc&m=125613898224309&w=2 On Tue, Nov 30, 2010 at 5:16 AM, Marco Peereboom wrote: > I like this. > > On Mon, Nov 29, 2010 at 02:22:35PM -0800, Chris Kuethe wrote: >> Currently bioctl invokes readpas

Re: allow bioctl to read passphrase from stdin

2010-11-30 Thread Marco Peereboom
I like this. On Mon, Nov 29, 2010 at 02:22:35PM -0800, Chris Kuethe wrote: > Currently bioctl invokes readpassphrase(3) with RPP_REQUIRE_TTY, which > means that there must be a controlling tty to read the password from. > This diff adds an option (-s) to force bioctl to read the passphrase > from

Re: allow bioctl to read passphrase from stdin

2010-11-30 Thread Joachim Schipper
On Mon, Nov 29, 2010 at 02:22:35PM -0800, Chris Kuethe wrote: > Currently bioctl invokes readpassphrase(3) with RPP_REQUIRE_TTY, which > means that there must be a controlling tty to read the password from. > This diff adds an option (-s) to force bioctl to read the passphrase > from stdin. Without

allow bioctl to read passphrase from stdin

2010-11-29 Thread Chris Kuethe
Currently bioctl invokes readpassphrase(3) with RPP_REQUIRE_TTY, which means that there must be a controlling tty to read the password from. This diff adds an option (-s) to force bioctl to read the passphrase from stdin. Without this option existing behavior is maintained. Index: bioctl.8 ===