2 releases

0.4.1 Jul 3, 2024
0.4.0 Jun 21, 2024

#873 in Authentication

Download history 31/week @ 2024-11-14 53/week @ 2024-11-21 54/week @ 2024-11-28 146/week @ 2024-12-05 76/week @ 2024-12-12 30/week @ 2024-12-19 1/week @ 2024-12-26 30/week @ 2025-01-02 25/week @ 2025-01-09 26/week @ 2025-01-16 24/week @ 2025-01-23 45/week @ 2025-01-30 48/week @ 2025-02-06 38/week @ 2025-02-13 122/week @ 2025-02-20 80/week @ 2025-02-27

295 downloads per month
Used in 4 crates (3 directly)

AGPL-3.0

285KB
6K 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 himmelblau_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
~84K SLoC