@agenticprimitives/privacy-credentials 0.0.0-alpha.20 → 0.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -56,16 +56,24 @@ links this presentation to the same holder's presentations elsewhere.
|
|
|
56
56
|
|
|
57
57
|
## Design rules
|
|
58
58
|
|
|
59
|
-
- **One suite per proof request** (ADR-0013): `sd-jwt`
|
|
60
|
-
`
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
- **One suite per proof request** (ADR-0013): `sd-jwt` (selective disclosure of claim values under a pairwise
|
|
60
|
+
pseudonym) and `openac-sd-jwt-p256` (zero-knowledge predicates over the same credential — no value, no credential, no
|
|
61
|
+
issuer signature and no device key reach the verifier); `bbs-bls12381-g2`, `anoncreds-v1` and `zk-predicate` are
|
|
62
|
+
reserved enum slots that reject, never a fallback ladder.
|
|
63
|
+
- **Predicates reject on sd-jwt** — that suite can't prove `amount <= limit`; refusing beats silently revealing the
|
|
64
|
+
field. A request with predicates names `openac-sd-jwt-p256`, whose proving backend is injected
|
|
65
|
+
(`ProvingBackendPort`; `@agenticprimitives/privacy-credentials-openac` binds openac-sdk).
|
|
66
|
+
- **One visit per audience**: a presentation may carry a nullifier (`deriveNullifier`), deterministic per device key
|
|
67
|
+
and audience, which the verifier's store consumes. Its grade is `asserted` — OpenAC emits no nullifier in-circuit —
|
|
68
|
+
and the receipt says so.
|
|
63
69
|
- **Issuer facet first**: a revoked or unresolvable spec-304 facet fails the whole presentation.
|
|
64
70
|
- Dependency-free (WebCrypto only — Node ≥ 20 and workerd); chain reads and KMS signing are
|
|
65
71
|
injected ports.
|
|
66
72
|
|
|
67
73
|
## Status
|
|
68
74
|
|
|
69
|
-
`
|
|
70
|
-
spec-304
|
|
71
|
-
|
|
75
|
+
Live (zkID Z1–Z6, spec 444): the `sd-jwt` suite with pairwise pseudonyms; the `openac-sd-jwt-p256` predicate suite
|
|
76
|
+
over an injected proving port; spec-304 issuer facets resolved and re-verified through the chain; nullifiers; status
|
|
77
|
+
presentations against the issuer's live-credential row (`@agenticprimitives/estate-projection`). A federation door
|
|
78
|
+
admits a nameless visitor on "over 18 and a member of your organization", with a credential the organization's own
|
|
79
|
+
agent issued and a device key the key service holds. Reserved: BBS, AnonCreds and an in-circuit nullifier.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticprimitives/privacy-credentials",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.21",
|
|
4
4
|
"description": "Privacy presentation layer (spec 305 / G-6): selectively-disclosed SD-JWT VC presentations, pairwise relationship pseudonyms, spec-304 issuer-key facet verification. One suite per request, never a fallback ladder.",
|
|
5
5
|
"homepage": "https://agenticprimitives.dev",
|
|
6
6
|
"bugs": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"vitest": "^4.1.11",
|
|
38
38
|
"@types/node": "^22.7.0",
|
|
39
|
-
"@agenticprimitives/types": "1.0.0-alpha.
|
|
39
|
+
"@agenticprimitives/types": "1.0.0-alpha.45"
|
|
40
40
|
},
|
|
41
41
|
"keywords": [
|
|
42
42
|
"agentic",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"agentic-trust"
|
|
53
53
|
],
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@agenticprimitives/types": "^1.0.0-alpha.
|
|
55
|
+
"@agenticprimitives/types": "^1.0.0-alpha.45"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsc -p tsconfig.build.json",
|