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 ✨

  • -b key-size β€” how many random bits go into the newly generated key. supported sizes are listed up above (look at you, reading). default is 128.
  • -g group β€” change the group ownership of the key file to this group. default is "_shibd".
  • -h history-length β€” the maximum number of keys to keep in the file. default is 14.
  • -f filename β€” the name of the file containing the keys, inside output-dir. default is "sealer.keys".
  • -o output-dir β€” the key file and a temporary key file are created in this directory. default is "/etc/shibboleth".
  • -u user β€” 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 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