@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
package/dist/unlock/retire.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { rotateRosterToDocumentAndCascade } from '../keys/index.js';
|
|
2
|
-
import {
|
|
2
|
+
import { readPublishedLogOrThrow } from '../webvh/didWebvh.js';
|
|
3
|
+
import { assertLadderVmClaimed, attributeUnlockLadderInventory, ladderVmClaimOf, removeUnlockKey, unlockKeyVmId } from './standingWebvh.js';
|
|
3
4
|
/**
|
|
4
5
|
* Retires one standing unlock credential from an account. See the module doc
|
|
5
6
|
* for the order and the convergence story. Once the inventory edit lands, a
|
|
@@ -8,18 +9,34 @@ import { removeUnlockKey } from './standingWebvh.js';
|
|
|
8
9
|
*
|
|
9
10
|
* @param options {object}
|
|
10
11
|
* @param options.idStore {WebvhIdStore} the account's `id` collection store
|
|
11
|
-
* @param options.
|
|
12
|
-
* client's own did:webvh update-key seeds,
|
|
12
|
+
* @param options.signer {AccountLogSigner} who signs the inventory edit:
|
|
13
|
+
* the retiring enrolled client's own did:webvh update-key seeds, or the
|
|
14
|
+
* ACTING (surviving or successor) credential's ladder seed
|
|
13
15
|
* @param options.unlockKeys {StandingUnlockKeys} the retired credential's
|
|
14
16
|
* public inventory (its key-agreement publication and its recorded update
|
|
15
17
|
* key, which the inventory edit treats as a ladder anchor rather than truth
|
|
16
18
|
* -- see `removeUnlockKey`)
|
|
17
19
|
* @param [options.ladderSeed] {Uint8Array} the retired credential's ladder
|
|
18
20
|
* seed, when the ceremony holds the credential's secret; it strengthens the
|
|
19
|
-
* ladder attribution
|
|
21
|
+
* ladder attribution, and it is what a retry supplies after a seedless run
|
|
22
|
+
* refused with `UnclaimedLadderVmRetirementError`
|
|
23
|
+
* @param [options.projectionStore] {object} an `id`-collection store the
|
|
24
|
+
* caller may write through, passed straight to the inventory edit: the
|
|
25
|
+
* post-strike `did:web` projection is PUT through it immediately before
|
|
26
|
+
* that entry publishes, so a ladder-signed retirement does not leave
|
|
27
|
+
* `did.json` naming the retired credential. Best-effort, and omitted the
|
|
28
|
+
* behavior is unchanged (see `removeUnlockKey`)
|
|
20
29
|
* @param [options.expectedDid] {string} the account DID from the caller's
|
|
21
30
|
* stored account pointer; supplied, the inventory edit refuses a `did.jsonl`
|
|
22
31
|
* resolving to any other account
|
|
32
|
+
* @param [options.pinStore] {ResourceLogPinStore} this client's chain-head
|
|
33
|
+
* pins, threaded to BOTH account-log reads the ceremony makes -- stage 0's
|
|
34
|
+
* attribution read and the inventory edit's own read inside its
|
|
35
|
+
* conflict-retry loop -- so a served rollback or fork is refused before
|
|
36
|
+
* anything is published
|
|
37
|
+
* @param [options.logId] {string} the account log's pin slot
|
|
38
|
+
* (`accountLogPinId({ spaceId })`); required whenever a `pinStore` is
|
|
39
|
+
* supplied
|
|
23
40
|
* @param [options.verb] {string} what the caller is doing, for the
|
|
24
41
|
* pending-rotation refusal message (e.g. `'changing your passphrase'`)
|
|
25
42
|
* @param options.rosterStore {EncryptionDescriptorStore} the
|
|
@@ -33,6 +50,15 @@ import { removeUnlockKey } from './standingWebvh.js';
|
|
|
33
50
|
* called with `{ userKey, latestEpochId, descriptor }` after the roster read
|
|
34
51
|
* and BEFORE the fan-out. The key and the epoch pin must persist atomically
|
|
35
52
|
* @param options.collections {CascadeCollections} the fan-out's work
|
|
53
|
+
* @param [options.remintDependentRecords] {Function} `({ document,
|
|
54
|
+
* retiringKeyMultibases }) => Promise<unknown>` -- the dependent-record
|
|
55
|
+
* re-mint (stage 0), run against the PRE-edit document with the ladder VM
|
|
56
|
+
* ids this retirement is about to strike. Fail-closed: a throw aborts the
|
|
57
|
+
* retirement before the document edit. Absent, the stage is skipped and no
|
|
58
|
+
* log read happens for it (the no-WAS path). It is also skipped on the
|
|
59
|
+
* ladder arm: every unlock record is signed by its own credential's ladder
|
|
60
|
+
* VM, so this strike rots no sibling record, and there is nothing to
|
|
61
|
+
* re-mint (`decisions/0019`)
|
|
36
62
|
* @param [options.retireClientAnnexInventory] {Function} `({ document }) =>
|
|
37
63
|
* Promise<ClientAnnexInventoryRetirement>` -- the annex reach (stage 1b in
|
|
38
64
|
* the module doc), run against the post-edit document; a throw is caught
|
|
@@ -42,16 +68,78 @@ import { removeUnlockKey } from './standingWebvh.js';
|
|
|
42
68
|
* the session keeps operating without a re-login
|
|
43
69
|
* @returns {Promise<UnlockCredentialRetirementResult>}
|
|
44
70
|
*/
|
|
45
|
-
export async function retireUnlockCredential({ idStore,
|
|
71
|
+
export async function retireUnlockCredential({ idStore, signer, unlockKeys, ladderSeed, projectionStore, expectedDid, pinStore, logId, verb, rosterStore, userKey, clientKeyAgreementKey, pinnedEpochId, onUserKeyAdopted, collections, remintDependentRecords, retireClientAnnexInventory, onRotationAdopted }) {
|
|
72
|
+
// 0. The dependent-record re-mint, against the PRE-edit document: whatever
|
|
73
|
+
// the doomed ladder VM signed for OTHER credentials is re-signed under a
|
|
74
|
+
// key that outlives the edit. The pass is named the VM ids the attribution
|
|
75
|
+
// claims for this credential, and it runs even when that list is empty:
|
|
76
|
+
// the pass has an expiry axis of its own, and a near-lapse sibling bridge
|
|
77
|
+
// is worth refreshing in the same window. Fail-closed -- a throw aborts
|
|
78
|
+
// here, with the credential still standing.
|
|
79
|
+
const pinned = {
|
|
80
|
+
...(pinStore ? { pinStore } : {}),
|
|
81
|
+
...(logId !== undefined ? { logId } : {})
|
|
82
|
+
};
|
|
83
|
+
let dependentRecords;
|
|
84
|
+
let expectedLadderVmIds;
|
|
85
|
+
// The stage is the enrolled branch's alone. On the ladder arm a record's
|
|
86
|
+
// bridge and sibling are signed by its own credential's ladder VM, so this
|
|
87
|
+
// strike reaches no record but the retired credential's own, which the
|
|
88
|
+
// caller deletes with its unlock Space (`decisions/0019`).
|
|
89
|
+
const ranRemint = Boolean(remintDependentRecords) && signer.kind === 'client';
|
|
90
|
+
if (ranRemint && remintDependentRecords) {
|
|
91
|
+
const published = await readPublishedLogOrThrow({
|
|
92
|
+
idStore,
|
|
93
|
+
...(expectedDid !== undefined ? { expectedDid } : {}),
|
|
94
|
+
...pinned,
|
|
95
|
+
missingMessage: 'did:webvh: did.jsonl is missing; nothing to enroll into.'
|
|
96
|
+
});
|
|
97
|
+
const inventory = await attributeUnlockLadderInventory({
|
|
98
|
+
log: published.log,
|
|
99
|
+
did: published.did,
|
|
100
|
+
unlockKeys,
|
|
101
|
+
...(ladderSeed ? { ladderSeed } : {})
|
|
102
|
+
});
|
|
103
|
+
// The gate, before the pass writes anything: a claim that strikes no
|
|
104
|
+
// ladder VM while VMs stand unclaimed refuses here, with the credential
|
|
105
|
+
// still standing and no sibling record touched.
|
|
106
|
+
await assertLadderVmClaimed({
|
|
107
|
+
log: published.log,
|
|
108
|
+
doc: published.doc,
|
|
109
|
+
credentialVmId: unlockKeyVmId({
|
|
110
|
+
did: published.did,
|
|
111
|
+
keyAgreement: unlockKeys.keyAgreement
|
|
112
|
+
}),
|
|
113
|
+
claim: await ladderVmClaimOf({
|
|
114
|
+
doc: published.doc,
|
|
115
|
+
did: published.did,
|
|
116
|
+
inventory,
|
|
117
|
+
...(ladderSeed ? { ladderSeed } : {})
|
|
118
|
+
}),
|
|
119
|
+
anchorKeyMultibase: unlockKeys.updateKeyMultibase
|
|
120
|
+
});
|
|
121
|
+
// What the edit's own attribution must resolve to: the pass below acts on
|
|
122
|
+
// this list, so an edit that resolved a different one would strike
|
|
123
|
+
// something the pass never covered.
|
|
124
|
+
expectedLadderVmIds = inventory.ladderVmIds;
|
|
125
|
+
dependentRecords = await remintDependentRecords({
|
|
126
|
+
document: published.doc,
|
|
127
|
+
retiringKeyMultibases: inventory.ladderVmIds
|
|
128
|
+
});
|
|
129
|
+
}
|
|
46
130
|
// 1. The document inventory edit -- the credential's standing, first. It
|
|
47
131
|
// resolves the document as it now stands, which is what stage 2 resolves
|
|
48
132
|
// its remaining recipients from.
|
|
49
|
-
const { did, doc, log } = await removeUnlockKey({
|
|
133
|
+
const { did, doc, log, ladderVm } = await removeUnlockKey({
|
|
50
134
|
idStore,
|
|
51
|
-
|
|
135
|
+
signer,
|
|
52
136
|
unlockKeys,
|
|
53
137
|
...(ladderSeed ? { ladderSeed } : {}),
|
|
138
|
+
...(projectionStore ? { projectionStore } : {}),
|
|
139
|
+
...(expectedLadderVmIds !== undefined ? { expectedLadderVmIds } : {}),
|
|
140
|
+
requireLadderVmClaim: true,
|
|
54
141
|
...(expectedDid !== undefined ? { expectedDid } : {}),
|
|
142
|
+
...pinned,
|
|
55
143
|
...(verb !== undefined ? { verb } : {})
|
|
56
144
|
});
|
|
57
145
|
// 1b. The annex reach, against the post-edit document: strike the
|
|
@@ -69,7 +157,7 @@ export async function retireUnlockCredential({ idStore, updateKeys, unlockKeys,
|
|
|
69
157
|
}
|
|
70
158
|
}
|
|
71
159
|
// 2. The shared roster-and-cascade tail: the roster rotation onto the
|
|
72
|
-
// post-edit document (with its post-edit controller
|
|
160
|
+
// post-edit document (with its post-edit minimum controller version and its seal
|
|
73
161
|
// backstop), then the collection fan-out onto the fresh key.
|
|
74
162
|
const tail = await rotateRosterToDocumentAndCascade({
|
|
75
163
|
rosterStore,
|
|
@@ -87,9 +175,11 @@ export async function retireUnlockCredential({ idStore, updateKeys, unlockKeys,
|
|
|
87
175
|
// retired -- a completed ceremony with nothing rotated.
|
|
88
176
|
return {
|
|
89
177
|
rotated: false,
|
|
178
|
+
ladderVm,
|
|
90
179
|
collections: tail.collections,
|
|
91
180
|
document: doc,
|
|
92
|
-
...(clientAnnex ? { clientAnnex } : {})
|
|
181
|
+
...(clientAnnex ? { clientAnnex } : {}),
|
|
182
|
+
...(ranRemint ? { dependentRecords } : {})
|
|
93
183
|
};
|
|
94
184
|
}
|
|
95
185
|
if (tail.rotated) {
|
|
@@ -97,12 +187,14 @@ export async function retireUnlockCredential({ idStore, updateKeys, unlockKeys,
|
|
|
97
187
|
}
|
|
98
188
|
return {
|
|
99
189
|
rotated: tail.rotated,
|
|
190
|
+
ladderVm,
|
|
100
191
|
...(tail.rosterSeal ? { rosterSeal: tail.rosterSeal } : {}),
|
|
101
192
|
collections: tail.collections,
|
|
102
193
|
document: doc,
|
|
103
194
|
userKey: tail.userKey,
|
|
104
195
|
rosterDescriptor: tail.rosterDescriptor,
|
|
105
|
-
...(clientAnnex ? { clientAnnex } : {})
|
|
196
|
+
...(clientAnnex ? { clientAnnex } : {}),
|
|
197
|
+
...(ranRemint ? { dependentRecords } : {})
|
|
106
198
|
};
|
|
107
199
|
}
|
|
108
200
|
//# sourceMappingURL=retire.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retire.js","sourceRoot":"","sources":["../../src/unlock/retire.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"retire.js","sourceRoot":"","sources":["../../src/unlock/retire.ts"],"names":[],"mappings":"AAgHA,OAAO,EACL,gCAAgC,EAKjC,MAAM,kBAAkB,CAAA;AAIzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EACL,qBAAqB,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ings":"
|
|
1
|
+
{"version":3,"file":"standingClient.d.ts","sourceRoot":"","sources":["../../src/unlock/standingClient.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAE1D;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,yCAAyC,CAAA;AAI1E;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,aAAa,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,wBAAwB,EAAE,MAAM,CAAA;IAChC;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,4BAA4B,CAAC,EACjD,UAAU,EACX,EAAE;IACD,UAAU,EAAE,UAAU,CAAA;CACvB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAmBhC;AAED;;;;;GAKG;AACH,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE,aAAa,EAAE,UAAU,CAAA;CAC1B;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,4BAA4B,CAAC,EACjD,UAAU,EACX,EAAE;IACD,UAAU,EAAE,UAAU,CAAA;CACvB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAkBhC"}
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
*/
|
|
23
23
|
import { hkdf } from '@noble/hashes/hkdf.js';
|
|
24
24
|
import { sha256 } from '@noble/hashes/sha2.js';
|
|
25
|
+
import { rosterRecipientKid } from '../keys/userKeyRoster.js';
|
|
25
26
|
import { agentsFromSeed } from '../identity/agents.js';
|
|
26
27
|
/**
|
|
27
28
|
* The HKDF salt for a standing credential's client-side expansions, and the
|
|
@@ -57,7 +58,10 @@ export async function unlockClientIdentityFromSeed({ clientSeed }) {
|
|
|
57
58
|
clientDid: agents.keyAgent.id,
|
|
58
59
|
signingKeyMultibase: signingKeyMultibase,
|
|
59
60
|
keyAgreementKeyMultibase,
|
|
60
|
-
recipientKid:
|
|
61
|
+
recipientKid: rosterRecipientKid({
|
|
62
|
+
signingKeyMultibase: signingKeyMultibase,
|
|
63
|
+
keyAgreementKeyMultibase
|
|
64
|
+
})
|
|
61
65
|
};
|
|
62
66
|
}
|
|
63
67
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standingClient.js","sourceRoot":"","sources":["../../src/unlock/standingClient.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAGtD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,sCAAsC,CAAA;AAC1E,MAAM,yBAAyB,GAAG,aAAa,CAAA;AAC/C,MAAM,yBAAyB,GAAG,aAAa,CAAA;AAwB/C;;;;;;;;;;GAUG;AACH,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAAC,EACjD,UAAU,EAGX;IACC,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAA;IACzD,MAAM,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,GACpD,MAAM,CAAC,eAA6D,CAAA;IACtE,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAC9B,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAA;IAC3E,CAAC;IACD,MAAM,CAAC,EAAE,AAAD,EAAG,mBAAmB,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC/D,OAAO;QACL,UAAU;QACV,MAAM;QACN,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,E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