[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GPG Config File

From: Martin Dickopp
Subject: Re: GPG Config File
Date: Wed, 11 Aug 2004 21:11:17 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

"Scott Johnson" <> writes:
> "Martin Dickopp" <> wrote in message
>> "Scott Johnson" <> writes:
>> > Can I stick the passphase in the gnupg.conf file?
>> No, that would obviously be completely insecure.  If you want to do
>> that, why do you use cryptography in the first place?  What are you
>> trying to achieve?
>> If you are sure you understand the implications, you can generate
>> a key with an empty passphrase.
> Understood.
> I'm trying to batch process file to be sent offsite.  When generating
> a sig (--detach-sig) the process stops and asks for passphrase.
> I'm new to gpg and looking for ways to automate the process.

Instead of using an empty passphrase, you could also use the
--passphrase-fd option.  This is for example used by some MUAs
which read the passphrase from the user once and then cache it.


   ,--.                                          ,= ,-_-. =.
  / ,- )    Martin Dickopp, Dresden, Germany    ((_/)o o(\_))
  \ `-'        `-'(. .)`-'
   `-.                                               \_/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]