Documentation
¶
Overview ¶
Package keytab implements Kerberos keytabs: https://web.mit.edu/kerberos/krb5-devel/doc/formats/keytab_file_format.html.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Principal Principal Timestamp time.Time KVNO8 uint8 Key types.EncryptionKey KVNO uint32 }
Keytab Entry struct.
func (*Entry) KeyVersionNumber ¶
The 32-bit key version overrides the 8-bit key version.
type Keytab ¶
Keytab struct.
func (*Keytab) GetEncryptionKey ¶
func (kt *Keytab) GetEncryptionKey(nameString []string, realm string, kvno, etype int) (types.EncryptionKey, error)
GetEncryptionKey returns the EncryptionKey from the Keytab for the newest entry with the required kvno, etype and matching principal.
Click to show internal directories.
Click to hide internal directories.