7 releases

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

#858 in Authentication

Download history 8/week @ 2024-03-16 1/week @ 2024-03-23 22/week @ 2024-03-30 9/week @ 2024-04-06 9/week @ 2024-04-13 8/week @ 2024-04-20 2/week @ 2024-04-27 1/week @ 2024-05-04 3/week @ 2024-05-11 11/week @ 2024-06-01 9/week @ 2024-06-08 16/week @ 2024-06-15 24/week @ 2024-06-22 2/week @ 2024-06-29

54 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

~4.5MB
~92K SLoC