#kerberos #credentials #ccache #parser #store #structures #client

himmelblau_kerberos_ccache

Library to parse ccache kerberos structures

2 releases

0.4.1 Jul 3, 2024
0.4.0 Jun 21, 2024

#859 in Authentication

Download history 6/week @ 2024-10-30 81/week @ 2024-11-06 31/week @ 2024-11-13 49/week @ 2024-11-20 39/week @ 2024-11-27 114/week @ 2024-12-04 100/week @ 2024-12-11 59/week @ 2024-12-18 6/week @ 2025-01-01 48/week @ 2025-01-08 19/week @ 2025-01-15 27/week @ 2025-01-22 44/week @ 2025-01-29 38/week @ 2025-02-05

130 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

~4.5MB
~86K SLoC