veil-core
v0.6.1
Published
Shared contracts for [Veil](https://github.com/SiyahKale0/veil) — a privacy-first, user-held trust layer. Prove something true about you without revealing who you are.
Readme
veil-core
Shared contracts for Veil — a privacy-first, user-held trust layer. Prove something true about you without revealing who you are.
veil-core has no crypto of its own; it defines the seams every scheme plugs into:
Presenter,Verifier,Credential,PresentationRequest,DisclosedClaimsCredentialStore(+InMemoryStore)ConsentManager,ConsentDecisionCredentialSchemaof named, typed claims (validateClaims,claimNames)NonceStore(+InMemoryNonceStore) for single-use, time-limited noncesKeyResolver/keyringfor issuer key rotation- A typed error hierarchy (
VeilError,VerificationError,MalformedInputError, …) and small validation guards for untrusted input
Isomorphic: runs in Node and the browser (Web Crypto + standard globals only).
npm install veil-coreStatus
Not production-ready. The cryptography in the Veil packages has not been
independently audited. See the repository
and its SECURITY.md.
License
Apache-2.0
