Introduction
A keytab (key table) holds long-term keys for Kerberos principals, so that a service or a script can authenticate without a typed password. Each entry records a principal, a time, a key version, an encryption type and the key itself, so the file must be kept secret.
Structure
A binary file beginning with two version bytes: 05, then the format version
01 or 02. Version 1 stores integers in the machine's byte order, version 2 in
big-endian order. Records follow, each led by a signed 32-bit length: positive for an entry, negative for a
hole left by a removed one, zero for the end.
Not described
Known, not yet covered
- Reference: the layout of the format is not yet described here: the fields inside each entry are set out in the MIT Kerberos documentation.
- Viewer: the site has no viewer for this format.
Links
Software
- MIT Kerberos – Kerberos implementation that creates and reads keytabs
Reference
- Keytab file format – MIT Kerberos documentation