Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2011 01:46:31 -0400
From:      grarpamp <grarpamp@gmail.com>
To:        freebsd-geom@freebsd.org
Subject:   GELI passphrase and/or key via command line or environment
Message-ID:  <CAD2Ti2-k6GtfdXBCxmk7-Bp400uwgRd-XCBKidfXxnztiuWcwQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

For both init and attach (and even elsewhere where
applicable), I'd like to be able to specify the passphrase
and key material via the command line and/or the environment.
Yes, we have -J/j and -K/k, but they only permit the use of files
or standard in. And of course standard in is not an arbitrary
file descriptor and as such is only usable once. So it cannot
be used with both jay and kay. I use both jay and kay, and want
to do so programmatically without blocking on keyboard input.
In the current implementation, I cannot achieve this.

I'm well aware of all security implications of command line
and environment usage.

Please offer your consideration of this feature request :)
Thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD2Ti2-k6GtfdXBCxmk7-Bp400uwgRd-XCBKidfXxnztiuWcwQ>