@passportsign/core
v0.1.0
Published
Core primitives for passportsign: canonical serialization, in-toto Statement v1 builder, binding bundle format, GitHub gist check, Rekor client, RFC 6962 Merkle, DSSE envelope, bundle verifier. Apache-2.0.
Maintainers
Readme
@passportsign/core
Core primitives for passportsign — the Sigstore-adjacent personhood-attestation toolkit. Binds a GitHub account to a passport-holding human via zkPassport and logs the binding to the public Sigstore Rekor transparency log as an in-toto attestation.
This package contains the protocol primitives. See
@passportsign/cli
for the user-facing tool.
What's in here
canonical— RFC 8785 JCS canonical serializationstatement— in-toto Statement v1 builder with ourpassportsign.dev/personhood/v1predicate typebundle—binding.passportsign.jsonportable formatgithub— gist control check with full §4 error vocabularylog/rekor— Rekor client (intoto v0.0.2, log info, consistency proofs)merkle— RFC 6962 Merkle inclusion + consistency verificationdsse— DSSE envelope builder (ephemeral ECDSA P-256)verifier— full bundle verifierbadge— self-contained inline SVG badgestorage/sqlite— local cache (separate export to avoid bundlingnode:sqlite)
Spec
Full v0.4 spec at
docs/passportsign.md
in the source repo. The v0 acceptance evidence — including a live
real-passport Rekor entry — is at
docs/v0-acceptance.md.
License
Apache-2.0
