monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] --non-interactive: run in non-interactive


From: Zack Weinberg
Subject: Re: [Monotone-devel] --non-interactive: run in non-interactive
Date: Thu, 31 Jan 2008 09:32:50 -0500

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]