[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] monotone GUI
From: |
Richard Levitte - VMS Whacker |
Subject: |
Re: [Monotone-devel] monotone GUI |
Date: |
Thu, 12 Aug 2004 22:03:31 +0200 (CEST) |
In message <address@hidden> on Wed, 11 Aug 2004 09:13:21 -0300, Carlos
Hespanhol <address@hidden> said:
hespanhol> I'm trying to make a simple GUI to use monotone and I'm
hespanhol> having some problem with the passphrase to generate the
hespanhol> keys. If I could pass the passphrase as an option like
hespanhol> --passphrase <passphrase> it would be easier, is it
hespanhol> possible?
Uhmmm, what's the problem? After all, montone reads the passphrase,
twice, from stdin. In perl, I'd do this:
open FOO,"|monotone --db=$db genkey $id" or die "$!\n";
print FOO "$pass\n$pass\n";
close FOO;
Well, OK, add some kind of wait() type thingie in the C code, and
you're done, basically...
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte address@hidden
http://richard.levitte.org/