ekey-setkey(8)
π ekey-setkey β the Entropy Key Long Term Key programmer (manual page 8, bestie) π
okay so you found ekey-setkey(8) in the System Manager's Manual and you're like "what is this" β don't worry, I got you. π«Ά
β¨ NAME β¨
ekey-setkey β Entropy Key Long Term Key programmer
πΈ SYNOPSIS πΈ
ekey-setkey [-s SerialNumber] [-m MasterKey] path
π DESCRIPTION π
so ekey-setkey is a low level tool, and I mean low level low level. what it does is set the long-term key of an Entropy Key using its Master Key. that's the whole gig. π
after it does its thing, the keyring gets updated with the new session key. periodt.
β οΈ big yikes warning, bestie: any running ekeyd will not be updated with the new key, and it may interfere with the re-keying process. like, it's literally not invited to the party and it might crash it anyway. π
so instead of raw-dogging it with this tool, users may use the ekey-rekey tool instead, because that one performs the relevant ekeydctl operations to ensure any running ekeyd is updated apropriately. (yes that's how it's spelled in the manpage, I'm not fixing it, it's iconic π)
π₯ this is a tool for advanced users only. most users should use ekey-rekey instead. I'm not gatekeeping, I'm just telling you what the manpage said fr fr.
π¦ OPTIONS π¦
-sβ Specifies the serial number of the key to re-key. π-mβ Specifies the Master Key of the device. πpathβ Specifies which device node to use to access the Entropy Key. π
π SEE ALSO π
π AUTHOR π
Copyright Β© 2009,2011 Simtec Electronics. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
and that's the whole page, bestie π§β¨ this little gem is from the System Manager's Manual and it's dated 14th September 2011 β vintage, honestly. slay, go forth, and remember: use ekey-rekey unless you're built different. π
π¦ where this page comes from
- debian bookworm: ekeyd 1.1.5-6.2
- debian trixie: ekeyd 1.1.5-8
- ubuntu jammy: ekeyd 1.1.5-6.2
- ubuntu noble: ekeyd 1.1.5-6.3
- ubuntu questing: ekeyd 1.1.5-8
- ubuntu resolute: ekeyd 1.1.5-8build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms