Automate GPG or PGP to make an .exe
- From: "crypt-o-time" <adamsd3@xxxxxxxxxxxxxxxx>
- Date: 28 Mar 2006 16:49:47 -0800
I'm working on writing a batchfile to be run from the XP command
prompt, to encrypt a file automatically. I need the encrypted file to
be an executable, this way, the file can be opened by the appropriate
user(s) with a shared password on any XP machine. For this reason, I've
chosen symetric encryption with GPGShell or creating a Self-Decrypting
Archive with PGP.
One switch which works with GPGShell: GPGTools /encrsfx creates an
..exe file with symetric encryption.
Here's the problem:
Running that command brings up a window that looks like this --
You have to enter a one-time passphrase for symmetric encryption.
Enter passphrase:
Is there a way to add a password into the batch file so that the
encryption process can be fully automated?
I've messed around with a few options, but haven't been able to get any
to work without human intervention.
--passphrase-fd and PGPPASSFD
look promising. Does anyone have some advice on this?
.
- Follow-Ups:
- Re: Automate GPG or PGP to make an .exe
- From: Ari Silverstein
- Re: Automate GPG or PGP to make an .exe
- From: Spencer4Hire
- Re: Automate GPG or PGP to make an .exe
- From: Unruh
- Re: Automate GPG or PGP to make an .exe
- Prev by Date: Pls help me with Twofish CBC test vectors
- Next by Date: Re: Automate GPG or PGP to make an .exe
- Previous by thread: Pls help me with Twofish CBC test vectors
- Next by thread: Re: Automate GPG or PGP to make an .exe
- Index(es):
Relevant Pages
|
|