GnuPG support for pgpverify

Marco d'Itri md at Linux.IT
Wed May 9 13:05:38 UTC 2001


On May 09, Russ Allbery <rra at stanford.edu> wrote:

 >> I think it's confusing, gpgv has a very different API than the usual pgp
 >> or gpg commands, so I really think it should have his own variable name.
 >Yeah, you're probably right and I was being lazy.  Okay, I'll make that
 >change.
Another reason to have a different variable is that gpgv is used also by
perl-nocem, which I still have to polish and submit for inclusion in the
next release.

 >>> +if (! $keyring && $inn'newsetc) {
 >>> +  $keyring = $inn'newsetc . '/pgp' if -d $inn'newsetc . '/pgp';
 >>> +}
 >
 >> This is bad, please revert it to the original code:
 >
 >I can't use the original code since it would set the PGP key ring for PGP
 >to pubring.gpg, but I have now modified the GnuPG sub to set the keyring
 >to a plain 'pubring.gpg' if $keyring isn't set.  That should do the same.
Then I think using pubring.pgp for both programs would be an even better
solution.

-- 
ciao,
Marco


More information about the inn-workers mailing list