Decrypt without password...

Steve Butler sbutler@fchn.com
Wed Mar 6 22:17:02 2002


Create your own script file called gpg_decrypt and accept the file name you
want to decrypt (without the .pgp extension)

#!/bin/ksh
#gpg_decrypt

echo "my pass phrase here" | gpg --homedir /etc/gnupg/homdir --passphrase-fd
0 --no-tty --output "$1" --decrypt "$1.pgp"

NOTE:  The quotes around $1 allow the file name to contain embedded spaces.
Embedded spaces in file names seems to be natural to Windows boxes.  It
causes havoc to Unix type scripts unless you are very careful to allow for
the spaces.

Or, just change your key to not have a pass phrase at all.


-----Original Message-----
From: Nazir Najjar [mailto:nazir@itautec-philco.com.br]
Sent: Wednesday, March 06, 2002 12:39 PM
To: gnupg-users@gnupg.org
Subject: Decript without password...


Hi,

Is there a way to decript files without having to type my private
password???

I'd like to put this password as default to decript the massages cause i
want to make a script to do it by itself...

Is there a way to do it???

Thanks in advance,
Nazir.


_______________________________________________
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.