himmelblau_kerberos_ccache

Crates.iohimmelblau_kerberos_ccache
lib.rshimmelblau_kerberos_ccache
version0.4.1
sourcesrc
created_at2024-06-21 19:49:26.8133
updated_at2024-07-03 17:46:38.496476
descriptionLibrary to parse ccache kerberos structures
homepage
repositoryhttps://github.com/himmelblau-idm/kerbeiros
max_upload_size
id1279884
size143,349
David Mulder (dmulder)

documentation

README

Types used to store Kerberos credentials in a ccache

Example

Load and save into a file:

use kerberos_ccache::CCache;
use std::fs;

let data = fs::read("./bob_tgt.ccache").expect("Unable to read file");

let ccache = CCache::parse(&data)
    .expect("Unable to parse file content")
    .1;

let data_2 = ccache.build();
fs::write("./bob_tgt2.ccache", data_2).expect("Unable to write file");

References

Commit count: 772

cargo fmt