Koozali.org: home of the SME Server

Spam GPG key problem

Offline tviles

  • *****
  • 197
  • +0/-0
Spam GPG key problem
« on: August 20, 2010, 02:45:14 AM »
I get this email each morning.
/etc/cron.daily/sa_update:

error: GPG validation failed!
The update downloaded successfully, but it was not signed with a trusted GPG key.  Instead, it was signed with the following keys:

    6C6191E3

Perhaps you need to import the channel's GPG key?  For example:

    wget http://spamassassin.apache.org/updates/GPG.KEY
    sa-update --import GPG.KEY

channel: GPG validation failed, channel failed

I putty in as root and do this
ogin as: root
root@192.168.2.144's password:
Last login: Wed Aug 18 20:01:31 2010 from pc-00249.shpw.local
[root@shpwserver ~]#     wget http://spamassassin.apache.org/updates/GPG.KEY
--19:42:43--  http://spamassassin.apache.org/updates/GPG.KEY
           => `GPG.KEY.4'
Resolving spamassassin.apache.org... 140.211.11.131
Connecting to spamassassin.apache.org|140.211.11.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,777 (4.7K)

100%[====================================>] 4,777         23.80K/s

19:42:44 (23.73 KB/s) - `GPG.KEY.4' saved [4777/4777]

[root@shpwserver ~]# sa-update --import GPG.KEY
[root@shpwserver ~]#

The next morning I get the same email again.


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Spam GPG key problem
« Reply #1 on: August 20, 2010, 03:15:54 AM »
tviles

Please search bugzilla for similar reports.
If you find none, then please lodge a new bug report detailing your problem there.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline tviles

  • *****
  • 197
  • +0/-0
Re: Spam GPG key problem
« Reply #2 on: August 20, 2010, 07:26:05 AM »
Bug 5763 shows to do this.
login as: root
root@192.168.2.144's password:
Last login: Thu Aug 19 19:42:23 2010 from pc-00249.shpw.local
[root@shpwserver ~]# /etc/e-smith/events/actions/yum-import-keys
[root@shpwserver ~]# /bin/rpm -q gpg-pubkey | wc -l
16
[root@shpwserver ~]# wget http://spamassassin.apache.org/updates/GPG.KEY
--00:21:25--  http://spamassassin.apache.org/updates/GPG.KEY
           => `GPG.KEY.5'
Resolving spamassassin.apache.org... 140.211.11.131
Connecting to spamassassin.apache.org|140.211.11.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,777 (4.7K)

100%[====================================>] 4,777         22.76K/s

00:21:25 (22.70 KB/s) - `GPG.KEY.5' saved [4777/4777]

[root@shpwserver ~]# sa-update --import GPG.KEY.5
[root@shpwserver ~]#

« Last Edit: August 20, 2010, 07:30:33 AM by tviles »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Spam GPG key problem
« Reply #3 on: August 20, 2010, 05:02:56 PM »
00:21:25 (22.70 KB/s) - `GPG.KEY.5' saved [4777/4777]

[root@shpwserver ~]# sa-update --import GPG.KEY.5
[root@shpwserver ~]#

You will only have a GPG.KEY.5 file if you already have a GPG.KEY, GPG.KEY.1, ..., GPG.KEY.4 file in the current directory.

Offline tviles

  • *****
  • 197
  • +0/-0
Re: Spam GPG key problem
« Reply #4 on: August 20, 2010, 06:31:12 PM »
Yes on the 5 file. It appears to numbers them each attempt I try. Also this is the server that can't do the four yum updates due to probably admin error of not letting yum complete awhile back. If I knew more about linux I would try to install yum utils.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Spam GPG key problem
« Reply #5 on: August 21, 2010, 12:47:11 AM »
tviles, please follows Mary's suggestion and open a ticket at Bugzilla.  Provide sufficient detail when you open you bug report to allow the Devs to do their work. This issue is unlikely to be progressed here in the forum.
Thanks
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline tviles

  • *****
  • 197
  • +0/-0
Re: Spam GPG key problem
« Reply #6 on: August 21, 2010, 01:23:11 AM »
I have a bug in for a similar problem.
http://bugs.contribs.org/show_bug.cgi?id=6127
They just use this server as a file server so no real rush.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Spam GPG key problem
« Reply #7 on: August 21, 2010, 12:15:02 PM »
Locking thread. Please provide any follow-up information on the bug number provided above. Thanks.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!