On 14.12.20 13:04, Bowie Bailey wrote:
I am doing it this way:
sa-update --channelfile /path/to/channelfile.txt --gpgkeyfile 
/path/to/keyfile.txt

The keyfile just contains one key id per line.

how did you create this file?

I expected importing kam.sa-channels.mcgrail.com.key should put this key to
file sa-update uses by default
- what other point would the import have?


Of course, you have to import the keys into sa-update before it will work.


On 12/12/2020 9:31 PM, Kevin A. McGrail wrote:
You appear to have two channel keys updating on the same sa update which I'm not sure can be done.

On Sat, Dec 12, 2020, 21:07 Chris <chris.pollock1...@gmail.com <mailto:chris.pollock1...@gmail.com>> wrote:

   I've downloaded and imported the gpg key per instructions here
   https://mcgrail.com/template/kam.cf_channel
   <https://mcgrail.com/template/kam.cf_channel>

   The command I run for updates is:

   /usr/bin/sa-update -v  --channelfile /etc/mail/spamassassin/sare-sa-
   update-channels.txt --gpgkey 6C6191E3 --gpgkey 24C063D8 &&
   /etc/init.d/spamassassin restart

   What I'm getting for output of the cronjob is:

   Update available for channel kam.sa-channels.mcgrail.com
   <http://kam.sa-channels.mcgrail.com>: -1 ->
   1607355384
   http: (curl) GET http://sa-update-kam.snb.it/1607355384.tar.gz
   <http://sa-update-kam.snb.it/1607355384.tar.gz>, success
   http: (curl) GET http://sa-update-kam.snb.it/1607355384.tar.gz.sha512
   <http://sa-update-kam.snb.it/1607355384.tar.gz.sha512>,
   success
   http: (curl) GET http://sa-update-kam.snb.it/1607355384.tar.gz.asc
   <http://sa-update-kam.snb.it/1607355384.tar.gz.asc>,
   success
   error: GPG validation failed!
   The update downloaded successfully, but the GPG signature verification
   failed.
   channel 'kam.sa-channels.mcgrail.com <http://kam.sa-channels.mcgrail.com>': 
GPG
   validation failed, channel
   failed
   Update failed, exiting with code 4

   This is Ubuntu 20.04.1 LTS Spamassassin
   spamassassin -V
   SpamAssassin version 3.4.4
     running on Perl version 5.30.0

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
A day without sunshine is like, night.

Reply via email to