Gpgverify assumes wrong default gnupg setup (with patch)

Toon van der Pas toon at hout.vanvergehaald.nl
Sat Feb 28 20:59:11 UTC 2004


On Sat, Feb 28, 2004 at 09:13:10PM +0100, Marco d'Itri wrote:
> On Feb 28, Toon van der Pas <toon at hout.vanvergehaald.nl> wrote:
> 
>  >Why do you prefer to force the user in changing the gnupg setup?
> 
> Because for some systems ~news may not be a good place to store
> configuration files, while $pathetc/pgp/ has been used for a long time.
> If you feel this is a problem you can just create a symlink.

Check.
But then the INSTALL text should be changed to reflect the fact
that it doesn't work with the default pgp and gnupg setups.
Right now it states that the default location WILL work.

And the pgpverify manpage needs some attention as well:

   By default, when running as part of INN, pgpverify expects the
   PGP key ring to be found in pathetc/pgp (as either pubring.pgp
   or pubring.gpg depending on whether PGP or GnuPG is used to
   verify signatures).  If that directory doesn't exist, it will
   fall back on using the default key ring, which is in a .pgp or
   .gnupg subdirectory of the running user's home directory.

It doesn't fall back at all.

Regards,
Toon.

BTW: Does gnupg accept a symlink? Hmm... I'll have to find out.

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan


More information about the inn-workers mailing list