[LUNI] Re: [lula] PASSPHRASE echoing to pgp/gpg

From: Michael Elkins (me@sigpipe.org)
Date: Mon Mar 26 2001 - 14:10:47 CST

  • Next message: Christopher Smith: "[LUNI] Re: [lula] PASSPHRASE echoing to pgp/gpg"

    On Mon, Mar 26, 2001 at 11:39:50AM -0800, Jason Helfman wrote:
    > We are using PGP in a protected enterprise environment and need to do
    > this. We have 1000's of files coming in daily that need to be decrypted.
    >
    > Say what you will about protected enterprise environment...
    > I think I found my answer around the FAQ.

    Older versions of PGP consult the PGPPASSFD environment variable. So you
    can do things like:

            export PGPPASSFD=0; echo "my password" | pgp <file>

    with gpg its
            echo "my password"; gpg --passphrase-fd 0 <file>

    me
    -=-
    Linux Users Of Northern Illinois: General Discussion Mailing list.
    For unsubscription, archives, and announcements only see http://luni.org



    This archive was generated by hypermail 2b29 : Mon Mar 26 2001 - 14:14:43 CST

  •