On 20/02/2009, at 10:19 PM, Brett Porter wrote:
Hi,
To make it a bit easier to remember, I added two options to the CLI
for 2.1: --enc-master-passwd and --enc-passwd; which are equivalent
to -m and -p on DefaultSecDispatcher.
For consistency with other options, it takes the password as an
option on the CLI rather than delegating to the DSD prompting.
Afterwards it terminates (like -v).
What do others think - is this the best way to configure it?
To reply to self - after talking to Benjamin and also reading the docs
I saw there was some plan to use a plugin to generate these. This
would also be useful for more general uses of the encryption, but the
reason I chose the CLI here is that you might need the passwords to
get the plugin in the first place, so this is more convenient for a
typical setup use case.
Cheers,
Brett
--
Brett Porter
br...@apache.org
http://blogs.exist.com/bporter/