tzap-plugin-signing
tzap-plugin-signing adds RootAuth signing profiles for tzap archives. It is
the companion crate for applications that want signed v41 RootAuth archives on
top of the standalone tzap-core archive foundation.
The first profile is ed25519_raw, which implements the v41 optional Ed25519
RootAuth authenticator (authenticator_id = 0x0002). The crate signs and
verifies the domain-separated v41 signing input from tzap-core request and
footer types. Core provides archive-root recomputation and verification gates;
this crate provides the signing profile logic.
Install
[]
= "0.1.1"
= "0.1.0"
Architecture
tzap-core is the standalone archive foundation. Projects choose the compact
core surface for archive workflows, or add this companion crate for signed
RootAuth workflows and public no-key verification.
tzap-core archive format, RootAuth material, verifier gates
tzap-plugin-signing Ed25519 profile and future signing profiles
tzap CLI composes core plus signing plugin
Future certificate profiles can live in this crate as additional modules while keeping core independent.
Example
use SigningKey;
use RootAuthSigningRequest;
use ed25519_raw;
let signing_key = from_bytes;
let request = RootAuthSigningRequest ;
let authenticator_value =
authenticator_value_for_request;
assert_eq!;
Ed25519 Raw Profile
The ed25519_raw module provides:
ED25519_AUTHENTICATOR_ID = 0x0002ED25519_AUTHENTICATOR_VALUE_LEN = 68authenticator_value_for_requestfor core writer callbacksverify_root_auth_footerfor core verifier callbacks- distinct outcome types for profile data quality, reserved identity classes, self-signed consistency, key-holding RootAuth verification, and public no-key commitment verification
More Information
- Repository: https://github.com/frankmanzhu/tzap
- Core crate: https://crates.io/crates/tzap-core
- CLI crate: https://crates.io/crates/tzap
- Format specification: https://github.com/frankmanzhu/tzap/blob/main/specs/tzap-format-revisedv41.md