rust-keyutils
rust-keyutils copied to clipboard
Rust interface to the Linux keyring
The current code uses unwrap() and expect() more than it strictly needs to. A better approach would be to have the function return an error in these cases. Specifically, the...
Not released yet. https://kernel.googlesource.com/pub/scm/linux/kernel/git/dhowells/keyutils/+/development%5E%21/#F2
I added some basic tests for the `Encrypted` `KeyType`. Note that this change now requires `CONFIG_ENCRYPTED_KEYS` to be enabled for unit tests to pass.
Also probably offer a structure for locking it down on its way in as well.
https://lore.kernel.org/keyrings/[email protected]/T/#u (also patches 4-6)
https://lore.kernel.org/keyrings/[email protected]/T/#u