pass phrase

Chuck Robey chuckr@picnic.mat.net
Thu, 20 Jan 2000 12:33:49 -0500 (EST)


On Thu, 20 Jan 2000, Frank Tobin wrote:


> Chuck Robey, at 17:06 on Wed, 19 Jan 2000, wrote:
>
> > I was wondering about the access method used to get the pass phrase into
> > gpg. The only method allowed is via fd, which is a major pain when using
> > a script language that doesn't allow direct access to fd numbers.
>
> Please don't tell me you are using shell. Use Perl or some other
> system-level scripting language. There are modules on CPAN for
> interacting with GnuPG.
I'm not, and neither do I have choice of which tool to use. I'm using tcl (because I'm adding gpg to a working system), it doesn't let me have the fd's, and the only way out of it I have (because gpg gives me no option) is to call a shell script. That's why I was wondering why the restriction. If you know a way to pry fd's out of tcl, well, that'd be appreciated. I'm trying to see if it'd be okay to write an installable command. You know, if you don't always assume others are stupid, you might have figured that out yourself. I did give enough info above.
>
>
---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, New Year's Resolution: I | electronics, communications, and will not sphroxify gullible| signal processing. people into looking up | I run picnic.mat.net: FreeBSD-current(i386) and fictitious words in the | jaunt.mat.net : FreeBSD-current(Alpha)| dictionary. | ----------------------------------------------------------------------------