back

NAME

dbtool - a tool for storing key/value pairs in a hash database

SYNOPSIS

dbtool -d database [DirusSfwVhtRFpP] [-k key] [-v value]

DESCRIPTION

This manual page documents the program dbtool. dbtool can be used to store and retrieve data in a key/value format in a hash database. Perl compatible regular expressions are supported both for storing and retrieving of data. It's main advantages are the ability to maintain huge amounts of data and speed.

OPTIONS

EXPRESSIONS

Regular expressions are provided using the PCRE Library. It supports most of the features which perl provides. See the section DIFFERENCES FROM PERL in the PCRE manpage. You can also take a look to the perl regular expression man page with the following command:

perldoc perlre

(which requires perl to be installed).

ENCRYPTION

As of version 1.4 dbtool supports encrypted databases. See the descriptions of the options -p and -. The algorithm used for encryption is Rijndael block cipher encryption.

dbtool does not use the passphrase which the user supplies. It uses instead the MD5 digest of the passphrase as the encryption key.

Please note, that dbtool itself does not distinguish between encrypted or unencrypted databases. That means, you will get strange results if you try to access an encrypted database without the options -p or - being set.

dbtool by default will only encrypt the values of a database, not the keys. This might change in future versions.

EXAMPLES

REPORTING BUGS

Report bugs on https://github.com/tlinden/dbtool/issues or mail to .

COPYRIGHT

Copyright (c) 2000-2015 T.v.Dein This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

AVAILABILITY

dbtool can be downloaded from /projects/dbtool/download/.

AUTHORS

T.L.