[Twisted-Python] twistd and passphrase
l.allegrucci at gmail.com
Mon Jul 17 06:22:58 EDT 2006
Hi, I'm using twistd to run my server as a daemon (by "twistd -y
Below is a sample of my code:
application = service.Application("MyApp")
myService = MyService()
Now, app.py needs a passphrase to read its SSL key and I wish to prompt
the user to enter such passphrase. I tried getpass() but it doesn't work
because /dev/stdin is already redirected to /dev/null.
How can I ask for a passphrase using twistd?
More information about the Twisted-Python