#codec #kerberos #asn1-der #asn-1 #parse

picky-krb

Encode/decode Kerberos ASN.1 DER structs

11 releases (breaking)

0.9.0 Jul 15, 2024
0.8.0 Aug 24, 2023
0.7.1 Aug 3, 2023
0.7.0 Jun 15, 2023
0.3.1 Jul 29, 2022

#328 in Encoding

Download history 3456/week @ 2024-07-29 2740/week @ 2024-08-05 2636/week @ 2024-08-12 2814/week @ 2024-08-19 2916/week @ 2024-08-26 2625/week @ 2024-09-02 2176/week @ 2024-09-09 1727/week @ 2024-09-16 1419/week @ 2024-09-23 3095/week @ 2024-09-30 3886/week @ 2024-10-07 2578/week @ 2024-10-14 2971/week @ 2024-10-21 3959/week @ 2024-10-28 3505/week @ 2024-11-04 3828/week @ 2024-11-11

14,290 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

1MB
17K SLoC

Crates.io docs.rs Crates.io

Compatible with rustc 1.56. Minimal rustc version bumps happen only with minor number bumps in this project.

picky-krb

Provides implementation for types defined in RFC 4120.

Serializing and deserializing Kerberos structures

Use picky_asn1_der::from_bytes for deserialization from binary, for example:

use picky_krb::messages::AsRep;
let as_rep: AsRep = picky_asn1_der::from_bytes(&raw).unwrap();

And picky_asn1_der::to_vec for serialization to binary, for example:

use picky_krb::messages::TgsReq;
let tgs_req: TgsReq = picky_asn1_der::from_bytes(&raw).unwrap();
let tgs_req_encoded = picky_asn1_der::to_vec(&tgs_req).unwrap();

Dependencies

~4MB
~81K SLoC