This repository contains work-in-progress safe, idiomatic rust bindings for
libkrb5, the client library of
MIT Kerberos 5.
Under the hood, it uses the unsafe, automatically generated
libkrb5-sys bindings crate.
Bear in mind that
libkrb5 is not entirely thread-safe, according to its
For this reason, a Kerberos context can only be created once globally with this
crate, and since that context does not implement
Sync, this only
allows access to the
libkrb5 library on a single thread.
This also means that tests must be executed with
cargo test -- --test-threads 1 to pass, otherwise they must fail.