SHIB-SECKEYGEN.8(8) | Shibboleth | SHIB-SECKEYGEN.8(8) |
shib-seckeygen - Rotate the keys of a Versioned DataSealer
shib-seckeygen [-o output-dir] [-f
filename]
[-h history-length] [-b key-size]
[-u user] [-g group]
The Versioned <DataSealer> type is designed for production use and obtains its key material from a simple flat file that allows a history of several keys to be kept to decrypt older data and continuously rotate the encryption key on a regular basis, usually daily.
The flat file format consists of lines of the form <name>:<key>, where the name is typically a number for record keeping but can be any label, and the key is base64-encoded. The key length dictates which AES-GCM algorithm is used, among the supported key sizes (128,192,256). The "default" key used for new operations is the last line in the file.
This script provides a simple means of rotating the key, and the Service Provider software will typically detect when the file changes and reload it.
This manual page was written by Ferenc Wágner for Debian GNU/Linux using the text on https://wiki.shibboleth.net/confluence/display/SP3/VersionedDataSealer.
Copyright 2018 Shibboleth Project. License: Creative Commons Attribution-ShareAlike 3.0.
2021-04-27 | 3.2.2 |