Also fixed the 2 verification tests
"bash clamav-unofficial-sigs.sh --gpg-verify scam.ndb"
"bash clamav-unofficial-sigs.sh --test-database sanesecurity.ftm"
__________________________________. https://eXtremeSHOK.com ;
.__________________________________
On 14-May-16 7:37 AM, James Brown (Redacted sender jlbrown for DMARC) wrote:
All working now:
Clamscan reports Sanesecurity bofhland_phishing_URL.ndb database
integrity tested good
Successfully updated Sanesecurity production database file:
bofhland_phishing_URL.ndb
Testing updated Sanesecurity database file: bofhland_malware_attach.hdb
Sanesecurity GPG Signature tested good on bofhland_malware_attach.hdb
database
Thanks!
James.
On 12 May 2016, at 11:57 PM, admin-at-extremeshok-dot-com
<admin@xxxxxxxxxxxxxxx <mailto:admin@xxxxxxxxxxxxxxx>> wrote:
Apparently I have a logic error which was not caught by travis-ci
I will push an update in the next few hours.
__________________________________. https://eXtremeSHOK.com ;
.__________________________________
On 12-May-16 3:34 PM, Axel Zöllich wrote:
I've got some problems in setting up clamav-unofficial-sigs.
The GPG Test are failing:
--------
root@zeus:~# bash -x /usr/local/bin/clamav-unofficial-sigs.sh 2> clamav-
unofficial-sigs.sh.bash-x
################################################################################
eXtremeSHOK.com <http://extremeshok.com> ClamAV Unofficial Signature
Updater
Version: v5.3.0 (07 May 2016)
Required Configuration Version: v65
Copyright (c) Adrian Jon Kriel :: admin@xxxxxxxxxxxxxxx
################################################################################
=======================================================
Loading config: /etc/clamav-unofficial-sigs/master.conf
=======================================================
===================================================
Loading config: /etc/clamav-unofficial-sigs/os.conf
===================================================
=====================================================
Loading config: /etc/clamav-unofficial-sigs/user.conf
=====================================================
===================
Preparing Databases
===================
Notice: Yararules Disabled due to clamav being older than the minimum
required
version
==================================================
Sanesecurity Database & GPG Signature File Updates
==================================================
Sanesecurity mirror site used: mail.espmail.co.uk
<http://mail.espmail.co.uk> 95.154.208.105
receiving file list ...
54 files to consider
sent 34 bytes received 1860 bytes 1262.67 bytes/sec
total size is 24759780 speedup is 13072.75
Testing updated Sanesecurity database file: jurlbl.ndb
Sanesecurity GPG Signature test FAILED on jurlbl.ndb database - SKIPPING
Testing updated Sanesecurity database file: rogue.hdb
Sanesecurity GPG Signature test FAILED on rogue.hdb database - SKIPPING
Testing updated Sanesecurity database file: blurl.ndb
Sanesecurity GPG Signature test FAILED on blurl.ndb database - SKIPPING
Testing updated Sanesecurity database file: foxhole_filename.cdb
Sanesecurity GPG Signature test FAILED on foxhole_filename.cdb database -
SKIPPING
Testing updated Sanesecurity database file: winnow_malware.hdb
Sanesecurity GPG Signature test FAILED on winnow_malware.hdb database -
SKIPPING
Testing updated Sanesecurity database file: winnow_malware_links.ndb
Sanesecurity GPG Signature test FAILED on winnow_malware_links.ndb database
-
SKIPPING
Testing updated Sanesecurity database file: winnow_extended_malware.hdb
Sanesecurity GPG Signature test FAILED on winnow_extended_malware.hdb
database
- SKIPPING
Testing updated Sanesecurity database file: bofhland_cracked_URL.ndb
Sanesecurity GPG Signature test FAILED on bofhland_cracked_URL.ndb database
-
SKIPPING
Testing updated Sanesecurity database file: bofhland_malware_URL.ndb
Sanesecurity GPG Signature test FAILED on bofhland_malware_URL.ndb database
-
SKIPPING
Testing updated Sanesecurity database file: bofhland_phishing_URL.ndb
Sanesecurity GPG Signature test FAILED on bofhland_phishing_URL.ndb
database -
SKIPPING
Testing updated Sanesecurity database file: crdfam.clamav.hdb
Sanesecurity GPG Signature test FAILED on crdfam.clamav.hdb database -
SKIPPING
Testing updated Sanesecurity database file: porcupine.ndb
Sanesecurity GPG Signature test FAILED on porcupine.ndb database - SKIPPING
Testing updated Sanesecurity database file: phishtank.ndb
Sanesecurity GPG Signature test FAILED on phishtank.ndb database - SKIPPING
Testing updated Sanesecurity database file: porcupine.hsb
Sanesecurity GPG Signature test FAILED on porcupine.hsb database - SKIPPING
-------------------------------------------
No Sanesecurity database file updates found
-------------------------------------------
-------
bash -x gives me:
+ /usr/bin/gpg --trust-model always -q --no-default-keyring --homedir
/var/lib/clamav-unofficial-sigs/gpg-key --keyring
/var/lib/clamav-unofficial-
sigs/gpg-key/ss-keyring.gpg --verify /var/lib/clamav-unofficial-sigs/dbs-
ss/bofhland_phishing_URL.ndb.sig /var/lib/clamav-unofficial-sigs/dbs-
ss/bofhland_phishing_URL.ndb
+ '[' '' = 0 ']'
+ xshok_pretty_echo_and_log 'Sanesecurity GPG Signature test FAILED on
bofhland_phishing_URL.ndb database - SKIPPING'
Therefor I tried the gpg command directly and it's giving no error:
root@zeus:~# /usr/bin/gpg --trust-model always -q --no-default-keyring --
homedir /var/lib/clamav-unofficial-sigs/gpg-key --keyring /var/lib/clamav-
unofficial-sigs/gpg-key/ss-keyring.gpg --verify /var/lib/clamav-unofficial-
sigs/dbs-ss/bofhland_phishing_URL.ndb.sig
/var/lib/clamav-unofficial-sigs/dbs-
ss/bofhland_phishing_URL.ndb
gpg: WARNUNG: Unsicheres Besitzverhältnis des Home-Verzeichnis
`/var/lib/clamav-unofficial-sigs/gpg-key'
gpg: Unterschrift vom Do 12 Mai 2016 01:59:23 CEST mittels DSA-Schlüssel ID
31EA4D9E
gpg: Korrekte Unterschrift von "Sanesecurity (Sanesecurity Signatures)
<steveb_clamav@xxxxxxxxxxxxxxxxxx>"
Where is my configuration/permission error?