Your message dated Sun, 17 Feb 2019 14:48:57 +0100
with message-id <[email protected]>
and subject line Re: Bug#895927: sha256 checksum of output database not 
reproducible with command line tools
has caused the Debian Bug report #895927,
regarding sha256 checksum of output database not reproducible with command line 
tools
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
895927: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895927
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
> First please note that the checksums in the report are wrapped to
> multiple lines. Apart from that you seem to grep for sha512 checksum in
> the output of AIDE but compute the sha256 checksum of the database file.

... and I didn't even take the checksum from the uncompressed data. So
this was stupid threefold and of course it has always worked if you do
it right.

> If that solves your issue please close this bug report.

Doing so.

Greetings
Marc

--- End Message ---

Reply via email to