Skip to main content

Crate krb5_rs

Crate krb5_rs 

Source
Expand description

§krb5-rs — Pure Rust Kerberos V5

No C FFI, no system krb5 dependency. GSSAPI, SPNEGO, PKINIT.

§Protocols

  • RFC 4120 — Kerberos V5 core
  • RFC 4121 — GSSAPI mechanism
  • RFC 3961/3962 — Encryption specs + AES
  • RFC 4556 — PKINIT
  • RFC 6113 — FAST pre-authentication

§Quick Start

use krb5_rs::client::KerberosClient;

let client = KerberosClient::new("EXAMPLE.COM", "kdc.example.com:88").await?;
let tgt = client.get_tgt("user", "password").await?;
let ticket = client.get_service_ticket(&tgt, "HTTP/web.example.com").await?;

Re-exports§

pub use error::Krb5Error;

Modules§

client
Kerberos V5 client.
crypto
Kerberos cryptographic operations.
error
Error types for krb5-rs.
gssapi
GSSAPI/SPNEGO mechanism.
types
Kerberos V5 types (re-export from rasn-kerberos).