[Aide] Config/Database checksums

Virolainen Pablo pablo at cs.tut.fi
Tue Dec 6 14:12:54 EET 2005


On Tue, 6 Dec 2005, ?ukasz Hejnak wrote:

> Hi
> I just downloaded and compiled the current aide version,
> I wanted to use the
> --enable-forced_configmd --enable-forced_dbmd --with-confighmactype=sha1
>  --with-dbhmactype=sha
> but I can't seem to make the initial checksums.
> I tried using sha1sum and outputting it to $configfile.sha1
> but no use ;]
> also tried looking trough the source but still I have no clue
> to how generate the base config and database checksums, for the aide to
> use (that's where to put them, some file, stdin?)
> Anybody can explain this to me?

Start your config-file with
@@begin_config base-64-encoded-config-file-hash
and end it with
@@end_config

and with database (aide should generate database hash when writing the 
database. You should set db key with configure option --with-dbhmackey

@@begin_db
<lines>
@@end_db base-64-encoded-hash

Duke NEMO / C.O.M.A
alias pablo the pallo virolainen


More information about the Aide mailing list