linux-keyutils

Crates.iolinux-keyutils
lib.rslinux-keyutils
version0.2.4
sourcesrc
created_at2022-09-24 17:22:46.458602
updated_at2024-01-15 02:55:33.34179
descriptionRust interface to the Linux key-management facility. Provides a safe interface around the raw system calls allowing user-space programs to perform key manipulation.
homepagehttps://github.com/landhb/linux-keyutils
repositoryhttps://github.com/landhb/linux-keyutils
max_upload_size
id673132
size67,075
Bradley Landherr (landhb)

documentation

README

linux-keyutils

cargo-badge-lib docs-badge-lib license-badge rust-version-badge build codecov

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.

Basic Usage

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.

Features

  • #![no_std] by default.
  • For std programs KeyError implements std::error::Error when the std feature of this crate enabled.
  • Small footprint, the library only relies on the libc and bitflags crates.

License

Licensed under either of the following at your discretion:

Contribution

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.

Commit count: 45

cargo fmt