KVNO(1)
π KVNO(1) β the kvno girlies' guide π
okay so bestie, welcome to kvno, straight out of MIT Kerberos. This is your little backstage pass to peeking at the key version numbers of Kerberos principals. Iconic behaviour, honestly.
β¨ NAME β¨
kvno β print key version numbers of Kerberos principals π
πΈ SYNOPSIS πΈ
kvno [-c ccache] [-e etype] [-k keytab] [-q] [-u | -S sname] [-P]
[--cached-only] [--no-store] [--out-cache cache] [[{-F cert_file | {-I |
-U} for_user} [-P]] | --u2u ccache] service1 service2 ...
π¦ DESCRIPTION π¦
So basically: kvno goes and gets a service ticket for all the Kerberos principals you name, and then prints out the key version number of each one. That's it. That's the whole job. She's a one-trick pony and the trick is delicious. π
π OPTIONS π
Every single one, no skips, periodt:
-cccache β names the credentials cache to use. Only matters if you're not vibing with the default one.-eetype β picks the enctype that'll be requested for the session key of all the services on the command line. Genuinely useful in certain backward compatibility situations, bestie. Throwback energy.-kkeytab β decrypt the acquired tickets using keytab so you can confirm they're actually valid. Vibe check, but cryptographically.-qβ quiet mode: suppress printing output when successful. BUT if a service ticket can't be obtained, the error message still prints andkvnostill exits with nonzero status. Not me trying to be sneaky and still getting caught. π-uβ use the unknown name type in the requested service principal names. > Heads up: this option cannot be used with-S. They do not get along.-Pβ says that theservice1 service2 ...arguments should be treated as services you want credentials for using constrained delegation. This option is only valid when used in conjunction with protocol transition. Fancy, constrained, exclusive.-Ssname β says theservice1 service2 ...arguments are actually hostnames, and the service principals get constructed from those hostnames plus the service name sname. Those service hostnames will be canonicalized according to the usual rules for constructing service principals. π«Ά-Ifor_user β use protocol transition (S4U2Self) to acquire a ticket on behalf of for_user. > Note: if constrained delegation isn't requested, the service name must match the credentials cache client principal.-Ufor_user β same as-I, but treats for_user as an enterprise name.-Fcert_file β use protocol transition, identifying the client principal with the X.509 certificate in cert_file. > The certificate file must be in PEM format. No PEM, no party. π--cached-onlyβ only retrieve credentials already chilling in the cache, not from the KDC. (Added in release 1.19.)--no-storeβ do not store retrieved credentials in the cache. But if--out-cacheis also specified, credentials will still be stored into the output credential cache. (Added in release 1.19.)--out-cacheccache β initialize ccache and store all retrieved credentials into it. Do not store acquired credentials in the input cache. (Added in release 1.19.)--u2uccache β requests a user-to-user ticket. ccache must contain a localkrbtgtticket for the server principal. > The reported version number will typically be0, because the resulting ticket is not encrypted in the server's long-term key. Zero, she's giving nothing, and that's correct.
π ENVIRONMENT π
See kerberos for a description of Kerberos environment variables. (Yes, she outsources the env var lore. Respect.)
π FILES π
FILE:/tmp/krb5cc_%{uid}β default location of the credentials cache. Where your tickets live rent-free.
β SEE ALSO β
kinit, kdestroy, kerberos
π AUTHOR π
MIT
π COPYRIGHT π
1985-2026, MIT
okay that's the whole page, bestie, you ate that π«Ά
This was kvno from MIT Kerberos, version 1.22.2. Thanks for reading my little manual moment β now go acquire some tickets responsibly. π
β¨
π¦ where this page comes from
- alpine 3.24: krb5-doc 1.22.2-r1 Β· MIT
- arch rolling: krb5 1.22.2-1 Β· custom
- fedora 43: krb5-workstation 1.22.2-4.fc43 Β· Brian-Gladman-2-Clause AND BSD-2-Clause AND (BSD-2-Clause OR GPL-2.0-or-later) AND BSD-2-Clause-first-lines AND BSD-3-Clause AND BSD-4-Clause AND CMU-Mach-nodoc AND FSFULLRWD AND HPND AND HPND-export2-US AND HPND-export-US AND HPND-export-US-acknowledgement AND HPND-export-US-modify AND ISC AND MIT AND MIT-CMU AND OLDAP-2.8 AND OpenVision
- nixos 26.05: krb5 1.22.2
- nixpkgs unstable: krb5 1.22.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms