encrypting and signing a file without a passphrase
Steve Kwong
stevek@intergate.bc.ca
Sun Feb 9 23:12:02 2003
I read about --passphrase-fd n, but I do not know what value to specify for
the file descriptor. If I have a temporary file called, pswd.txt,
containing the passphrase, what value do I specify for the file descriptor,
and how will gpg know the name of the file it needs to read to get the
passphrase.
Steve
----- Original Message -----
From: "James R. Hendrick" <Jim_Hendrick@KEANE-NNE.com>
To: "'Steve Kwong'" <stevek@intergate.bc.ca>; <gnupg-users@gnupg.org>
Sent: Sunday, February 09, 2003 12:56 PM
Subject: RE: encrypting and signing a file without a passphrase
> man gpg
>
> ...
>
>
> --passphrase-fd n
> Read the passphrase from file descriptor n. If you use 0 for n, the
> passphrase will be read from stdin.
> This can only be used if only one passphrase is supplied. Don't use this
> option if you can avoid it.
>
>
> ...
>
>
>
>
> -----Original Message-----
> From: Steve Kwong [mailto:stevek@intergate.bc.ca]
> Sent: Sunday, February 09, 2003 12:43 PM
> To: gnupg-users@gnupg.org
> Subject: Fw: encrypting and signing a file without a passphrase
>
>
> Hi all,
>
> I am using version 1.2.1. Can someone help me with the following:
>
> I would like to send encrpyt and sign a file without having to enter a
> passphrase each time. I could not find a way to pass the passphrase as an
> argument to GPG. In the FAQ, there was some mention (article 4.14)
about
> a
> batch process and removing the passphrase using --edit. I tried that,
but
> when I entered:
> gpg --edit foo
>
> I had no means of editing foo.
>
> Any ideas how I can encrpyt and sign a file without having to enter my
> passphrase?
>
> Steve
> stevek@intergate.bc.ca
>
>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users