Announcing cccolutils-rs
It’s already been available for some time, but I still want to announce a
small pet project I’ve been working on - a rust port of the
cccolutils
python package. It consists of some small helper
functions written in C, and correspondig FFI bindings for rust.
I chose to write (and adapt) some glue code in C instead of using FFI directly, because the original python package does the same thing – and there aren’t any usable and complete FFI bindings for the MIT Kerberos 5 library available.
cccolutils-rs (cccolutils
on https://crates.io) provides some very basic
functions for querying the krb5 credentials cache (e.g. checking whether there’s
an authenticated user for a given realm). The current state of the code can be
viewed on GitHub.
I’m also working on complete rust FFI bindings for the krb5
library, which
would make it possible to drop the C glue code in the future, once I can rely
on proper FFI bindings.