@interop/wallet-core 0.61.0 → 0.65.0
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 +41 -16
- package/dist/clientAnnex/credentialAnchoredGenesis.d.ts +46 -26
- package/dist/clientAnnex/credentialAnchoredGenesis.d.ts.map +1 -1
- package/dist/clientAnnex/credentialAnchoredGenesis.js +91 -39
- package/dist/clientAnnex/credentialAnchoredGenesis.js.map +1 -1
- package/dist/clientAnnex/establish.d.ts +55 -34
- package/dist/clientAnnex/establish.d.ts.map +1 -1
- package/dist/clientAnnex/establish.js +102 -56
- package/dist/clientAnnex/establish.js.map +1 -1
- package/dist/clientAnnex/forget.d.ts +16 -2
- package/dist/clientAnnex/forget.d.ts.map +1 -1
- package/dist/clientAnnex/forget.js +11 -9
- package/dist/clientAnnex/forget.js.map +1 -1
- package/dist/clientAnnex/forgetLast.d.ts +126 -35
- package/dist/clientAnnex/forgetLast.d.ts.map +1 -1
- package/dist/clientAnnex/forgetLast.js +208 -60
- package/dist/clientAnnex/forgetLast.js.map +1 -1
- package/dist/clientAnnex/gc.d.ts +3 -2
- package/dist/clientAnnex/gc.d.ts.map +1 -1
- package/dist/clientAnnex/gc.js +7 -7
- package/dist/clientAnnex/gc.js.map +1 -1
- package/dist/clientAnnex/heal.d.ts +101 -33
- package/dist/clientAnnex/heal.d.ts.map +1 -1
- package/dist/clientAnnex/heal.js +559 -212
- package/dist/clientAnnex/heal.js.map +1 -1
- package/dist/clientAnnex/index.d.ts +21 -5
- package/dist/clientAnnex/index.d.ts.map +1 -1
- package/dist/clientAnnex/index.js +24 -5
- package/dist/clientAnnex/index.js.map +1 -1
- package/dist/clientAnnex/ladder.d.ts +304 -18
- package/dist/clientAnnex/ladder.d.ts.map +1 -1
- package/dist/clientAnnex/ladder.js +942 -64
- package/dist/clientAnnex/ladder.js.map +1 -1
- package/dist/clientAnnex/ladderAnchored.d.ts +261 -28
- package/dist/clientAnnex/ladderAnchored.d.ts.map +1 -1
- package/dist/clientAnnex/ladderAnchored.js +521 -295
- package/dist/clientAnnex/ladderAnchored.js.map +1 -1
- package/dist/clientAnnex/log.d.ts +193 -38
- package/dist/clientAnnex/log.d.ts.map +1 -1
- package/dist/clientAnnex/log.js +445 -190
- package/dist/clientAnnex/log.js.map +1 -1
- package/dist/clientAnnex/mend.d.ts +12 -6
- package/dist/clientAnnex/mend.d.ts.map +1 -1
- package/dist/clientAnnex/mend.js +26 -12
- package/dist/clientAnnex/mend.js.map +1 -1
- package/dist/clientAnnex/recoveryLadderAnchored.d.ts +38 -11
- package/dist/clientAnnex/recoveryLadderAnchored.d.ts.map +1 -1
- package/dist/clientAnnex/recoveryLadderAnchored.js +177 -55
- package/dist/clientAnnex/recoveryLadderAnchored.js.map +1 -1
- package/dist/clientAnnex/spaceCapability.d.ts +123 -0
- package/dist/clientAnnex/spaceCapability.d.ts.map +1 -0
- package/dist/clientAnnex/spaceCapability.js +152 -0
- package/dist/clientAnnex/spaceCapability.js.map +1 -0
- package/dist/clientAnnex/stages.d.ts +63 -0
- package/dist/clientAnnex/stages.d.ts.map +1 -0
- package/dist/clientAnnex/stages.js +64 -0
- package/dist/clientAnnex/stages.js.map +1 -0
- package/dist/clientAnnex/zcap.d.ts +1 -1
- package/dist/clientAnnex/zcap.d.ts.map +1 -1
- package/dist/clientAnnex/zcap.js +42 -35
- package/dist/clientAnnex/zcap.js.map +1 -1
- package/dist/clients/policy.d.ts +15 -1
- package/dist/clients/policy.d.ts.map +1 -1
- package/dist/clients/policy.js +12 -6
- package/dist/clients/policy.js.map +1 -1
- package/dist/clients/revocation.d.ts +18 -10
- package/dist/clients/revocation.d.ts.map +1 -1
- package/dist/clients/revocation.js +13 -5
- package/dist/clients/revocation.js.map +1 -1
- package/dist/clients/rosterPolicy.d.ts +10 -2
- package/dist/clients/rosterPolicy.d.ts.map +1 -1
- package/dist/clients/rosterPolicy.js +41 -24
- package/dist/clients/rosterPolicy.js.map +1 -1
- package/dist/descriptors/acquire.d.ts.map +1 -1
- package/dist/descriptors/acquire.js +6 -23
- package/dist/descriptors/acquire.js.map +1 -1
- package/dist/descriptors/cipher.d.ts.map +1 -1
- package/dist/descriptors/cipher.js +5 -0
- package/dist/descriptors/cipher.js.map +1 -1
- package/dist/descriptors/errors.d.ts +43 -0
- package/dist/descriptors/errors.d.ts.map +1 -0
- package/dist/descriptors/errors.js +45 -0
- package/dist/descriptors/errors.js.map +1 -0
- package/dist/descriptors/index.d.ts +5 -0
- package/dist/descriptors/index.d.ts.map +1 -1
- package/dist/descriptors/index.js +5 -0
- package/dist/descriptors/index.js.map +1 -1
- package/dist/enrollment/enrollment.d.ts +37 -10
- package/dist/enrollment/enrollment.d.ts.map +1 -1
- package/dist/enrollment/enrollment.js +52 -15
- package/dist/enrollment/enrollment.js.map +1 -1
- package/dist/genesis/accountGenesis.d.ts +42 -11
- package/dist/genesis/accountGenesis.d.ts.map +1 -1
- package/dist/genesis/accountGenesis.js +80 -22
- package/dist/genesis/accountGenesis.js.map +1 -1
- package/dist/genesis/index.d.ts +3 -1
- package/dist/genesis/index.d.ts.map +1 -1
- package/dist/genesis/index.js +3 -1
- package/dist/genesis/index.js.map +1 -1
- package/dist/identity/agents.d.ts +17 -1
- package/dist/identity/agents.d.ts.map +1 -1
- package/dist/identity/agents.js +24 -8
- package/dist/identity/agents.js.map +1 -1
- package/dist/identity/index.d.ts +3 -1
- package/dist/identity/index.d.ts.map +1 -1
- package/dist/identity/index.js +3 -1
- package/dist/identity/index.js.map +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/keyring/index.d.ts +2 -1
- package/dist/keyring/index.d.ts.map +1 -1
- package/dist/keyring/index.js +2 -1
- package/dist/keyring/index.js.map +1 -1
- package/dist/keyring/record.d.ts.map +1 -1
- package/dist/keyring/record.js +3 -6
- package/dist/keyring/record.js.map +1 -1
- package/dist/keyring/unlockSpace.d.ts +14 -5
- package/dist/keyring/unlockSpace.d.ts.map +1 -1
- package/dist/keyring/unlockSpace.js +31 -36
- package/dist/keyring/unlockSpace.js.map +1 -1
- package/dist/keys/index.d.ts +10 -6
- package/dist/keys/index.d.ts.map +1 -1
- package/dist/keys/index.js +9 -5
- package/dist/keys/index.js.map +1 -1
- package/dist/keys/rosterLogStore.d.ts +12 -11
- package/dist/keys/rosterLogStore.d.ts.map +1 -1
- package/dist/keys/rosterLogStore.js +15 -13
- package/dist/keys/rosterLogStore.js.map +1 -1
- package/dist/keys/rosterStore.d.ts +3 -6
- package/dist/keys/rosterStore.d.ts.map +1 -1
- package/dist/keys/rosterStore.js +10 -9
- package/dist/keys/rosterStore.js.map +1 -1
- package/dist/keys/spaceEpochs.d.ts.map +1 -1
- package/dist/keys/spaceEpochs.js +2 -3
- package/dist/keys/spaceEpochs.js.map +1 -1
- package/dist/keys/userKeyRoster.d.ts +89 -9
- package/dist/keys/userKeyRoster.d.ts.map +1 -1
- package/dist/keys/userKeyRoster.js +262 -19
- package/dist/keys/userKeyRoster.js.map +1 -1
- package/dist/keys/userKeyRosterCascade.d.ts +7 -6
- package/dist/keys/userKeyRosterCascade.d.ts.map +1 -1
- package/dist/keys/userKeyRosterCascade.js +7 -6
- package/dist/keys/userKeyRosterCascade.js.map +1 -1
- package/dist/keys/wasLabelsStore.d.ts +9 -2
- package/dist/keys/wasLabelsStore.d.ts.map +1 -1
- package/dist/keys/wasLabelsStore.js +14 -6
- package/dist/keys/wasLabelsStore.js.map +1 -1
- package/dist/log.d.ts +7 -2
- package/dist/log.d.ts.map +1 -1
- package/dist/log.js +6 -1
- package/dist/log.js.map +1 -1
- package/dist/recovery/index.d.ts +12 -8
- package/dist/recovery/index.d.ts.map +1 -1
- package/dist/recovery/index.js +11 -7
- package/dist/recovery/index.js.map +1 -1
- package/dist/recovery/recoveryCode.d.ts +27 -7
- package/dist/recovery/recoveryCode.d.ts.map +1 -1
- package/dist/recovery/recoveryCode.js +18 -6
- package/dist/recovery/recoveryCode.js.map +1 -1
- package/dist/recovery/recoveryDelegation.d.ts +4 -1
- package/dist/recovery/recoveryDelegation.d.ts.map +1 -1
- package/dist/recovery/recoveryDelegation.js +25 -36
- package/dist/recovery/recoveryDelegation.js.map +1 -1
- package/dist/recovery/recoveryWebvh.d.ts +117 -65
- package/dist/recovery/recoveryWebvh.d.ts.map +1 -1
- package/dist/recovery/recoveryWebvh.js +279 -126
- package/dist/recovery/recoveryWebvh.js.map +1 -1
- package/dist/request/classify.d.ts +32 -8
- package/dist/request/classify.d.ts.map +1 -1
- package/dist/request/classify.js +39 -14
- package/dist/request/classify.js.map +1 -1
- package/dist/request/ephemeralExchange.d.ts +1 -6
- package/dist/request/ephemeralExchange.d.ts.map +1 -1
- package/dist/request/ephemeralExchange.js.map +1 -1
- package/dist/request/onboarding.d.ts.map +1 -1
- package/dist/request/onboarding.js +2 -2
- package/dist/request/onboarding.js.map +1 -1
- package/dist/request/parse.d.ts.map +1 -1
- package/dist/request/parse.js +2 -3
- package/dist/request/parse.js.map +1 -1
- package/dist/resourceLog/controller.d.ts +34 -12
- package/dist/resourceLog/controller.d.ts.map +1 -1
- package/dist/resourceLog/controller.js +79 -86
- package/dist/resourceLog/controller.js.map +1 -1
- package/dist/resourceLog/document.d.ts +182 -0
- package/dist/resourceLog/document.d.ts.map +1 -0
- package/dist/resourceLog/document.js +159 -0
- package/dist/resourceLog/document.js.map +1 -0
- package/dist/resourceLog/errors.d.ts +47 -8
- package/dist/resourceLog/errors.d.ts.map +1 -1
- package/dist/resourceLog/errors.js +54 -8
- package/dist/resourceLog/errors.js.map +1 -1
- package/dist/resourceLog/index.d.ts +7 -3
- package/dist/resourceLog/index.d.ts.map +1 -1
- package/dist/resourceLog/index.js +7 -3
- package/dist/resourceLog/index.js.map +1 -1
- package/dist/resourceLog/ladderRungs.d.ts +35 -0
- package/dist/resourceLog/ladderRungs.d.ts.map +1 -0
- package/dist/resourceLog/ladderRungs.js +352 -0
- package/dist/resourceLog/ladderRungs.js.map +1 -0
- package/dist/resourceLog/license.d.ts +42 -17
- package/dist/resourceLog/license.d.ts.map +1 -1
- package/dist/resourceLog/license.js +38 -24
- package/dist/resourceLog/license.js.map +1 -1
- package/dist/space/activity.d.ts +15 -15
- package/dist/space/activity.d.ts.map +1 -1
- package/dist/space/activity.js +15 -15
- package/dist/space/activity.js.map +1 -1
- package/dist/space/collections.d.ts +11 -0
- package/dist/space/collections.d.ts.map +1 -1
- package/dist/space/collections.js +13 -0
- package/dist/space/collections.js.map +1 -1
- package/dist/space/deleteSpace.d.ts +28 -0
- package/dist/space/deleteSpace.d.ts.map +1 -0
- package/dist/space/deleteSpace.js +44 -0
- package/dist/space/deleteSpace.js.map +1 -0
- package/dist/space/errors.d.ts.map +1 -1
- package/dist/space/errors.js +0 -1
- package/dist/space/errors.js.map +1 -1
- package/dist/space/index.d.ts +6 -0
- package/dist/space/index.d.ts.map +1 -1
- package/dist/space/index.js +6 -0
- package/dist/space/index.js.map +1 -1
- package/dist/space/plaintextCollection.d.ts +43 -0
- package/dist/space/plaintextCollection.d.ts.map +1 -0
- package/dist/space/plaintextCollection.js +17 -0
- package/dist/space/plaintextCollection.js.map +1 -0
- package/dist/stages.d.ts +23 -0
- package/dist/stages.d.ts.map +1 -0
- package/dist/stages.js +23 -0
- package/dist/stages.js.map +1 -0
- package/dist/sync/index.d.ts +7 -0
- package/dist/sync/index.d.ts.map +1 -1
- package/dist/sync/index.js +7 -0
- package/dist/sync/index.js.map +1 -1
- package/dist/sync/push.js +4 -4
- package/dist/sync/push.js.map +1 -1
- package/dist/sync/remint.js +2 -2
- package/dist/sync/remint.js.map +1 -1
- package/dist/sync/types.d.ts +41 -1
- package/dist/sync/types.d.ts.map +1 -1
- package/dist/sync/types.js +47 -1
- package/dist/sync/types.js.map +1 -1
- package/dist/unlock/index.d.ts +6 -2
- package/dist/unlock/index.d.ts.map +1 -1
- package/dist/unlock/index.js +5 -1
- package/dist/unlock/index.js.map +1 -1
- package/dist/unlock/retire.d.ts +95 -14
- package/dist/unlock/retire.d.ts.map +1 -1
- package/dist/unlock/retire.js +102 -10
- package/dist/unlock/retire.js.map +1 -1
- package/dist/unlock/standingClient.d.ts.map +1 -1
- package/dist/unlock/standingClient.js +5 -1
- package/dist/unlock/standingClient.js.map +1 -1
- package/dist/unlock/standingWebvh.d.ts +341 -49
- package/dist/unlock/standingWebvh.d.ts.map +1 -1
- package/dist/unlock/standingWebvh.js +608 -164
- package/dist/unlock/standingWebvh.js.map +1 -1
- package/dist/webvh/accountEntry.d.ts +146 -0
- package/dist/webvh/accountEntry.d.ts.map +1 -0
- package/dist/webvh/accountEntry.js +239 -0
- package/dist/webvh/accountEntry.js.map +1 -0
- package/dist/webvh/didWeb.d.ts +12 -7
- package/dist/webvh/didWeb.d.ts.map +1 -1
- package/dist/webvh/didWeb.js +2 -2
- package/dist/webvh/didWeb.js.map +1 -1
- package/dist/webvh/didWebProjection.d.ts +164 -0
- package/dist/webvh/didWebProjection.d.ts.map +1 -0
- package/dist/webvh/didWebProjection.js +230 -0
- package/dist/webvh/didWebProjection.js.map +1 -0
- package/dist/webvh/didWebvh.d.ts +278 -138
- package/dist/webvh/didWebvh.d.ts.map +1 -1
- package/dist/webvh/didWebvh.js +314 -345
- package/dist/webvh/didWebvh.js.map +1 -1
- package/dist/webvh/enrollClient.d.ts +65 -0
- package/dist/webvh/enrollClient.d.ts.map +1 -0
- package/dist/webvh/enrollClient.js +172 -0
- package/dist/webvh/enrollClient.js.map +1 -0
- package/dist/webvh/index.d.ts +37 -12
- package/dist/webvh/index.d.ts.map +1 -1
- package/dist/webvh/index.js +33 -10
- package/dist/webvh/index.js.map +1 -1
- package/dist/webvh/listClients.d.ts +1 -33
- package/dist/webvh/listClients.d.ts.map +1 -1
- package/dist/webvh/listClients.js +2 -28
- package/dist/webvh/listClients.js.map +1 -1
- package/dist/webvh/revokeClient.d.ts +89 -11
- package/dist/webvh/revokeClient.d.ts.map +1 -1
- package/dist/webvh/revokeClient.js +182 -47
- package/dist/webvh/revokeClient.js.map +1 -1
- package/dist/webvh/standingZcap.d.ts +61 -14
- package/dist/webvh/standingZcap.d.ts.map +1 -1
- package/dist/webvh/standingZcap.js +91 -0
- package/dist/webvh/standingZcap.js.map +1 -1
- package/dist/webvh/verifyLog.d.ts +59 -5
- package/dist/webvh/verifyLog.d.ts.map +1 -1
- package/dist/webvh/verifyLog.js +76 -11
- package/dist/webvh/verifyLog.js.map +1 -1
- package/dist/webvh/wasIdStore.d.ts +8 -8
- package/dist/webvh/wasIdStore.d.ts.map +1 -1
- package/dist/webvh/wasIdStore.js +39 -14
- package/dist/webvh/wasIdStore.js.map +1 -1
- package/dist/webvh/zcap.d.ts +14 -1
- package/dist/webvh/zcap.d.ts.map +1 -1
- package/dist/webvh/zcap.js +3 -27
- package/dist/webvh/zcap.js.map +1 -1
- package/package.json +5 -5
- package/dist/webvh/keyAgreement.d.ts +0 -72
- package/dist/webvh/keyAgreement.d.ts.map +0 -1
- package/dist/webvh/keyAgreement.js +0 -47
- package/dist/webvh/keyAgreement.js.map +0 -1
|
@@ -75,7 +75,7 @@ function asDescriptorStoreConflict(err) {
|
|
|
75
75
|
* roster -- writes entries carrying the post-edit head it now verifies,
|
|
76
76
|
* which is exactly what makes its rotation the sealing append. The revocation
|
|
77
77
|
* orchestrator does not leave that freshness to the injected resolver's
|
|
78
|
-
* wiring: it calls `
|
|
78
|
+
* wiring: it calls `setMinimumControllerVersion` with the view built from the edit's
|
|
79
79
|
* own post-edit log, and a resolver still serving a stale cached view is
|
|
80
80
|
* superseded by it (see the interface doc).
|
|
81
81
|
*
|
|
@@ -103,19 +103,21 @@ export function logGovernedDescriptorStore({ log, resolveController, pinStore, l
|
|
|
103
103
|
// THAT view's version list, so a replace may only run it against a view
|
|
104
104
|
// this one is a prefix of.
|
|
105
105
|
let lastVerifiedView = null;
|
|
106
|
-
// The
|
|
107
|
-
|
|
106
|
+
// The minimum controller version a post-edit ceremony set (see the
|
|
107
|
+
// interface doc).
|
|
108
|
+
let minimumControllerVersion = null;
|
|
108
109
|
async function currentController() {
|
|
109
110
|
const resolved = await resolveController();
|
|
110
|
-
if (
|
|
111
|
+
if (minimumControllerVersion === null) {
|
|
111
112
|
return resolved;
|
|
112
113
|
}
|
|
113
|
-
const
|
|
114
|
-
// A resolved view carrying the
|
|
115
|
-
//
|
|
116
|
-
//
|
|
117
|
-
if (
|
|
118
|
-
|
|
114
|
+
const minimumHead = minimumControllerVersion.versionIds[minimumControllerVersion.versionIds.length - 1];
|
|
115
|
+
// A resolved view carrying the minimum's head version is at or past it
|
|
116
|
+
// (the controller-log version list is append-only) and wins; one that
|
|
117
|
+
// does not is a stale cache the minimum supersedes.
|
|
118
|
+
if (minimumHead !== undefined &&
|
|
119
|
+
!resolved.versionIds.includes(minimumHead)) {
|
|
120
|
+
return minimumControllerVersion;
|
|
119
121
|
}
|
|
120
122
|
return resolved;
|
|
121
123
|
}
|
|
@@ -177,7 +179,7 @@ export function logGovernedDescriptorStore({ log, resolveController, pinStore, l
|
|
|
177
179
|
// account log is append-only, so carrying its head version is enough).
|
|
178
180
|
// A resolver that regressed is reported as the port's conflict class,
|
|
179
181
|
// so the edv machinery re-reads under the current view and rebases
|
|
180
|
-
// instead of the pass refusing on a
|
|
182
|
+
// instead of the pass refusing on a bound that indexes another list.
|
|
181
183
|
const verifiedHead = lastVerifiedView?.versionIds[lastVerifiedView.versionIds.length - 1];
|
|
182
184
|
if (verifiedHead !== undefined &&
|
|
183
185
|
!controller.versionIds.includes(verifiedHead)) {
|
|
@@ -300,8 +302,8 @@ export function logGovernedDescriptorStore({ log, resolveController, pinStore, l
|
|
|
300
302
|
}
|
|
301
303
|
return sealed ? 'sealed' : 'noop';
|
|
302
304
|
},
|
|
303
|
-
|
|
304
|
-
|
|
305
|
+
setMinimumControllerVersion({ controller }) {
|
|
306
|
+
minimumControllerVersion = controller;
|
|
305
307
|
}
|
|
306
308
|
};
|
|
307
309
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rosterLogStore.js","sourceRoot":"","sources":["../../src/keys/rosterLogStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EACL,uBAAuB,EAExB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,aAAa,EACb,0BAA0B,EAC1B,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EAKxB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAAE,8BAA8B,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"rosterLogStore.js","sourceRoot":"","sources":["../../src/keys/rosterLogStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EACL,uBAAuB,EAExB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,aAAa,EACb,0BAA0B,EAC1B,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EAKxB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAAE,8BAA8B,EAAE,CAAA;AA8BzC;;;;;;;;GAQG;AACH,MAAM,UAAU,yBAAyB,CACvC,KAAgC;IAEhC,OAAO,CACL,OAAQ,KAAoD,CAAC,IAAI;QACjE,UAAU,CACX,CAAA;AACH,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAS,yBAAyB,CAAC,GAAY;IAC7C,IAAI,0BAA0B,CAAC,GAA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CAAC,YAAY,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC;aAC7D,CAAC,CAAA;YACF,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;gBACtB,YAAY,GAAG,QAAQ,CAAA;gBACvB,gBAAgB,GAAG,UAAU,CAAA;YAC/B,CAAC;YACD,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAA;QACnC,CAAC;QAED,2BAA2B,CAAC,EAAE,UAAU,EAAE;YACxC,wBAAwB,GAAG,UAAU,CAAA;QACvC,CAAC;KACF,CAAA;AACH,CAAC"}
|
|
@@ -9,12 +9,9 @@
|
|
|
9
9
|
* cipher) is built: it takes the bare signing client instead of a store
|
|
10
10
|
* instance.
|
|
11
11
|
*
|
|
12
|
-
* The
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* encryption error rather than as an absent roster; and on an encrypted
|
|
16
|
-
* collection the EDV codec would compute the write preconditions itself, so
|
|
17
|
-
* the log's compare-and-swap append guard would not be honored.
|
|
12
|
+
* The log resource is addressed through {@link plaintextCollection}, whose
|
|
13
|
+
* override keeps an absent roster a 404 rather than an encryption error and
|
|
14
|
+
* leaves the log's compare-and-swap append guard intact.
|
|
18
15
|
*/
|
|
19
16
|
import { type IZcap } from '@interop/was-client';
|
|
20
17
|
import type { ZcapClient } from '@interop/ezcap';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rosterStore.d.ts","sourceRoot":"","sources":["../../src/keys/rosterStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH
|
|
1
|
+
{"version":3,"file":"rosterStore.d.ts","sourceRoot":"","sources":["../../src/keys/rosterStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;GAWG;AACH,OAAO,EAAa,KAAK,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACvB,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAA;AAMzE,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,qBAAqB,CAAA;AAE5B;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAM3E;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,gBAAgB,EAChB,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,UAAU,EACX,EAAE;IACD,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,iBAAiB,EAAE,MAAM,OAAO,CAAC,0BAA0B,CAAC,CAAA;IAC5D,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,MAAM,EAAE,iBAAiB,CAAA;IACzB,UAAU,CAAC,EAAE,KAAK,CAAA;CACnB,GAAG,iCAAiC,CAiBpC"}
|
package/dist/keys/rosterStore.js
CHANGED
|
@@ -9,17 +9,15 @@
|
|
|
9
9
|
* cipher) is built: it takes the bare signing client instead of a store
|
|
10
10
|
* instance.
|
|
11
11
|
*
|
|
12
|
-
* The
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* encryption error rather than as an absent roster; and on an encrypted
|
|
16
|
-
* collection the EDV codec would compute the write preconditions itself, so
|
|
17
|
-
* the log's compare-and-swap append guard would not be honored.
|
|
12
|
+
* The log resource is addressed through {@link plaintextCollection}, whose
|
|
13
|
+
* override keeps an absent roster a 404 rather than an encryption error and
|
|
14
|
+
* leaves the log's compare-and-swap append guard intact.
|
|
18
15
|
*/
|
|
19
16
|
import { WasClient } from '@interop/was-client';
|
|
20
17
|
import { resourceLogStore } from '@interop/was-client/log';
|
|
21
18
|
import { resourceLogPinId } from '@interop/vh-resource-log';
|
|
22
19
|
import { KEY_MAP_COLLECTION, USER_KEY_ROSTER_LOG_RESOURCE } from '../space/collections.js';
|
|
20
|
+
import { plaintextCollection } from '../space/plaintextCollection.js';
|
|
23
21
|
import { logGovernedDescriptorStore } from './rosterLogStore.js';
|
|
24
22
|
/**
|
|
25
23
|
* The pin-slot key for a Space's user key roster log
|
|
@@ -63,9 +61,12 @@ export function userKeyRosterPinId({ spaceId }) {
|
|
|
63
61
|
*/
|
|
64
62
|
export function userKeyRosterDescriptorStore({ storageServerUrl, zcapClient, spaceId, resolveController, pinStore, signer, capability }) {
|
|
65
63
|
const was = new WasClient({ serverUrl: storageServerUrl, zcapClient });
|
|
66
|
-
const collection =
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
const collection = plaintextCollection({
|
|
65
|
+
was,
|
|
66
|
+
spaceId,
|
|
67
|
+
collectionId: KEY_MAP_COLLECTION.id,
|
|
68
|
+
capability
|
|
69
|
+
});
|
|
69
70
|
return logGovernedDescriptorStore({
|
|
70
71
|
log: resourceLogStore({
|
|
71
72
|
resource: collection.resource(USER_KEY_ROSTER_LOG_RESOURCE)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rosterStore.js","sourceRoot":"","sources":["../../src/keys/rosterStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH
|
|
1
|
+
{"version":3,"file":"rosterStore.js","sourceRoot":"","sources":["../../src/keys/rosterStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,SAAS,EAAc,MAAM,qBAAqB,CAAA;AAE3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EACL,gBAAgB,EAGjB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EACL,kB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CollectionIds } from '../space/collections.js';
|
|
3
3
|
import { userKeyAsRecipient } from './userKeyCascade.js';
|
|
4
4
|
/**
|
|
5
5
|
* Installs key epoch[0] on a collection together with its blinded-index HMAC
|
|
@@ -90,8 +90,7 @@ export async function ensureIndexedFirstEpoch({ collection, recipients }) {
|
|
|
90
90
|
* existing roster was adopted), plus the collections that failed
|
|
91
91
|
*/
|
|
92
92
|
export async function ensureWalletSpaceEpochs({ was, spaceId, userKey, collectionIds, capability }) {
|
|
93
|
-
const ids = collectionIds ??
|
|
94
|
-
WALLET_SPACE_PROVISION_ROSTER.filter(spec => spec.encryption === 'edv').map(spec => spec.collectionId);
|
|
93
|
+
const ids = collectionIds ?? encryptedWalletCollectionIds();
|
|
95
94
|
const outcomes = {};
|
|
96
95
|
const failed = [];
|
|
97
96
|
await Promise.all(ids.map(async (collectionId) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spaceEpochs.js","sourceRoot":"","sources":["../../src/keys/spaceEpochs.ts"],"names":[],"mappings":"AAgCA,OAAO,EACL,gBAAgB,EAEjB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"spaceEpochs.js","sourceRoot":"","sources":["../../src/keys/spaceEpochs.ts"],"names":[],"mappings":"AAgCA,OAAO,EACL,gBAAgB,EAEjB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAiBxD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAAC,EAC5C,UAAU,EACV,UAAU,EAIX;IACC,IAAI,CAAC;QACH,OAAO,MAAM,gBAAgB,CAAC;YAC5B,UAAU;YACV,UAAU;YACV,YAAY,EAAE,IAAI;SACnB,CAAC,CAAA;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;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H,CAAA;IACD,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAA;AAC7B,CAAC"}
|
|
@@ -51,7 +51,7 @@ import type { IKeyAgreementKey } from '@interop/data-integrity-core';
|
|
|
51
51
|
import type { CollectionEncryption } from '@interop/was-client';
|
|
52
52
|
import { type EncryptionDescriptorStore, type RecipientPublicKey } from '@interop/was-client/edv';
|
|
53
53
|
import { type ResourceLogSigner } from '@interop/vh-resource-log';
|
|
54
|
-
import type { KeyAgreementDocument } from '../
|
|
54
|
+
import type { KeyAgreementDocument } from '../resourceLog/document.js';
|
|
55
55
|
import { type ICapabilityAgent } from '../webvh/zcap.js';
|
|
56
56
|
import type { UserKey } from './userKey.js';
|
|
57
57
|
/**
|
|
@@ -259,8 +259,13 @@ export declare function rotateUserKeyRoster({ store, document, retireRecipientId
|
|
|
259
259
|
* store
|
|
260
260
|
* @param options.document {KeyAgreementDocument} the locally verified
|
|
261
261
|
* did:webvh document, AFTER the continuation's entry
|
|
262
|
-
* @param options.retireRecipientIds {string[]} the retiring roster kids
|
|
263
|
-
* spent code's
|
|
262
|
+
* @param options.retireRecipientIds {string[]} the retiring roster kids: the
|
|
263
|
+
* spent code's, and every other pre-recovery credential's, since the
|
|
264
|
+
* continuation's entry retires them all in one go
|
|
265
|
+
* ({@link rosterRecipientsToRetire} names them). The document-backed
|
|
266
|
+
* resolver is the backstop rather than the mechanism -- a recipient the
|
|
267
|
+
* post-entry document no longer keys is dropped from the fresh epoch
|
|
268
|
+
* whether or not it is named here
|
|
264
269
|
* @param options.recipients {RecipientPublicKey[]} the incoming readers'
|
|
265
270
|
* public key-agreement keys; each `id` is the kid its own roster reads will
|
|
266
271
|
* look for
|
|
@@ -276,6 +281,55 @@ export declare function replaceUserKeyRosterRecipients({ store, document, retire
|
|
|
276
281
|
recipients: RecipientPublicKey[];
|
|
277
282
|
ownerKeyAgreementKey: IKeyAgreementKey;
|
|
278
283
|
}): Promise<CollectionEncryption>;
|
|
284
|
+
/**
|
|
285
|
+
* The current epoch's recipient kids minus the ones to keep -- what a
|
|
286
|
+
* recovery continuation hands `replaceUserKeyRosterRecipients` as
|
|
287
|
+
* `retireRecipientIds` once its entry has retired several credentials at
|
|
288
|
+
* once. Pure and synchronous: it reads the descriptor the caller already
|
|
289
|
+
* holds and decides nothing about who deserves a wrap.
|
|
290
|
+
*
|
|
291
|
+
* The keep set is the caller's: the fresh credential's kid, the replacement
|
|
292
|
+
* code's, and every surviving enrolled client's
|
|
293
|
+
* ({@link rosterRecipientKid} over the post-entry document). Naming a
|
|
294
|
+
* retiring kid is belt and braces -- the document-backed resolver
|
|
295
|
+
* ({@link userKeyRosterRecipientResolver}) already drops any recipient the
|
|
296
|
+
* post-entry document no longer keys -- but it keeps the retirement explicit
|
|
297
|
+
* in the one append the ceremony-tail license admits.
|
|
298
|
+
*
|
|
299
|
+
* @param options {object}
|
|
300
|
+
* @param options.descriptor {CollectionEncryption} the roster descriptor
|
|
301
|
+
* the rotation is about to replace
|
|
302
|
+
* @param options.keepRecipientIds {string[]} the kids that stay
|
|
303
|
+
* @returns {string[]} the current epoch's other kids, in epoch order
|
|
304
|
+
*/
|
|
305
|
+
export declare function rosterRecipientsToRetire({ descriptor, keepRecipientIds }: {
|
|
306
|
+
descriptor: CollectionEncryption;
|
|
307
|
+
keepRecipientIds: string[];
|
|
308
|
+
}): string[];
|
|
309
|
+
/**
|
|
310
|
+
* The enrolled clients the account document keys, as roster recipients. A
|
|
311
|
+
* client's `keyAgreement` twin carries the controller marker
|
|
312
|
+
* `did:key:<its signing multibase>` (`clientKeyAgreementController` is the one
|
|
313
|
+
* write-side builder), so the marker names the signing half and the method
|
|
314
|
+
* carries the key-agreement half -- together, exactly the pair
|
|
315
|
+
* {@link rosterRecipientKid} takes. That is what makes the escrow direction of
|
|
316
|
+
* the convergence possible from the document alone.
|
|
317
|
+
*
|
|
318
|
+
* A standing unlock credential is deliberately not here, and not because it is
|
|
319
|
+
* unwanted. Its roster kid names its standing client's SIGNING key, which the
|
|
320
|
+
* document never publishes: the document carries the credential's
|
|
321
|
+
* key-agreement key (or a commitment to it) and nothing else, so no reader can
|
|
322
|
+
* rebuild the kid its own roster reads look for. A credential's missing wrap
|
|
323
|
+
* is therefore mended by the ceremony that holds the credential, never here.
|
|
324
|
+
*
|
|
325
|
+
* @param options {object}
|
|
326
|
+
* @param options.document {KeyAgreementDocument} the locally verified
|
|
327
|
+
* did:webvh document
|
|
328
|
+
* @returns {RecipientPublicKey[]} in document order
|
|
329
|
+
*/
|
|
330
|
+
export declare function enrolledClientRosterRecipients({ document }: {
|
|
331
|
+
document: KeyAgreementDocument;
|
|
332
|
+
}): RecipientPublicKey[];
|
|
279
333
|
/**
|
|
280
334
|
* Converges the roster onto the account document: the standing detector for a
|
|
281
335
|
* revocation cascade torn between its two halves. The cascade edits the
|
|
@@ -288,9 +342,30 @@ export declare function replaceUserKeyRosterRecipients({ store, document, retire
|
|
|
288
342
|
* document-backed resolver cannot answer for is exactly a recipient the
|
|
289
343
|
* document no longer keys, so a healthy account reads the descriptor and
|
|
290
344
|
* writes nothing. When any such recipient is found the roster is rotated away
|
|
291
|
-
* from ALL of them at once
|
|
292
|
-
*
|
|
293
|
-
*
|
|
345
|
+
* from ALL of them at once, because the resolver drops every unbacked entry
|
|
346
|
+
* from the fresh epoch, not just the one named as retiring.
|
|
347
|
+
*
|
|
348
|
+
* The convergence runs in TWO directions, in one append. The retire direction
|
|
349
|
+
* is above. The escrow direction is its mirror: an enrolled client the
|
|
350
|
+
* document keys that holds no wrap in the current epoch is escrowed into every
|
|
351
|
+
* epoch ({@link enrolledClientRosterRecipients} names the candidates). That is
|
|
352
|
+
* the mender for a ceremony torn between the entry that published a client and
|
|
353
|
+
* the append that was to wrap the user key to it -- the one-request window a
|
|
354
|
+
* ladder-signed enrollment approval leaves, where the ladder's append is
|
|
355
|
+
* licensed only as the tail of its own entry and cannot precede it. A standing
|
|
356
|
+
* unlock credential is not a candidate: its roster kid names a signing key the
|
|
357
|
+
* document does not publish (see the helper), so its missing wrap is mended by
|
|
358
|
+
* the ceremony holding the credential.
|
|
359
|
+
*
|
|
360
|
+
* Either direction, and both together, cost exactly ONE descriptor write. A
|
|
361
|
+
* convergence needing both rides `replaceRecipient`; a pure escrow rides
|
|
362
|
+
* {@link escrowRosterRecipients}, which stages every missing recipient's
|
|
363
|
+
* wraps through was-client's `addRecipient` and writes once, so the user key
|
|
364
|
+
* is not rotated for a missing wrap and a ladder-signed convergence never
|
|
365
|
+
* needs a second append it has no license for. A healthy roster writes
|
|
366
|
+
* nothing at all. The escrow direction needs a key that unwraps every epoch,
|
|
367
|
+
* so it runs only for a caller that supplies `ownerKeyAgreementKey`; without
|
|
368
|
+
* one the retire direction runs alone.
|
|
294
369
|
*
|
|
295
370
|
* Rotating onto nobody is refused: a current epoch in which NO recipient is
|
|
296
371
|
* backed by the document is a mismatched pair (a stale document, the wrong
|
|
@@ -310,17 +385,22 @@ export declare function replaceUserKeyRosterRecipients({ store, document, retire
|
|
|
310
385
|
* @param [options.descriptor] {CollectionEncryption} a descriptor the caller
|
|
311
386
|
* has just read (a login-time roster read), to save a re-read; omitted, the
|
|
312
387
|
* roster is read fresh
|
|
388
|
+
* @param [options.ownerKeyAgreementKey] {IKeyAgreementKey} a key-agreement
|
|
389
|
+
* key holding a wrap in every epoch, unwrapping each one for the escrow
|
|
390
|
+
* direction; omitted, only the retire direction runs
|
|
313
391
|
* @returns {Promise<object>} whether the roster rotated on this call, the
|
|
314
|
-
* stale recipient kids found, and the roster descriptor
|
|
315
|
-
* (`null` when the account has no roster yet)
|
|
392
|
+
* stale recipient kids found, the kids escrowed, and the roster descriptor
|
|
393
|
+
* as it now stands (`null` when the account has no roster yet)
|
|
316
394
|
*/
|
|
317
|
-
export declare function convergeUserKeyRosterToDocument({ store, document, descriptor }: {
|
|
395
|
+
export declare function convergeUserKeyRosterToDocument({ store, document, descriptor, ownerKeyAgreementKey }: {
|
|
318
396
|
store: EncryptionDescriptorStore;
|
|
319
397
|
document: KeyAgreementDocument;
|
|
320
398
|
descriptor?: CollectionEncryption;
|
|
399
|
+
ownerKeyAgreementKey?: IKeyAgreementKey;
|
|
321
400
|
}): Promise<{
|
|
322
401
|
rotated: boolean;
|
|
323
402
|
staleRecipientIds: string[];
|
|
403
|
+
escrowedRecipientIds: string[];
|
|
324
404
|
descriptor: CollectionEncryption | null;
|
|
325
405
|
}>;
|
|
326
406
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userKeyRoster.d.ts","sourceRoot":"","sources":["../../src/keys/userKeyRoster.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,EAOL,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"userKeyRoster.d.ts","sourceRoot":"","sources":["../../src/keys/userKeyRoster.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,EAOL,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAO/E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EAEL,KAAK,gBAAgB,EACtB,MA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