Leigh S. Jones
Mon May 13 07:39:02 2002
There are a few easy answers and some more
difficult ones that are available.
First, if you are using a Linux system, you can try
GnuPG Agent. It retains your password through
multiple operations, such as decryptions or
Second, if you are using a Windows system,
you can try WinPT. WinPT is an add-on
program for gpg on Windows. There may be
some practical limit to the number of files that can
be simultaneously decrypted. Probably several,
but perhaps a dozen at a time would be a risk.
Third, PGP can retain a password for a
predefined length of time.
If none of these will do the job for you, then
I've written a program in Borland C that
illustrates how to pass the password along
from a program or batch file to gpg. The
program is in the gpg-user archives, but if
you can't find it there, write me back and I'll
dig it up and send you a copy of the source
A word of caution: all of these methods have
security problems associated with them. These
methods should only be used on a single user
system. And only on a system that you have
physical control over. You'll risk
compromising your password otherwise.
----- Original Message -----
From: "deepesh pradeep chourey" <firstname.lastname@example.org>
To: "Leigh S.Jones" <email@example.com>
Sent: Sunday, May 12, 2002 9:40 PM
Subject: Re: Re: help needed!!!
> Hello Leigh,
> Thanks leigh i was able to do the installation with your help. Can
> i ask for one more favour. I wanted to automate the
> encryption/decryption process. For this i have made 2 batch files
> that has encrypt and decrypt commads in them. My encryption thing
> is working fine but the problem is with decryption. It asks for
> the passpharse, is there any way thru which we can bypass this and
> achieve total automation.
> I hope, i am clear in telling you the problem.
> Waiting for your reply,
> On Fri, 10 May 2002 Leigh S. Jones wrote :
> >GnuPG for WinNT is also known as gpg/mingw32
> >or gpg/w32 and is available at the www.gnupg.org
> >web site. It comes with the file compressed using
> >the "zip" format which is very commonly used for
> >all Microsoft operating systems.
> >If you cannot open the "zip" format, I suggest
> >going to the WinZip.com web site and obtaining
> >the evaluation version of WinZip available there.
> >Install WinZip and use it to unzip the gpg archive.
> >Place the program gpg.exe into the directory
> >"c:\winnt". Create a directory called "c:\gnupg",
> >and place a copy of gpg.exe there also.
> >Open a command prompt.: <Start> <Programs>
> ><Command Prompt>. In the command prompt
> >window type:
> >gpg --list-keys
> >When you hit return, gpg will give you an error
> >message. Again type:
> >gpg --list-keys
> >This time you should get no error message, but
> >you'll get an empty listing of keys. This tells you
> >that the key database has been created.
> >Now, if you have any PGP secret keys, old gpg
> >secret keys, etc., import them into gpg. Use
> >the command "gpg --import <filename>".
> >If you don't have any PGP secret keys, etc.,
> >then that means you'll need to create some keys
> >for yourself.
> >gpg --gen-key
> >Answer the questions. Use the default key type.
> >DSA/ElGamal. I suggest a key size of 2048.
> >You may need to add an "options" file to
> >get the performance details that you want. I
> >suggest a minimum of "openpgp". An example
> >of an options file is found in the gpg main
> >distribution gpg1.0.x.tar.gz (use WinZip to open
> >it). Match the version number you get to the
> >version number for gnupg/w32 that you have.
> >Instructions for use of gpg are available:
> >gpg --help
> >If you type "gpg" at the command prompt, you'll
> >get a message from gpg that you should go ahead
> >and type your message. That's the hard way to
> >do this. Get out of that mode by typing <ctrl>Z.
> >Create text messages that you want to encrypt in
> >notepad.exe or similar and encrypt using:
> >gpg --
> >You may wish to go to www.WinPT.org and
> >get winPT.
> >----- Original Message -----
> > From: "deepesh pradeep chourey" <firstname.lastname@example.org>
> >To: <email@example.com>
> >Sent: Thursday, May 09, 2002 10:47 PM
> >Subject: help needed!!!
> > > Hello group,
> > >
> > > I am unable to install the GnuPG for windows NT. Can anybody
> > > me with this. If you can provide me the stepwise process of
> > > installation, it would be great. Any help is appreciated.
> > >
> > > Thanks,
> > > Deepesh.
> > > _________________________________________________________
> > > Click below to visit monsterindia.com and review jobs in India
> > > Abroad
> > > http://monsterindia.rediff.com/jobs
> > >
> > >
> > > _______________________________________________
> > > Gnupg-users mailing list
> > > Gnupgfirstname.lastname@example.org
> > > http://lists.gnupg.org/mailman/listinfo/gnupg-users
> >Gnupg-users mailing list
> Click below to visit monsterindia.com and review jobs in India or