Re: Entering a passphrase interactively in a runit script

From: Steve Litt <>
Date: Fri, 27 May 2016 15:00:40 -0400

On Fri, 27 May 2016 18:45:09 +0200
Laurent Bercot <> wrote:

> On 27/05/2016 18:29, Steve Litt wrote:
> > 2) Have the daemon that needs to receive the password listen on a
> > socket, and have a front end program (could be telnet) ask the
> > human for the password. This could be expanded to provide other
> > communication between the daemon and the human.
> That wouldn't work here: in the client-server model, the client is
> proactive (it initiates the connection) and the server is reactive.
> Here, you want the "server" to actively ask the user for something!

Yes, I was thinking of making it the human's responsibility to remember
to run the client. In certain situations, that might be reasonable.

Steve Litt
May 2016 featured book: Rapid Learning for the 21st Century
Received on Fri May 27 2016 - 19:00:40 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC