#serialization #parser #utility #library #windows

win-sid

Windows security identifier primitive

3 unstable releases

new 0.2.1 Dec 28, 2024
0.2.0 Dec 28, 2024
0.1.0 Dec 25, 2024

#45 in #parsing

Download history 119/week @ 2024-12-21

119 downloads per month

MIT/Apache

47KB
408 lines

win-sid   Latest Version

A rust library providing types for handling Windows SIDs in a cross platform manner.

Description

This library provides one core type - SecurityIdentifier. This type can represent any valid Windows SID, and also supports serializing to/from the canonical byte representation and string representation.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.


lib.rs:

Crate for parsing Windows security identifiers without depending on any Windows-only APIs. This crate is capable of parsing SIDs from their canonical string representation (e.g. S-1-5-21-1004336348-1177238915-682003330-512) as well as their canonical binary representation found within binary SDDLs, LDAP attributes, etc.

Dependencies

~1.2–1.9MB
~37K SLoC