QSSIGN(1)

πŸ“¦
version 11.74 Β· 2 versions
, in epel 9, ubuntu noble

✨ QSSIGN(1) ✨

okay bestie, so this is the qssign page from the qssign man pages β€” manual section 1, which is where all the good command-line stuff lives πŸ’…. sit down, grab a boba, we're gonna talk about signing your logs πŸ”₯


🌸 NAME 🌸

qssign β€” literally just an utility to sign and verify the integrity of log data. that's it, that's the whole job, and she does it flawlessly 🫢


πŸŽ€ SYNOPSIS πŸŽ€

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

notice how it's -s or -S at the front (the pipe means you gotta pick one, bestie), and everything else after that is optional ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so qssign is a log data integrity check tool. main character energy fr fr πŸ‘‘

here's the vibe: it reads log data from stdin (that's the pipe, iykyk) and writes the data to stdout, adding a sequence number and a signature to every single log line. every. single. one. no cap πŸ”₯

so if you've ever been like "hmm did someone edit my logs 😭" β€” this is the tool that says "no bestie, i got you" πŸ’–


πŸ’… OPTIONS πŸ’…

  • -s <secret> β€” the passphrase used to calculate the signature. it's your little secret, guard it 🌸
  • -S <program> β€” specifies a program which writes the passphrase to stdout. so instead of typing your secret directly, you let a program hand it over πŸŽ€
  • -e β€” writes a start/end marker when starting/stopping data signing. cute little bookends for your signing session ✨
  • -v β€” verification mode, checking the integrity of signed data. this is the vibe check πŸ”
  • -u <name> β€” becomes another user, e.g. www-data. yes bestie, she can switch it up πŸ’…
  • -f <regex> β€” filter pattern (case sensitive regular expression) for messages which do not need to be signed. so some lines get to skip the whole thing, and the pattern is case sensitive btw, don't forget 😀
  • -a 'sha1'|'sha256' β€” specifies the algorithm to use. default is sha1. pick your fighter πŸ₯Š

🌈 EXAMPLE 🌈

Sign:

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

Verify:

 cat access.log | qssign -s password -v

see how in the sign one she's piping into qsrotate? iconic behavior. chain gang πŸ”—βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

your other besties, go say hi:

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qstail(1)


🫢 AUTHOR 🫢

<Pascal Buchbinder> Pascal Buchbinder, http://mod-qos.sourceforge.net/ πŸ’–


okay and for the little sign-off moment: this whole thing is part of the mod_qos utilities, version 11.74, and she was dated May 2023. so yeah, that's the tea πŸ“

go sign some logs, bestie, you're gonna slay πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from