7 releases

0.0.7 May 31, 2020
0.0.6 May 31, 2020
0.0.2 Apr 18, 2020

#822 in Authentication

Download history 4/week @ 2024-02-19 17/week @ 2024-02-26 13/week @ 2024-03-04 14/week @ 2024-03-11 6/week @ 2024-03-18 135/week @ 2024-04-01

157 downloads per month
Used in 3 crates (2 directly)

AGPL-3.0

110KB
2.5K SLoC

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


lib.rs:

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

Dependencies

~4MB
~79K SLoC