16 releases (9 breaking)

new 0.10.2 Mar 26, 2025
0.9.0 Feb 15, 2025
0.1.1 Oct 24, 2024

#237 in Authentication

Download history 37/week @ 2024-12-08 10/week @ 2024-12-15 5/week @ 2025-01-05 216/week @ 2025-01-12 386/week @ 2025-01-19 298/week @ 2025-01-26 123/week @ 2025-02-02 396/week @ 2025-02-09 128/week @ 2025-02-16 19/week @ 2025-02-23 38/week @ 2025-03-02 25/week @ 2025-03-09 320/week @ 2025-03-16 213/week @ 2025-03-23

596 downloads per month
Used in c2patool

MIT/Apache

4MB
48K SLoC

Implementation of CAWG identity assertion specification

CI Latest Version docs.rs codecov

Implementation of the core of the Creator Assertions Working Group identity assertion draft specification.

Contributions and feedback

We welcome contributions to this project. For information on contributing, providing feedback, and about ongoing work, see Contributing.

Known limitations

Work is currently underway to add validation status codes using the same mechanism that the core C2PA SDK follows itself. This may result in some API changes.

The CAWG SDK does not currently support the optional fields named:

  • expected_partial_claim
  • expected_claim_generator
  • expected_countersigners

Requirements

The toolkit requires Rust version 1.82.0 or newer. When a newer version of Rust becomes required, a new minor (0.x.0) version of this crate will be released.

Supported platforms

The toolkit has been tested on the following operating systems:

  • Windows

    • Only the MSVC build chain is supported on Windows. We would welcome a PR to enable GNU build chain support on Windows.
  • MacOS (Intel and Apple silicon)

  • Ubuntu Linux on x86 and ARM v8 (aarch64)

  • WebAssembly System Interface (WASI)

License

The cawg-identity crate is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

Some components and dependent crates are licensed under different terms; please check the license terms for each crate and component for details.

Dependencies

~38–56MB
~1M SLoC