Package: aide
Version: 0.16-2~zg90+1
Severity: normal

Hi,

I would like to verify the database mentioned in aide output before
copying it over to the input database name. That does not seem to work:

[19/5003]mh@ivanova:~ $ ls -al /var/lib/aide/aide.db.new output.aide -rw-rw-r-- 
1 mh   mh   2,1M Apr 17 11:36 output.aide
-rw------- 1 root root  71M Apr 17 11:36 /var/lib/aide/aide.db.new
[20/5004]mh@ivanova:~ $ grep SHA512 output.aide | tail -n 1
  SHA512   : LhaYUYpxlUaOFnLffOnCyxm8gq6rwxQW
[21/5005]mh@ivanova:~ $ sudo openssl sha256 -binary /var/lib/aide/aide.db.new | 
openssl base64
rN/Af3eq+dKO6DKmpN1XOs+vpH6IQ3qFrELjhslp1Qs=
[22/5006]mh@ivanova:~ $ sudo zcat /var/lib/aide/aide.db.new | openssl sha256 
-binary | openssl base64
5uIy2b4L4ckKlzZ6o5UMlePKyKdRR8u/YhgciUQlFWg=
[23/5007]mh@ivanova:~ $ 

What am I supposed to do with aide.db.new if I want the sha256 (or other) 
checksums to match aide's own output?

Greetings
Marc

-- System Information:
Debian Release: 9.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.2-zgsrv20080 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

aide depends on no packages.

Versions of packages aide recommends:
ii  aide-common  0.16-2~zg90+1

aide suggests no packages.

-- debconf information excluded

Reply via email to