You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Fred Tarasevicius <te...@i-is.com> on 2006/03/13 21:58:21 UTC

Trouble with sa-update on win32

Hello dev list,
  I'm trying to test out the sa-udpate tool on WinXP and it's failing
  with fatal: couldn't find GPG in $PATH

  Here's a debug output:

E:\Program Files\Perl\Mail-SpamAssassin-3.1.1>sa-update -D
[3440] dbg: logger: adding facilities: all
[3440] dbg: logger: logging level is DBG
[3440] dbg: generic: SpamAssassin version 3.1.1
[3440] dbg: config: score set 0 chosen.
[3440] dbg: util: defining getpwuid() wrapper using 'unknown' as username
[3440] dbg: dns: is Net::DNS::Resolver available? yes
[3440] dbg: dns: Net::DNS version: 0.55
[3440] dbg: generic: sa-update version svn384884
[3440] dbg: generic: using update directory: E:\Progra~1\Perl\site/var/spamassas
sin/3.001001
[3440] dbg: diag: perl platform: 5.008007 MSWin32
[3440] dbg: diag: module installed: Digest::SHA1, version 2.10
[3440] dbg: diag: module installed: DB_File, version 1.814
[3440] dbg: diag: module installed: HTML::Parser, version 3.46
[3440] dbg: diag: module installed: MIME::Base64, version 3.05
[3440] dbg: diag: module installed: Net::DNS, version 0.55
[3440] dbg: diag: module installed: Net::SMTP, version 2.29
[3440] dbg: diag: module installed: Mail::SPF::Query, version 1.998
[3440] dbg: diag: module installed: IP::Country::Fast, version 309.002
[3440] dbg: diag: module not installed: Razor2::Client::Agent ('require' failed)

[3440] dbg: diag: module not installed: Net::Ident ('require' failed)
[3440] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed)
[3440] dbg: diag: module not installed: IO::Socket::SSL ('require' failed)
[3440] dbg: diag: module installed: Time::HiRes, version 1.76
[3440] dbg: diag: module installed: DBI, version 1.49
[3440] dbg: diag: module installed: Getopt::Long, version 2.34
[3440] dbg: diag: module installed: LWP::UserAgent, version 2.033
[3440] dbg: diag: module installed: HTTP::Date, version 1.46
[3440] dbg: diag: module installed: Archive::Tar, version 1.26_01
[3440] dbg: diag: module installed: IO::Zlib, version 1.04
sa-update: importing default keyring to 'E:\Progra~1\Perl\site\etc\mail\spamassa
ssin\\sa-update-keys'...
[3440] dbg: gpg: Searching for 'gpg' in E:\Progra~1\Perl\bin\;C:\WINDOWS\system3
2;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\T
ools\BINN
fatal: couldn't find GPG in $PATH

E:\Program Files\Perl\Mail-SpamAssassin-3.1.1>  
  


SpamAssassin version 3.1.1
  running on Perl version 5.8.7


  After reading through the doc's it seems like GPG is optional but it
  doesn't appear to be acting this way.
  
-- 
Best regards,
 Fred                          mailto:tech2@i-is.com


Re: Trouble with sa-update on win32

Posted by Theo Van Dinter <fe...@apache.org>.
On Mon, Mar 13, 2006 at 03:58:21PM -0500, Fred Tarasevicius wrote:
> Hello dev list,
>   I'm trying to test out the sa-udpate tool on WinXP and it's failing
>   with fatal: couldn't find GPG in $PATH

Hey Fred.

>   After reading through the doc's it seems like GPG is optional but it
>   doesn't appear to be acting this way.

According to the docs:
       --gpg, --nogpg
           sa-update by default will verify update archives by use of a SHA1
           checksum and GPG signature.  SHA1 hashes can verify whether or not
           the downloaded archive has been corrupted, but it does not offer
           any form of security regarding whether or not the downloaded ar-
           chive is legitimate (aka: non-modifed by evildoers).  GPG verifica-
           tion of the archive is used to solve that problem.

           If you wish to skip GPG verification, you can use the --nogpg
           option to disable its use.  Use of the following gpgkey-related
           options will override --nogpg and keep GPG verification enabled.

-- 
Randomly Generated Tagline:
Come here, you little raven!
 
 		-- Homer Simpson
 		   Treehouse of Horror

Re: Trouble with sa-update on win32

Posted by Theo Van Dinter <fe...@apache.org>.
On Mon, Mar 13, 2006 at 04:09:32PM -0500, Fred Tarasevicius wrote:
> sa-update --help should include --nogpg in the listing.

Are you sure you're using the 3.1.1 sa-update?

         --gpg and --nogpg             Use (or do not use) GPG to verify updates
                                       (--gpg is assumed by use of the above
                                       --gpgkey and --gpgkeyfile options)

-- 
Randomly Generated Tagline:
"There's not much you can do to ruin strips of marinated boneless chicken
 breast sauteed with onions and green peppers."
   - the Center for Science in the Public Interest about Chicken Fajitas

Re: Trouble with sa-update on win32

Posted by Fred Tarasevicius <te...@i-is.com>.
Hello Fred,

Monday, March 13, 2006, 3:58:21 PM, you wrote:

> Hello dev list,
>   I'm trying to test out the sa-udpate tool on WinXP and it's failing
>   with fatal: couldn't find GPG in $PATH

I found the --nogpg option, it wasn't in the options output, I had to
read the entire sa-udpdate pod file to find it listed near the bottom.

sa-update --help should include --nogpg in the listing.