SHIB-SECKEYGEN.8(8)
β¨ SHIB-SECKEYGEN.8(8) β¨
okay bestie, so this is shib-seckeygen, a section 8 (admin/system) manual page from the Shibboleth fam. it does exactly one iconic thing and it does it well: it rotates the keys of a Versioned DataSealer. π
π NAME π
shib-seckeygen β rotate the keys of a Versioned DataSealer
π¦ SYNOPSIS π¦
shib-seckeygen [-o output-dir] [-f filename]
[-h history-length] [-b key-size]
[-u user] [-g group]
πΈ DESCRIPTION πΈ
The Versioned <DataSealer> type? it's literally built for production use, no cap. it gets its key material from a simple flat file, and that flat file is the whole vibe: it lets you keep a history of several keys around so you can still decrypt older data, and it lets you continuously rotate the encryption key on a regular basis β usually daily. ποΈβ¨
The flat file format is just lines that look like this:
<name>:<key>
where the name is typically a number for record keeping (but bestie, it can be any label you want, go off), and the key is base64-encoded. The key length is what dictates which AES-GCM algorithm gets used, and the supported key sizes are 128, 192, and 256. the "default" key β the one used for new operations β is the last line in the file. π
This script gives you a simple means of rotating the key, and the Service Provider software will typically notice when the file changes and reload it. it's giving set-it-and-forget-it. π
β¨ OPTIONS β¨
-bkey-size β how many random bits go into the newly generated key. supported sizes are listed up above (look at you, reading). default is128.-ggroup β change the group ownership of the key file to this group. default is"_shibd".-hhistory-length β the maximum number of keys to keep in the file. default is14.-ffilename β the name of the file containing the keys, inside output-dir. default is"sealer.keys".-ooutput-dir β the key file and a temporary key file are created in this directory. default is"/etc/shibboleth".-uuser β change the ownership of the key file to this user. default is"_shibd".
π FILES π
/etc/shibboleth/sealer.keysβ the default key file that this script rotates. that's the one, that's the main character. π
π«Ά AUTHOR π«Ά
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 π
Copyright 2018 Shibboleth Project. License: Creative Commons Attribution-ShareAlike 3.0.
and that's the whole page, bestie!! πβ this was version 3.5.2, dated 2026-02-01, and honestly? she ate. π
β¨ go rotate those keys, ily, mwah ππ¦πΈ
π¦ where this page comes from
- ubuntu resolute: shibboleth-sp-utils 3.5.2+dfsg-1 Β· Apache-2.0
- ubuntu stonking: shibboleth-sp-utils 3.5.2+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms