3 releases
| 0.0.3 | Jul 5, 2025 |
|---|---|
| 0.0.2 | Jan 17, 2021 |
| 0.0.1 | Jan 17, 2021 |
#19 in #kerberos
166 downloads per month
Used in cerbero
23KB
523 lines
Types used to store Kerberos credentials in a keytab
Example
Load and save into a file:
use kerberos_keytab::Keytab;
use std::fs;
let data = fs::read("./user.keytab").expect("Unable to read file");
let keytab = Keytab::parse(&data)
.expect("Unable to parse file content")
.1;
let data_2 = keytab.build();
fs::write("./user2.keytab", data_2).expect("Unable to write file");
References
Dependencies
~1MB
~18K SLoC