Slightly tangential here - the present behavior is to read the
password from standard input, but that is actually bad practice on
Unix; we ought to be reading it from /dev/tty.  A long time ago I
started fixing that, on the
net.venge.monotone.read-password-from-dev-tty branch, but I never
finished it.  It was my intent to implement --passphrase-fd as part of
that work.

I don't know enough about Windows to say how it ought to work there,
nor do I know enough about what you're doing to say how this change
would affect you on Unix, but I thought you should know about it.

(Yet another idea: --passphrase-prompter=/path/to/executable; if it
needs a password it invokes that program and reads the password from
its standard output.  The program can then e.g. pop up a dialog box.)

zw


_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to