from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209586

userrating:


May 25th. 2007:
Words

486

Views

258592

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149883

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





SLOGKEY

Section: The slogkey manual page (1)
Updated: 07/16/2025
Index Return to Main Contents
 

NAME

slogkey - Manage cryptographic keys for use with syslog-ng secure logging  

SYNOPSIS

slogkey [options] [arguments]
 

DESCRIPTION

The slogkey utility is used to manage cryptographic keys for use with the secure logging module of syslog-ng. Use this utility to create a master key, derive a host key to be used by a secure logging configuration and to display the current sequence counter of a key. The options determine the operating mode and are mutually exclusive.  

ARGUMENTS

The arguments depend on the operating mode.

Master key generation

Call sequence: slogkey --master-ḱey <filename>

<filename>: The name of the file to which the master key will be 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 will be derived.

<host MAC address>: The MAC address of the host on which the key will be used. Instead of the MAC address, any other string that uniquely identifies a host can be supplied, e.g. the company inventory number.

<host serial number>: The serial number of the host on which the key will be used. Instead of the serial number, any other string that uniquely identifies a host can be supplied, e.g. the company inventory number.

<host key file>: The name of the file to which the host key will be written.

NOTE: The newly created host key has its counter set to 0 indicating that it represents the initial host key k0. This host key must be kept secret and not be disclosed to third parties. It will be required to successfully decrypt and verify log archives processed by the secure logging environment. As each log entry will be encrypted with its own key, a new host key will be created after successful processing of a log entry and will replace the previous key. Therefore, the initial host key needs to be stored in a safe place before starting the secure logging environment, as it will be deleted from the log host after processing of the first log entry.

Sequence counter display

Call sequence: slogkey --counter <host key file>

<host key file>: The host key file from which the sequence will be read.

 

OPTIONS

--master-key or -m

Generates a mew master key. <filename> is the name of the file storing the newly generated master key.

--derive-key or -d

Derive a host key using a previously generated master key.

--counter or -c

Display the current log sequence counter of a key.

--help or -h

Display a help message.
 

FILES

/usr/bin/slogkey

/etc/syslog-ng.conf  

SEE ALSO

syslog-ng.conf(5)

secure-logging(7)


Note

For the detailed documentation of see m[blue]The syslog-ng Administrator Guidem[][1]

If you experience any problems or need help with syslog-ng, visit the m[blue]syslog-ng mailing listm[][2].

For news and notifications about of syslog-ng, visit the m[blue]syslog-ng blogsm[][3].

For specific information requests related to secure logging send a mail to the Airbus Secure Logging Team <secure-logging@airbus.com>.

 

AUTHOR

This manual page was written by the Airbus Secure Logging Team <secure-logging@airbus.com>.  

COPYRIGHT

 

NOTES

1.
The syslo-ng Administrator Guide
https://www.balabit.com/documents/syslo-n-os-lates-guides/en/syslo-n-os-guid-admin/html/index.html
2.
syslo-ng mailing list
https://lists.balabit.hu/mailman/listinfo/syslo-ng
3.
syslo-ng blogs
https://syslo-ng.org/blogs/


 

Index

NAME
SYNOPSIS
DESCRIPTION
ARGUMENTS
OPTIONS
FILES
SEE ALSO
AUTHOR
COPYRIGHT
NOTES





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 12.8 ms