⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module ccache

Module ccache 

Source
Expand description

Kerberos Ticket Cache (ccache)

Implements an in-memory credential cache for Kerberos tickets, compatible with the MIT krb5 ccache binary format for serialization/deserialization.

§Features

  • Store/lookup/remove tickets by server principal
  • TTL-based expiry using kernel tick counts
  • MIT krb5 ccache v4 binary format serialization
  • Shell command helpers: kinit, klist, kdestroy
  • Auth backend integration for ticket-based verification

Structs§

CcacheEntry
A single cached Kerberos ticket.
CcacheFile
MIT krb5 ccache file structure.
KerberosAuthBackend
Authentication backend that verifies credentials via Kerberos ticket presence in the cache.
TicketCache
In-memory Kerberos ticket cache.

Functions§

kdestroy_command
Destroy all cached tickets (kdestroy).
kinit_command
Perform a kinit-like operation: derive key, request TGT, store in cache.
klist_command
Format cached tickets for display (klist).