# qssign(1) - man - phpMan

[QSSIGN(1)](https://www.chedong.com/phpMan.php/man/QSSIGN/1/markdown)                                  qssign man page                                 [QSSIGN(1)](https://www.chedong.com/phpMan.php/man/QSSIGN/1/markdown)



## NAME
       qssign - an utility to sign and verify the integrity of log data.

## SYNOPSIS
       qssign -s|S <secret> [-e] [-v] [-u <name>] [-f <regex>] [-a 'sha1'|'sha256']

## DESCRIPTION
       qssign is a log data integrity check tool. It reads log data from stdin (pipe) and writes the
       data to stdout adding a sequence number and signatur to ever log line.

## OPTIONS
### -s <secret>
              Passphrase used to calculate signature.

### -S <program>
              Specifies a program which writes the passphrase to stdout.

       -e     Writes start/end marker when starting/stopping data signing.

       -v     Verification mode checking the integrity of signed data.

### -u <name>
              Becomes another user, e.g. www-data.

### -f <regex>
              Filter pattern (case sensitive regular expression) for messages which do not  need  to
              be signed.

       -a 'sha1'|'sha256'
              Specifes the algorithm to use. Default is sha1.

## EXAMPLE
       Sign:

        TransferLog  "|/usr/bin/qssign  -s  password  -e  |/usr/bin/qsrotate  -o /var/log/apache/ac‐
       cess.log"


       Verify:

        cat access.log | qssign -s password -v


## SEE ALSO
       [qsdt(1)](https://www.chedong.com/phpMan.php/man/qsdt/1/markdown), [qsexec(1)](https://www.chedong.com/phpMan.php/man/qsexec/1/markdown), [qsfilter2(1)](https://www.chedong.com/phpMan.php/man/qsfilter2/1/markdown),  [qsgeo(1)](https://www.chedong.com/phpMan.php/man/qsgeo/1/markdown),  [qsgrep(1)](https://www.chedong.com/phpMan.php/man/qsgrep/1/markdown),  [qshead(1)](https://www.chedong.com/phpMan.php/man/qshead/1/markdown),  [qslog(1)](https://www.chedong.com/phpMan.php/man/qslog/1/markdown),  [qslogger(1)](https://www.chedong.com/phpMan.php/man/qslogger/1/markdown),
       [qspng(1)](https://www.chedong.com/phpMan.php/man/qspng/1/markdown), [qsre(1)](https://www.chedong.com/phpMan.php/man/qsre/1/markdown), [qsrespeed(1)](https://www.chedong.com/phpMan.php/man/qsrespeed/1/markdown), [qsrotate(1)](https://www.chedong.com/phpMan.php/man/qsrotate/1/markdown), [qstail(1)](https://www.chedong.com/phpMan.php/man/qstail/1/markdown)

## AUTHOR
       Pascal Buchbinder, <http://mod-qos.sourceforge.net/>



mod_qos utilities 11.63                       May 2019                                     [QSSIGN(1)](https://www.chedong.com/phpMan.php/man/QSSIGN/1/markdown)
