Re: Automate GPG or PGP to make an .exe




Unruh wrote:
"crypt-o-time" <adamsd3@xxxxxxxxxxxxxxxx> writes:

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?

Why in the world would you encrypt it? Anyone could then run the file and
decrypt it. This is about the most useless use of cryptography I have heard
of.


I've messed around with a few options, but haven't been able to get any
to work without human intervention.

I would hope not. I think you need to go back and think about what you
want.


Huh? He wants that "the file can be opened by the appropriate user(s)
with a shared password <<< on any XP machine".

He just wants to automate the process of typing the password at his
end, when he creates the file.

TC (MVP MSAccess)
http://tc2.atspace.com

.



Relevant Pages

  • Re: Any script to encrypt the all SPs and Views in one go
    ... you won't easily be able to tell where to add the "WITH ENCRYPTION" ... automate re-creation, because it will come back as multiple rows. ... and error to produce another script which can be run in an automated ... > or stored procs for our clients, ...
    (microsoft.public.sqlserver.programming)
  • Re: Automate GPG or PGP to make an .exe
    ... chosen symetric encryption with GPGShell or creating a Self-Decrypting ... You have to enter a one-time passphrase for symmetric encryption. ... encryption process can be fully automated? ... He just wants to automate the process of typing the password at his ...
    (sci.crypt)
  • Re: exe and ctf extraction
    ... I am curious about the encryption process. ... difficult the files would be to un-encrypt. ... Simple ways of breaking simple encryption were presented on Security ... I believe the only documentation we provide on the process is here: ...
    (comp.soft-sys.matlab)
  • Re: exe and ctf extraction
    ... Thank you so much Titius. ... I am curious about the encryption process. ... difficult the files would be to un-encrypt. ... Simple ways of breaking simple encryption were presented on Security ...
    (comp.soft-sys.matlab)
  • Re: Is OS X login password good enough?
    ... You can set FileVault on - and off again. ... But the encryption process ... with a disk image containing your whole user directory. ... There are other encryption programmes, but many of them are either snake ...
    (comp.sys.mac.system)