Password as an option

Steve Butler sbutler@fchn.com
Tue Jan 15 00:30:02 2002


You could cat or type the file contents via a pipe if you want to put the
phrase in a file rather than have them in the bat files.

Since we are moving from a 1024 bit key to a 2048 bit key, I built a script
that would obtain the appropriate pass phrase and set it to $STDLIST.  The
output is then piped to gpg just like the output from echo.

--Steve

-----Original Message-----
From: Booterbaugh, Nancy A. [mailto:Nancy.Booterbaugh@unisys.com]
Sent: Monday, January 14, 2002 2:50 PM
To: Ryan Malayter
Cc: gnupg-users@gnupg.org
Subject: RE: Password as an option


Thanks!  I guess I was looking for a way to feed passphrase a file name.
The echo does work.

Nancy A. Booterbaugh
nancy.booterbaugh@unisys.com

-----Original Message-----
From: Ryan Malayter [mailto:rmalayter@bai.org]
Sent: Monday, January 14, 2002 4:48 PM
To: 'Booterbaugh, Nancy A.'
Subject: RE: Password as an option


The information you seek is in the gpg.man documentation file tha tcomes
with GnuPG:

echo passphrase|gpg --batch --yes --passphrase-fd 0 --symmetric FILENAME

:::Ryan Malayter, MCSE
:::Bank Administration Institute
:::Chicago, Illinois, USA


> -----Original Message-----
> From: Booterbaugh, Nancy A. [mailto:Nancy.Booterbaugh@unisys.com] 
> Sent: Monday, January 14, 2002 3:25 PM
> To: Frank Tobin; Daniel Siegers
> Cc: gnupg-users@gnupg.org
> Subject: RE: Password as an option
> 
> 
> Can someone tell me how to use the passphrase-fd option on 
> Windows 2000?  I am trying to convert from PGP to GPG, and I 
> need the syntax in GPG to do the
> following:
> 
> pgp.exe "C:\filename.pgp" +BATCHMODE +FORCE +VERBOSE=0 -z "passphrase"
> >>%logfile% 2>&1
> 
> How do I set up a file descriptor from my file name within a bat file?
> 
> Thanks!
> Nancy A. Booterbaugh
> nancy.booterbaugh@unisys.com
> 
> -----Original Message-----
> From: Frank Tobin [mailto:ftobin@neverending.org]
> Sent: Monday, January 14, 2002 11:16 AM
> To: Daniel Siegers
> Cc: gnupg-users@gnupg.org
> Subject: Re: Password as an option
> 
> 
> Daniel Siegers, at 11:55 +0100 on 2002-01-14, wrote:
> 
> > is it possible to give gnupg the passwort for the signiture as an 
> > option
> 
> Nope.  Please look into using the passphrase-fd option.
> 
> -- 
> Frank Tobin		http://www.neverending.org/~ftobin/
> 
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org 
> http://lists.gnupg.org/mailman/listinfo/gnupg-> users
> 
> 
> _______________________________________________
> 
> Gnupg-users mailing list
> Gnupg-users@gnupg.org 
> http://lists.gnupg.org/mailman/listinfo/gnupg-> users
> 

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

CONFIDENTIALITY NOTICE:  This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.