Decrypt without password...

Brad Tilley rtilley@vt.edu
Wed Mar 6 22:55:01 2002


On Wednesday 06 March 2002 16:13, Steve Butler wrote:

Is it just me, or is this insecure? I would _never_ place my pass phrase in a 
file. Security and convenience seem to always be at odds. As for me, I'll 
take security along with inconvenience any day.

> 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.
>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users