slogkey(1)
π slogkey(1) π
okay bestie, welcome to the slogkey manual page, we're doing crypto key management today and honestly? it's giving main character energy πβ¨
β¨ NAME β¨
slogkey β manages the cryptographic keys for use with the {{ site.product.short_name }} secure logging environment. π
πΈ SYNOPSIS πΈ
slogkey [options] [arguments]
π¦ DESCRIPTION π¦
so, the slogkey utility is literally the key manager for the secure logging module of syslog-ng OSE. no cap. π«Ά
use this utility to:
- create a master key π
- derive a host key that a secure logging configuration can actually use
- display the current sequence counter of a key π
the options decide which operating mode you're in, and heads up β the options are mutually exclusive. pick one, bestie. one. not two. periodt. π
π ARGUMENTS π
the arguments depend on the operating mode, so let's break it down like a group chat with three tabs open:
π Master key generation
call sequence:
slogkey --master-αΈ±ey <filename>
<filename>: the name of the file to which the master key is written. π
π§ Host key derivation
call sequence:
slogkey --derive-key <master key file> <host MAC address> <host serial number> <host key file>
<master key file>: the master key from which the host key is derived. π<host MAC address>: the MAC address of the host on which the key is used. and ooh, plot twist β instead of the MAC address, you can supply any other string that uniquely identifies a host, for example the company inventory number. iconic, honestly.<host serial number>: the serial number of the host on which the key is used. same deal β instead of the serial number, you can supply any other string that uniquely identifies a host, for example, the company inventory number. π<host key file>: the name of the file to which the host key is written. β¨
NOTE: the newly created host key has its counter set to0, indicating that it represents the initial host keyk0). (yes. the stray paren is in the original. no, i will not be elaborating. π) this host key must be kept secret and not be disclosed to third parties. it is required to successfully decrypt and verify log archives processed by the secure logging environment. as each log entry is encrypted with its own key, a new host key is created after successful processing of a log entry and replaces the previous key. therefore, the initial host key needs to be stored in a safe place before starting the secure logging environment, as it is deleted from the log host after processing of the first log entry. π protect her. she will not survive the first log entry. π«Ά
π Sequence counter display
(this one's in the original with no extra deets attached, so we keep it exactly as it came, bestie π)
π OPTIONS π
--master-keyor-mβ generates a mew master key. (yes, "mew." the original said it, i'm keeping it, it's iconic π±)<filename>is the name of the file storing the newly generated master key. π--derive-keyor-dβ derive a host key using a previously generated master key. πΈ--counteror-cβ display the current log sequence counter of a key. π--helpor-hβ display a help message. π«Ά
π FILES π
/Users/hofi/Develop/Balabit/syslog-ng/build/install/bin/slogkey
/Users/hofi/Develop/Balabit/syslog-ng/build/install/etc/syslog-ng.conf
π SEE ALSO π
- The
syslog-ng.confmanual page π - The
secure-loggingmanual page π
and that's the whole vibe check, bestie β this page is from version 4.10.2, dated 18 December 2025. go forth, guard those keys, and keep k0 safe. slay πβ¨π
π¦ where this page comes from
- alpine 3.24: syslog-ng-doc 4.11.0-r0 Β· GPL-2.0-or-later
- fedora 44: syslog-ng-slog 4.11.0-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms