Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vars1ty/lxshadow

Password-checking binding around /etc/shadow
https://github.com/vars1ty/lxshadow

crate library linux linux-rust password rust rust-crate security shadow

Last synced: about 1 month ago
JSON representation

Password-checking binding around /etc/shadow

Awesome Lists containing this project

README

        

# lxshadow
Password-checking binding around /etc/shadow, without the direct use of unsafe code or libc calls.
## Usage example
```rust
fn main() {
let result = is_eq("username", "password", true).expect("Failed reading /etc/shadow, check the log!").expect("Failed retrieving necessary info, check the log!");
println!("is password eq: {result}")
}
```