Rust interface to the Linux key-management facility. Provides a safe interface around the raw system calls allowing user-space programs to perform key manipulation.
Rust interface to the Linux key-management facility. Provides a safe interface around the raw system calls allowing user-space programs to perform key manipulation.
There is a good cloudflare blog discussing why it should be used.
To use linux-keyutils
, first add this to your Cargo.toml
:
[dependencies]
linux-keyutils = "0.2"
For more information please view the full documentation. There is also a small example program in the examples directory.
#![no_std]
by default.KeyError
implements std::error::Error
when the std
feature of this crate enabled.libc
and bitflags
crates.Licensed under either of the following at your discretion:
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.