gnu-misc-discuss
[Top][All Lists]
Advanced

[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" <s.s@s.com> writes:
> "Martin Dickopp" <expires-2004-09-30@zero-based.org> wrote in message
> cunr7qdbkcq.fsf@zero-based.org">news:cunr7qdbkcq.fsf@zero-based.org...
>> "Scott Johnson" <s.s@s.com> 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


-- 
   ,--.                                          ,= ,-_-. =.
  / ,- )    Martin Dickopp, Dresden, Germany    ((_/)o o(\_))
  \ `-'        http://www.zero-based.org/        `-'(. .)`-'
   `-.                                               \_/

reply via email to

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