gss_krb5_aead_decrypt(9)
π NAME π
okay so bestie, welcome to the gss_krb5_aead_decrypt(9) page from the Kernel API Manual β it's literally about decrypting a wrap token using crypto/krb5, and yes, that's the whole vibe. slay.
π SYNOPSIS π
u32 gss_krb5_aead_decrypt (struct krb5_ctx *kctx , u32 offset , u32 len
, struct xdr_buf *buf , u32 *headskip , u32 *tailskip );
β¨ ARGUMENTS β¨
kctxβ the Kerberos context, aka the main-character context for this whole operation π«offsetβ byte offset of the GSS token header inbuf. yep, exactly that.lenβ total length of the GSS token. the whole token, no cap.bufβ ciphertext buffer, decrypted in-place. it gets changed right there in the buffer, bestie.headskipβ OUT: confounder length, in octets πtailskipβ OUT: checksum length, in octets π¦
πΈ DESCRIPTION πΈ
so the return values are giving very specific energy, and you need to know them:
GSS_S_COMPLETE: Decryption and integrity verification succeeded βGSS_S_BAD_SIG: Integrity checksum did not match πGSS_S_DEFECTIVE_TOKEN: Token is malformed or truncated πGSS_S_FAILURE: Decryption failed π
like, those are the outcomes. no extra lore, just the facts, fr fr.
π¦ SEE ALSO π¦
- Kernel file
./net/sunrpc/auth_gss/gss_krb5_crypto.c gss_krb5_aead_encrypt(9),gss_krb5_mic_build_sg(9)
made with π from ./net/sunrpc/auth_gss β October 2026 edition, bestie. decrypt responsibly and stay iconic πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms