From: Igor Belyi <belyi@us...> - 2004-04-02 17:40:17
If somebody in AIDE comunity is interested, I have a python script which
do the same job as aide does. It works with AIDE database and
configuration files and report results in a similar (the same?) format.
The major differences:
1. It's a bit slower since this is an interpreter language. Plus, by
obvious reasons it does not have benefits of statically linked binary.
2. It currently does not support haval, tiger, rmd160, or gost hashing
algorithms but there's mhash's python module in development so these can
be added in future.
3. It suports only file:, stdout:, stdin:, and stderr: URLs
4. It does not hide encryption key in itself. It uses RSA private/public
key enryption based on m2crypto python module. The keys in the config
file are 'privkey' and 'pubkey'. Before files on disk verified database
signature is verified with the public key. When database is initialized
it will be signed with private key. See new '--sign' program option.
Private key can be generated with "ssh-keygen -t rsa -f privkey", or by
the pyaide.py itself: "pyaide.py --test=genkey". Public key is retrieved
from the private key (which is acctually is a pair of pub/priv) and
saved in the correct location during database signing.
If you think this script worth your attention it can be retrieved from
For RSA encryption to work you need to retrieve m2crypto python module