KRB5_RCACHE(3)
π KRB5_RCACHE β the replay cache page, bestie edition π
okay so this is a libkrb5 joint, manual page KRB5_RCACHE(3) from the Library Functions Manual. It's giving "Kerberos 5 replay cache" and honestly? iconic. Let's get into it. π
β¨ NAME β¨
krb5_rcache, krb5_rc_close, krb5_rc_default, krb5_rc_default_name, krb5_rc_default_type, krb5_rc_destroy, krb5_rc_expunge, krb5_rc_get_lifespan, krb5_rc_get_name, krb5_rc_get_type, krb5_rc_initialize, krb5_rc_recover, krb5_rc_resolve, krb5_rc_resolve_full, krb5_rc_resolve_type, krb5_rc_store, krb5_get_server_rcache β Kerberos 5 replay cache πΈ
π LIBRARY π
Kerberos 5 Library (libkrb5, -lkrb5)
π¦ SYNOPSIS π¦
#include <krb5.h>
struct krb5_rcache;
krb5_error_code
krb5_rc_close(krb5_context context, krb5_rcache id);
krb5_error_code
krb5_rc_default(krb5_context context, krb5_rcache *id);
const char *
krb5_rc_default_name(krb5_context context);
const char *
krb5_rc_default_type(krb5_context context);
krb5_error_code
krb5_rc_destroy(krb5_context context, krb5_rcache id);
krb5_error_code
krb5_rc_expunge(krb5_context context, krb5_rcache id);
krb5_error_code
krb5_rc_get_lifespan(krb5_context context, krb5_rcache id,
krb5_deltat *auth_lifespan);
const char*
krb5_rc_get_name(krb5_context context, krb5_rcache id);
const char*
krb5_rc_get_type(krb5_context context, krb5_rcache id);
krb5_error_code
krb5_rc_initialize(krb5_context context, krb5_rcache id,
krb5_deltat auth_lifespan);
krb5_error_code
krb5_rc_recover(krb5_context context, krb5_rcache id);
krb5_error_code
krb5_rc_resolve(krb5_context context, krb5_rcache id, const char *name);
krb5_error_code
krb5_rc_resolve_full(krb5_context context, krb5_rcache *id,
const char *string_name);
krb5_error_code
krb5_rc_resolve_type(krb5_context context, krb5_rcache *id,
const char *type);
krb5_error_code
krb5_rc_store(krb5_context context, krb5_rcache id,
krb5_donot_replay *rep);
krb5_error_code
krb5_get_server_rcache(krb5_context context, const krb5_data *piece,
krb5_rcache *id);
no cap, that's the whole lineup π seventeen functions and one lil opaque struct, all here, all accounted for.
π DESCRIPTION π
The krb5_rcache structure holds a storage element that is used for data manipulation. πΎ
and here's the tea: the structure contains no public accessible elements. so likeβ¦ don't go poking around in there, bestie, there's nothing for you to see. it's giving "private account, no followers allowed." π
krb5_rc_initialize() β creates the reply cache id and sets its lifespan to auth_lifespan. π₯
β οΈ but WAIT. if the cache already exists, the content is destroyed. like, gone gone. not "moved to trash," not "recoverable," destroyed. be so careful with that one, fr fr. π
π SEE ALSO π
krb5(3)krb5_data(3)kerberos(8)
and that's the page!! this beauty came from HEIMDAL, dated May 1, 2006 β yeah she's vintage, she's a classic, she's still slaying πβ¨ stay safe out there with your replay caches, mwah π«Ά
π¦ where this page comes from
- alpine 3.22: heimdal-doc 7.8.0-r4 Β· BSD-3-Clause
- alpine 3.23: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- alpine 3.24: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- debian bookworm: heimdal-dev 7.8.git20221117.28daf24+dfsg-2 Β· BSD-3-Clause
- debian trixie: heimdal-dev 7.8.git20221117.28daf24+dfsg-9+deb13u1 Β· BSD-3-Clause
- epel 10: heimdal-devel 7.8.0-26.el10_2 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- epel 9: heimdal-devel 7.8.0-5.el9 Β· BSD and MIT
- fedora 43: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 43: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- freebsd 14.5: base 14.5
- nixpkgs unstable: heimdal 7.8.0-unstable-2024-09-10
- ubuntu jammy: heimdal-dev 7.7.0+dfsg-3ubuntu1 Β· BSD-3-Clause
- ubuntu noble: heimdal-dev 7.8.git20221117.28daf24+dfsg-5ubuntu3 Β· BSD-3-Clause
- ubuntu questing: heimdal-dev 7.8.git20221117.28daf24+dfsg-9ubuntu1
- ubuntu resolute: heimdal-dev 7.8.git20221117.28daf24+dfsg-11ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: heimdal-dev 7.8.git20240113.1b4565a+dfsg-2ubuntu1 Β· BSD-3-Clause
- Copyright (c) 2004 Kungliga Tekniska HΓΆgskolan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms