Our great sponsors
-
kindly
kindly is a simple Rust implementation of a set-user-ID-root program, similar to sudo but in a much reduced way.
I wanted to learn more on how authentication and privilege escalation works on Linux so I developed kindly
-
sudo_pair
Plugin for sudo that requires another human to approve and monitor privileged sudo sessions
I actually wrote and open-sourced a library for writing these plugins in Rust as well as a plug-in that implements dual control, allowing a second person to watch and monitor the session.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
The zeroing routine itself looks fine to me. You might want to compare your code with the (already mentioned) zeroize crate, which does something similar (or maybe identical?).