ykval-gen-clients(1)

πŸ“¦ version 2.39, in fedora 43, fedora 44

✨ ykval-gen-clients ✨

okay bestie, so like… you know how YubiKeys are literally the moment? πŸ’› This is the little command that makes the clients for the yubikey-val validation server. It's ykval-gen-clients from the General Commands Manual, and she's here to generate, insert, and spill the tea. πŸ«–


🌸 SYNOPSIS 🌸

ykval-gen-clients [ OPTIONS ] [ num_clients ]

πŸ’– DESCRIPTION πŸ’–

So what she does is: generates clients and client secrets, and inserts them straight into the yubikeyval database. πŸŽ€ And because she's an overachiever, she also prints them to stdout as comma separated lines containing client_id, secret. Iconic behaviour, no notes. πŸ’…

Heads up bestie β€” the database configuration is read from /etc/yubico/val/ykval-config.php. That's where she gets her settings from, periodt. πŸ“‚

Now the options, and yes I'm gonna hype each one because they deserve it:

  • --urandom β€” use /dev/urandom instead of /dev/random as the entropy source. Like, she's grabbing her randomness from a different source, iykyk. 🎲
  • --email=EMAIL β€” sets the email field of the created clients. Drop the address in and it gets written to the new clients. πŸ“§
  • --notes=NOTES β€” sets the notes field of the created clients. Put whatever lil note you want in there. πŸ“
  • --otp=OTP β€” sets the otp field of the created clients. Yep, that one too. πŸ”‘

πŸ¦‹ BUGS πŸ¦‹

Found a bug? 😭 Not the vibe, but it happens. Report ykval-gen-clients bugs in the issue tracker:

https://github.com/Yubico/yubikey-val/issues

πŸ‘‘ SEE ALSO πŸ‘‘

And if you're wondering where to get the actual YubiKeys? YubiKeys can be obtained from Yubico:

https://www.yubico.com/

anyway that's the whole page, mwah πŸ’‹ This lil gem comes from yubico-val, dated January 2013 β€” retro but still serving. Go make some clients bestie, and remember: secrets are for the database, not the group chat. πŸ”βœ¨

πŸ“¦ where this page comes from