ods-hsmspeed(1)

πŸ’– ods-hsmspeed β€” the OpenDNSSEC HSM speed tester πŸ’–

okay bestie, so this is ods-hsmspeed(1) β€” a manual page, but make it a vibe check. it's the OpenDNSSEC HSM speed tester, and honestly? it's giving "let me clock your hardware" energy. πŸ•βœ¨


✨ SYNOPSIS ✨

ods-hsmspeed [-c config] -r repository [-i iterations] [-s keysize] [-t threads]

that's it, that's the whole lineup. -r is the only one that's not optional, no cap. 🫢


🌸 DESCRIPTION 🌸

so ods-hsmspeed is a lil utility that ships as part of OpenDNSSEC, and its whole job is to test how fast your configured HSMs actually are. performance check, basically. speedrun the HSM. πŸ”₯

here's the lore: the components of OpenDNSSEC do not talk directly to the HSMs. instead they go through an internal library called libhsm, and that is what talks to the HSMs using PKCS#11. libhsm is the middleman that simplifies the whole process of creating keys and signatures for the other OpenDNSSEC components. it's the group chat admin of the crypto world, lowkey. πŸ’…

ods-hsmspeed measures speed by using libhsm. and heads up, bestie β€” the result you get will be somewhat lower than what the manufacturers promise, because libhsm adds some overhead on top of the pure PKCS#11 environment. it's not broken, it's just extra steps. 😭 the overhead is real and it is part of the deal, fr fr.


πŸŽ€ OPTIONS πŸŽ€

  • -c config β€” path to an OpenDNSSEC configuration file.
    • (defaults to /etc/opendnssec/conf.xml β€” that's the standard spot, iykyk) πŸ“
  • -i iterations β€” specify the number of iterations for signing an RRset. a higher number of iterations will increase the performance.
    • (defaults to 1 iteration β€” just one lil round to start) πŸ”
  • -r repository β€” the speed test will be performed on this repository.
    • this one is required, there's no default, so don't forget it bestie πŸ’€
  • -s keysize β€” a temporary RSA key with the given keysize will be used for signing.
    • (defaults to 1024 bit) πŸ”‘
  • -t threads β€” the number of threads to use. most HSMs will be utilized better with multiple threads.
    • (defaults to 1 thread β€” single-threaded main character energy, but you can absolutely give it more πŸ‘‘)

πŸ‘€ SEE ALSO πŸ‘€

go read these too, they're all iconic in their own way:


πŸ¦‹ AUTHORS πŸ¦‹

ods-hsmspeed was written by Jakob Schlyter and Nominet as part of the OpenDNSSEC project. absolute legends, we stan. 🫢


and that's a wrap, bestie πŸ’– this page is from OpenDNSSEC, dated February 2010, and it lives at section ods-hsmspeed(1). go measure some speeds, slay, and remember: the numbers are lower than the box says, and that's just libhsm doing its thing. periodt. πŸ’…βœ¨