keri-ts 2.2.3 → 2.2.5
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/esm/keri/npm/src/_dnt.polyfills.js +14 -14
- package/esm/keri/npm/src/acdc/registering.js +19 -0
- package/esm/keri/npm/src/acdc/salting.js +4 -0
- package/esm/keri/npm/src/app/bootstrap/authenticating.js +34 -12
- package/esm/keri/npm/src/app/bootstrap/oobiery.js +365 -32
- package/esm/keri/npm/src/app/credentials/credential-importing.js +33 -4
- package/esm/keri/npm/src/app/credentials/root-replicator.js +27 -15
- package/esm/keri/npm/src/app/credentials/schema-resolving.js +5 -1
- package/esm/keri/npm/src/app/credentials/tel-publishing.js +16 -7
- package/esm/keri/npm/src/app/delivery/forwarding.js +188 -47
- package/esm/keri/npm/src/app/delivery/relaying.js +232 -0
- package/esm/keri/npm/src/app/delivery/respondant.js +8 -5
- package/esm/keri/npm/src/app/exchanges/exchange-messaging.js +1 -1
- package/esm/keri/npm/src/app/exchanges/exchanging.js +65 -9
- package/esm/keri/npm/src/app/identity/delegating.js +66 -9
- package/esm/keri/npm/src/app/identity/habbing.js +190 -71
- package/esm/keri/npm/src/app/identity/keeping.js +111 -39
- package/esm/keri/npm/src/app/identity/retire-identifier.js +98 -0
- package/esm/keri/npm/src/app/ipex/disclosure-replaying.js +116 -0
- package/esm/keri/npm/src/app/ipex/group-ipex.js +122 -25
- package/esm/keri/npm/src/app/ipex/group-issuance.js +109 -23
- package/esm/keri/npm/src/app/ipex/ipex-discloser.js +36 -22
- package/esm/keri/npm/src/app/ipex/ipex-grouping.js +53 -3
- package/esm/keri/npm/src/app/ipex/ipex-v2.js +7 -2
- package/esm/keri/npm/src/app/ipex/issuance.js +131 -35
- package/esm/keri/npm/src/app/ipex/pending-presentations.js +4 -2
- package/esm/keri/npm/src/app/ipex/presenting.js +3 -18
- package/esm/keri/npm/src/app/ipex/receive-issuance.js +2 -1
- package/esm/keri/npm/src/app/ipex/unblinding-workflow.js +16 -3
- package/esm/keri/npm/src/app/mailbox/agent-inbox.js +292 -0
- package/esm/keri/npm/src/app/mailbox/forward-handler.js +298 -52
- package/esm/keri/npm/src/app/mailbox/kel-publisher.js +26 -31
- package/esm/keri/npm/src/app/mailbox/mailbox-poller.js +70 -62
- package/esm/keri/npm/src/app/mailbox/mailboxing.js +20 -4
- package/esm/keri/npm/src/app/multisig/counseling.js +75 -27
- package/esm/keri/npm/src/app/multisig/group-members.js +41 -5
- package/esm/keri/npm/src/app/multisig/grouping.js +50 -2
- package/esm/keri/npm/src/app/multisig/multisig-workflows.js +3 -18
- package/esm/keri/npm/src/app/multisig/proposing.js +1 -16
- package/esm/keri/npm/src/app/multisig/rejoin-group.js +99 -0
- package/esm/keri/npm/src/app/multisig/replace-member.js +29 -8
- package/esm/keri/npm/src/app/protocol/parsering.js +45 -17
- package/esm/keri/npm/src/app/protocol/protocol-processing.js +62 -27
- package/esm/keri/npm/src/app/queries/query-replies.js +0 -22
- package/esm/keri/npm/src/app/queries/relay-refresh.js +81 -0
- package/esm/keri/npm/src/app/queries/witness-inquisitor.js +190 -40
- package/esm/keri/npm/src/app/runtime/agent-runtime.js +46 -73
- package/esm/keri/npm/src/app/runtime/cue-runtime.js +45 -5
- package/esm/keri/npm/src/app/runtime/doing.js +25 -0
- package/esm/keri/npm/src/app/runtime/operation-owners.js +26 -56
- package/esm/keri/npm/src/app/runtime/workflow-contract.js +7 -4
- package/esm/keri/npm/src/app/transport/http-client.js +20 -2
- package/esm/keri/npm/src/app/transport/message-source.js +2 -1
- package/esm/keri/npm/src/app/transport/messengering.js +39 -8
- package/esm/keri/npm/src/app/witness/ingress.js +7 -0
- package/esm/keri/npm/src/app/witness/receipt-client.js +43 -16
- package/esm/keri/npm/src/app/witness/receipting.js +62 -20
- package/esm/keri/npm/src/cli/messaging/multisig.js +4 -3
- package/esm/keri/npm/src/core/errors.js +73 -0
- package/esm/keri/npm/src/core/kel/delegation-ancestry.js +11 -2
- package/esm/keri/npm/src/core/kel/eventing.js +25 -28
- package/esm/keri/npm/src/core/kel/kever.js +15 -9
- package/esm/keri/npm/src/core/mailbox/kram-policy.js +8 -0
- package/esm/keri/npm/src/core/mailbox/kram-pruning.js +25 -6
- package/esm/keri/npm/src/core/mailbox/kram-time.js +34 -6
- package/esm/keri/npm/src/core/mailbox/kraming.js +58 -2
- package/esm/keri/npm/src/core/routing.js +18 -25
- package/esm/keri/npm/src/core/scheming.js +12 -5
- package/esm/keri/npm/src/core/wire-fields.js +126 -0
- package/esm/keri/npm/src/db/basing.js +4 -13
- package/esm/keri/npm/src/db/core/indexeddb-persistence.js +3 -2
- package/esm/keri/npm/src/db/core/lmdber.js +25 -6
- package/esm/keri/npm/src/db/core/memstore.js +4 -0
- package/esm/keri/npm/src/db/core/store-owner.js +4 -0
- package/esm/keri/npm/src/db/core/webdber.js +85 -27
- package/esm/keri/npm/src/db/mailbox/mailboxing.js +13 -0
- package/esm/keri/npm/src/db/subing.js +4 -0
- package/esm/keri/npm/src/runtime/index.js +11 -5
- package/esm/keri/npm/src/time/mod.js +5 -0
- package/esm/keri/npm/src/vdr/credential-tsn-record.js +2 -7
- package/esm/keri/npm/src/vdr/eventing.js +28 -19
- package/esm/keri/npm/src/vdr/registry-tsn-record.js +3 -13
- package/esm/keri/npm/src/version.js +2 -2
- package/package.json +1 -1
- package/types/_dnt.polyfills.d.ts +9 -9
- package/types/_dnt.polyfills.d.ts.map +1 -1
- package/types/acdc/registering.d.ts +6 -0
- package/types/acdc/registering.d.ts.map +1 -1
- package/types/acdc/salting.d.ts.map +1 -1
- package/types/app/bootstrap/authenticating.d.ts +12 -2
- package/types/app/bootstrap/authenticating.d.ts.map +1 -1
- package/types/app/bootstrap/oobiery.d.ts +144 -7
- package/types/app/bootstrap/oobiery.d.ts.map +1 -1
- package/types/app/credentials/credential-importing.d.ts +8 -0
- package/types/app/credentials/credential-importing.d.ts.map +1 -1
- package/types/app/credentials/root-replicator.d.ts +19 -8
- package/types/app/credentials/root-replicator.d.ts.map +1 -1
- package/types/app/credentials/schema-resolving.d.ts.map +1 -1
- package/types/app/credentials/tel-publishing.d.ts +4 -2
- package/types/app/credentials/tel-publishing.d.ts.map +1 -1
- package/types/app/delivery/forwarding.d.ts +75 -7
- package/types/app/delivery/forwarding.d.ts.map +1 -1
- package/types/app/delivery/relaying.d.ts +144 -0
- package/types/app/delivery/relaying.d.ts.map +1 -0
- package/types/app/delivery/respondant.d.ts +9 -2
- package/types/app/delivery/respondant.d.ts.map +1 -1
- package/types/app/exchanges/exchanging.d.ts +36 -0
- package/types/app/exchanges/exchanging.d.ts.map +1 -1
- package/types/app/identity/delegating.d.ts +6 -0
- package/types/app/identity/delegating.d.ts.map +1 -1
- package/types/app/identity/habbing.d.ts +106 -19
- package/types/app/identity/habbing.d.ts.map +1 -1
- package/types/app/identity/keeping.d.ts +54 -19
- package/types/app/identity/keeping.d.ts.map +1 -1
- package/types/app/identity/retire-identifier.d.ts +24 -0
- package/types/app/identity/retire-identifier.d.ts.map +1 -0
- package/types/app/ipex/disclosure-replaying.d.ts +61 -0
- package/types/app/ipex/disclosure-replaying.d.ts.map +1 -0
- package/types/app/ipex/group-ipex.d.ts +60 -14
- package/types/app/ipex/group-ipex.d.ts.map +1 -1
- package/types/app/ipex/group-issuance.d.ts +48 -6
- package/types/app/ipex/group-issuance.d.ts.map +1 -1
- package/types/app/ipex/ipex-discloser.d.ts +14 -2
- package/types/app/ipex/ipex-discloser.d.ts.map +1 -1
- package/types/app/ipex/ipex-grouping.d.ts +23 -2
- package/types/app/ipex/ipex-grouping.d.ts.map +1 -1
- package/types/app/ipex/ipex-v2.d.ts +5 -2
- package/types/app/ipex/ipex-v2.d.ts.map +1 -1
- package/types/app/ipex/issuance.d.ts +35 -11
- package/types/app/ipex/issuance.d.ts.map +1 -1
- package/types/app/ipex/pending-presentations.d.ts +4 -2
- package/types/app/ipex/pending-presentations.d.ts.map +1 -1
- package/types/app/ipex/presenting.d.ts.map +1 -1
- package/types/app/ipex/receive-issuance.d.ts +2 -1
- package/types/app/ipex/receive-issuance.d.ts.map +1 -1
- package/types/app/ipex/unblinding-workflow.d.ts +4 -1
- package/types/app/ipex/unblinding-workflow.d.ts.map +1 -1
- package/types/app/mailbox/agent-inbox.d.ts +126 -0
- package/types/app/mailbox/agent-inbox.d.ts.map +1 -0
- package/types/app/mailbox/forward-handler.d.ts +114 -14
- package/types/app/mailbox/forward-handler.d.ts.map +1 -1
- package/types/app/mailbox/kel-publisher.d.ts +12 -22
- package/types/app/mailbox/kel-publisher.d.ts.map +1 -1
- package/types/app/mailbox/mailbox-poller.d.ts +40 -24
- package/types/app/mailbox/mailbox-poller.d.ts.map +1 -1
- package/types/app/mailbox/mailboxing.d.ts +19 -5
- package/types/app/mailbox/mailboxing.d.ts.map +1 -1
- package/types/app/multisig/counseling.d.ts +34 -11
- package/types/app/multisig/counseling.d.ts.map +1 -1
- package/types/app/multisig/group-members.d.ts +17 -1
- package/types/app/multisig/group-members.d.ts.map +1 -1
- package/types/app/multisig/grouping.d.ts +17 -1
- package/types/app/multisig/grouping.d.ts.map +1 -1
- package/types/app/multisig/multisig-workflows.d.ts +0 -8
- package/types/app/multisig/multisig-workflows.d.ts.map +1 -1
- package/types/app/multisig/proposing.d.ts +4 -19
- package/types/app/multisig/proposing.d.ts.map +1 -1
- package/types/app/multisig/rejoin-group.d.ts +119 -0
- package/types/app/multisig/rejoin-group.d.ts.map +1 -0
- package/types/app/multisig/replace-member.d.ts +15 -1
- package/types/app/multisig/replace-member.d.ts.map +1 -1
- package/types/app/protocol/parsering.d.ts +21 -2
- package/types/app/protocol/parsering.d.ts.map +1 -1
- package/types/app/protocol/protocol-processing.d.ts +31 -6
- package/types/app/protocol/protocol-processing.d.ts.map +1 -1
- package/types/app/queries/query-replies.d.ts +4 -8
- package/types/app/queries/query-replies.d.ts.map +1 -1
- package/types/app/queries/relay-refresh.d.ts +26 -0
- package/types/app/queries/relay-refresh.d.ts.map +1 -0
- package/types/app/queries/witness-inquisitor.d.ts +57 -6
- package/types/app/queries/witness-inquisitor.d.ts.map +1 -1
- package/types/app/runtime/agent-runtime.d.ts +34 -3
- package/types/app/runtime/agent-runtime.d.ts.map +1 -1
- package/types/app/runtime/cue-runtime.d.ts +15 -3
- package/types/app/runtime/cue-runtime.d.ts.map +1 -1
- package/types/app/runtime/doing.d.ts +17 -0
- package/types/app/runtime/doing.d.ts.map +1 -1
- package/types/app/runtime/operation-owners.d.ts +16 -26
- package/types/app/runtime/operation-owners.d.ts.map +1 -1
- package/types/app/runtime/workflow-contract.d.ts +21 -6
- package/types/app/runtime/workflow-contract.d.ts.map +1 -1
- package/types/app/transport/http-client.d.ts +9 -0
- package/types/app/transport/http-client.d.ts.map +1 -1
- package/types/app/transport/message-source.d.ts +6 -3
- package/types/app/transport/message-source.d.ts.map +1 -1
- package/types/app/transport/messengering.d.ts +10 -1
- package/types/app/transport/messengering.d.ts.map +1 -1
- package/types/app/witness/ingress.d.ts +1 -0
- package/types/app/witness/ingress.d.ts.map +1 -1
- package/types/app/witness/receipt-client.d.ts +19 -1
- package/types/app/witness/receipt-client.d.ts.map +1 -1
- package/types/app/witness/receipting.d.ts +24 -1
- package/types/app/witness/receipting.d.ts.map +1 -1
- package/types/cli/messaging/multisig.d.ts.map +1 -1
- package/types/core/cues.d.ts +53 -1
- package/types/core/cues.d.ts.map +1 -1
- package/types/core/errors.d.ts +32 -0
- package/types/core/errors.d.ts.map +1 -1
- package/types/core/kel/delegation-ancestry.d.ts.map +1 -1
- package/types/core/kel/eventing.d.ts.map +1 -1
- package/types/core/kel/kever-decisions.d.ts +3 -1
- package/types/core/kel/kever-decisions.d.ts.map +1 -1
- package/types/core/kel/kever.d.ts +7 -1
- package/types/core/kel/kever.d.ts.map +1 -1
- package/types/core/mailbox/kram-policy.d.ts +6 -0
- package/types/core/mailbox/kram-policy.d.ts.map +1 -1
- package/types/core/mailbox/kram-pruning.d.ts +5 -1
- package/types/core/mailbox/kram-pruning.d.ts.map +1 -1
- package/types/core/mailbox/kram-time.d.ts +26 -2
- package/types/core/mailbox/kram-time.d.ts.map +1 -1
- package/types/core/mailbox/kraming.d.ts +14 -1
- package/types/core/mailbox/kraming.d.ts.map +1 -1
- package/types/core/routing.d.ts +3 -7
- package/types/core/routing.d.ts.map +1 -1
- package/types/core/scheming.d.ts.map +1 -1
- package/types/core/wire-fields.d.ts +56 -0
- package/types/core/wire-fields.d.ts.map +1 -0
- package/types/db/basing.d.ts.map +1 -1
- package/types/db/core/dber.d.ts +5 -0
- package/types/db/core/dber.d.ts.map +1 -1
- package/types/db/core/indexeddb-persistence.d.ts +3 -2
- package/types/db/core/indexeddb-persistence.d.ts.map +1 -1
- package/types/db/core/lmdber.d.ts +6 -0
- package/types/db/core/lmdber.d.ts.map +1 -1
- package/types/db/core/memstore.d.ts +2 -0
- package/types/db/core/memstore.d.ts.map +1 -1
- package/types/db/core/store-owner.d.ts +2 -0
- package/types/db/core/store-owner.d.ts.map +1 -1
- package/types/db/core/webdber.d.ts +32 -6
- package/types/db/core/webdber.d.ts.map +1 -1
- package/types/db/exchange/exchange-records.d.ts +4 -0
- package/types/db/exchange/exchange-records.d.ts.map +1 -1
- package/types/db/mailbox/mailboxing.d.ts +10 -1
- package/types/db/mailbox/mailboxing.d.ts.map +1 -1
- package/types/db/subing.d.ts +2 -0
- package/types/db/subing.d.ts.map +1 -1
- package/types/runtime/index.d.ts +20 -14
- package/types/runtime/index.d.ts.map +1 -1
- package/types/time/mod.d.ts +2 -0
- package/types/time/mod.d.ts.map +1 -1
- package/types/vdr/credential-tsn-record.d.ts.map +1 -1
- package/types/vdr/eventing.d.ts.map +1 -1
- package/types/vdr/registry-tsn-record.d.ts.map +1 -1
- package/types/version.d.ts +2 -2
- package/esm/keri/npm/src/app/runtime/signer-conditions.js +0 -51
- package/types/app/runtime/signer-conditions.d.ts +0 -32
- package/types/app/runtime/signer-conditions.d.ts.map +0 -1
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { ValidationError } from "../../core/errors.js";
|
|
2
|
+
import type { Habery } from "../identity/habbing.js";
|
|
3
|
+
import type { HttpClient } from "../transport/http-client.js";
|
|
4
|
+
import { type MessengerUrls } from "../transport/messengering.js";
|
|
5
|
+
import { TransportError } from "../transport/transport-error.js";
|
|
6
|
+
/** The agent this runtime sends, queries and polls through; `oobi` is the agent's own OOBI. */
|
|
7
|
+
export interface Relay {
|
|
8
|
+
/** The relay agent's AID; its accepted location is where every outgoing message goes. */
|
|
9
|
+
readonly aid: string;
|
|
10
|
+
/** The relay agent's own OOBI URL, resolved to learn the agent's KEL, end roles and location. */
|
|
11
|
+
readonly oobi: string;
|
|
12
|
+
}
|
|
13
|
+
/** Accepted location of the relay, read from the relay's accepted `/loc/scheme` replies. */
|
|
14
|
+
export interface RelayEndpoint {
|
|
15
|
+
/** The relay agent's AID, which is also the endpoint AID. */
|
|
16
|
+
readonly eid: string;
|
|
17
|
+
/** Preferred URL of the accepted locations: HTTPS, then HTTP, then TCP. */
|
|
18
|
+
readonly url: string;
|
|
19
|
+
/** Every accepted location of the relay by supported scheme, for concrete messenger construction. */
|
|
20
|
+
readonly urls: MessengerUrls;
|
|
21
|
+
}
|
|
22
|
+
/** The relay's location is not accepted yet (its OOBI has not resolved); nothing was sent. */
|
|
23
|
+
export declare class RelayUnresolvedError extends ValidationError {
|
|
24
|
+
readonly name: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The sending identity has not authorized the relay as its `mailbox`; nothing was sent. The agent relays only for a
|
|
28
|
+
* sender that named it its mailbox, so a wrapper sent before that would be dropped there without an answer.
|
|
29
|
+
*/
|
|
30
|
+
export declare class RelayUnauthorizedError extends ValidationError {
|
|
31
|
+
readonly name: string;
|
|
32
|
+
}
|
|
33
|
+
/** Why the relay cannot carry a message now; see {@link relayRefusal}. */
|
|
34
|
+
export type RelayRefusal = RelayUnresolvedError | RelayUnauthorizedError;
|
|
35
|
+
/** Refuses a request whose origin is neither the relay's OOBI origin nor an accepted relay location. */
|
|
36
|
+
export declare class RelayOnlyError extends TransportError {
|
|
37
|
+
readonly name: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Read the relay's accepted location, as `Hab.endsFor` reads any endpoint's locations.
|
|
41
|
+
*
|
|
42
|
+
* Locations are accepted only from `/loc/scheme` replies verified against the relay's KEL, so a non-null result
|
|
43
|
+
* means the relay's OOBI (or an equivalent introduction) has resolved. A location no messenger can use
|
|
44
|
+
* ({@link messengerUrl}: one the HTTP client refuses, or a TCP URL without a port) reads as unresolved.
|
|
45
|
+
*
|
|
46
|
+
* @param hby Borrowed accepted-state store holding the relay's location replies.
|
|
47
|
+
* @param relay The configured relay agent.
|
|
48
|
+
* @returns The relay's preferred URL and scheme map, or null until a usable location is accepted.
|
|
49
|
+
*/
|
|
50
|
+
export declare function relayEndpoint(hby: Habery, relay: Relay): RelayEndpoint | null;
|
|
51
|
+
/**
|
|
52
|
+
* Whether `pre` has authorized the relay as its mailbox: the accepted row `ends.[pre, mailbox, relay.aid]` is
|
|
53
|
+
* allowed. This is the row the agent reads to decide that it serves the sender, and the edge holds it because it
|
|
54
|
+
* signed and accepted the end-role reply itself (`addMailbox`).
|
|
55
|
+
*
|
|
56
|
+
* @param hby Borrowed accepted-state store holding end-role replies.
|
|
57
|
+
* @param pre Local identifier that signs what goes to the relay (for a group, its local member).
|
|
58
|
+
* @param relay The configured relay agent.
|
|
59
|
+
* @returns True when the mailbox role naming the relay is accepted and allowed.
|
|
60
|
+
*/
|
|
61
|
+
export declare function relayAuthorized(hby: Habery, pre: string, relay: Relay): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Decide whether the relay can carry a message signed by `signer` now, before anything is prepared or sent.
|
|
64
|
+
*
|
|
65
|
+
* The relay must have an accepted location. A message it is to forward also needs `signer` to have authorized it as
|
|
66
|
+
* mailbox; a message addressed to the relay itself (`signer` null) needs no authorization, as the relay consumes it
|
|
67
|
+
* rather than forwarding it. Onboarding needs neither path: the mailbox add is posted to the relay's `/mailboxes`
|
|
68
|
+
* admin resource and carries the KEL that introduces the edge.
|
|
69
|
+
*
|
|
70
|
+
* @param hby Borrowed accepted-state store holding the relay's location and the signer's end roles.
|
|
71
|
+
* @param relay The configured relay agent.
|
|
72
|
+
* @param signer Local identifier that signs the forwarding wrapper or query; null for a message to the relay itself.
|
|
73
|
+
* @returns The refusal to report, or null when the relay can carry the message.
|
|
74
|
+
*/
|
|
75
|
+
export declare function relayRefusal(hby: Habery, relay: Relay, signer: string | null): RelayRefusal | null;
|
|
76
|
+
/**
|
|
77
|
+
* Refuse a relay nothing can be composed over: its AID must be non-empty and its OOBI an absolute HTTP(S) URL,
|
|
78
|
+
* because the egress guard admits the OOBI's origin and the edge resolves that OOBI before anything else. A
|
|
79
|
+
* composition root (the guard, a wallet) calls it before it opens or sends anything.
|
|
80
|
+
*
|
|
81
|
+
* @param relay Candidate relay, possibly from untyped embedder input.
|
|
82
|
+
* @throws ValidationError when the AID is empty or the OOBI is not an absolute HTTP(S) URL.
|
|
83
|
+
*/
|
|
84
|
+
export declare function assertRelay(relay: Relay): void;
|
|
85
|
+
/** Onboarding step: the relay's OOBI has not resolved, so its location is not accepted; resolve `oobi`. */
|
|
86
|
+
export interface RelayOobiStep {
|
|
87
|
+
readonly step: "resolve-oobi";
|
|
88
|
+
/** The relay's own OOBI; an edge runtime queues it at start, and a host may resolve it again explicitly. */
|
|
89
|
+
readonly oobi: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Onboarding step: local identifier `pre` has not authorized the relay as its `mailbox`, so the relay neither
|
|
93
|
+
* forwards what `pre` signs nor stores what is sent to it. `authorize-member` is a single-signature identifier,
|
|
94
|
+
* authorized by an ordinary mailbox add; `authorize-group` is a group, authorized by the group mailbox proposal and,
|
|
95
|
+
* once the members approve it, its completion.
|
|
96
|
+
*/
|
|
97
|
+
export interface RelayAuthorizationStep {
|
|
98
|
+
readonly step: "authorize-member" | "authorize-group";
|
|
99
|
+
/** The local identifier that has not authorized the relay. */
|
|
100
|
+
readonly pre: string;
|
|
101
|
+
}
|
|
102
|
+
/** One onboarding step still missing before the relay carries a local identifier's traffic. */
|
|
103
|
+
export type RelayStep = RelayOobiStep | RelayAuthorizationStep;
|
|
104
|
+
/**
|
|
105
|
+
* The onboarding steps still missing for delivery through the relay, derived from accepted state on every call;
|
|
106
|
+
* nothing records progress. Order is the order to take them: resolve the relay's OOBI, then authorize each
|
|
107
|
+
* single-signature identifier, then each group (whose inception needs its members to reach each other first).
|
|
108
|
+
*
|
|
109
|
+
* Only identifiers with accepted key state are listed: an identifier that has not completed its inception cannot
|
|
110
|
+
* sign an end-role reply yet. The resolution step comes from {@link relayRefusal}; the authorization steps from
|
|
111
|
+
* {@link relayAuthorized}, the row both the edge's senders and the relay read.
|
|
112
|
+
*
|
|
113
|
+
* @param hby Borrowed accepted-state store holding the relay's location and the local end roles.
|
|
114
|
+
* @param relay The configured relay agent.
|
|
115
|
+
* @returns The missing steps; empty when every accepted local identifier can send and receive through the relay.
|
|
116
|
+
*/
|
|
117
|
+
export declare function relayOnboarding(hby: Habery, relay: Relay): RelayStep[];
|
|
118
|
+
/**
|
|
119
|
+
* Whether a URL addresses the relay: its origin is the relay's own OOBI origin or the origin of a currently accepted
|
|
120
|
+
* relay location. The accepted locations are read on every call, so a location accepted (or replaced) later is
|
|
121
|
+
* honored at once. The egress guard refuses everything else, and the edge's Oobiery fetches such a URL directly
|
|
122
|
+
* while it resolves any other origin's OOBI through the relay.
|
|
123
|
+
*
|
|
124
|
+
* @param hby Borrowed accepted-state store holding the relay's location replies.
|
|
125
|
+
* @param relay The configured relay agent.
|
|
126
|
+
* @param url Candidate absolute URL.
|
|
127
|
+
* @returns True when the URL's origin is the relay's.
|
|
128
|
+
*/
|
|
129
|
+
export declare function isRelayOrigin(hby: Habery, relay: Relay, url: string): boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Wrap an HTTP client (and its TCP dialer, when present) so it reaches only the relay.
|
|
132
|
+
*
|
|
133
|
+
* The guard is the edge's fail-closed boundary: egress kinds not yet routed through the relay (delegation, TEL
|
|
134
|
+
* receipting, witness registration, well-known authentication) fail as `TransportError` instead of going direct.
|
|
135
|
+
* It allows the origin of the relay's OOBI and the origins of the relay's currently accepted locations.
|
|
136
|
+
*
|
|
137
|
+
* @param inner Borrowed client that performs permitted requests.
|
|
138
|
+
* @param hby Borrowed accepted-state store holding the relay's location replies.
|
|
139
|
+
* @param relay The configured relay agent.
|
|
140
|
+
* @returns A client with the same contract whose refused requests throw RelayOnlyError before any I/O.
|
|
141
|
+
* @throws ValidationError when the relay's OOBI is not an absolute HTTP(S) URL.
|
|
142
|
+
*/
|
|
143
|
+
export declare function relayOnlyHttpClient(inner: HttpClient, hby: Habery, relay: Relay): HttpClient;
|
|
144
|
+
//# sourceMappingURL=relaying.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relaying.d.ts","sourceRoot":"","sources":["../../../src/app/delivery/relaying.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAqD,MAAM,6BAA6B,CAAC;AACjH,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAEhF,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,+FAA+F;AAC/F,MAAM,WAAW,KAAK;IACpB,yFAAyF;IACzF,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,iGAAiG;IACjG,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,4FAA4F;AAC5F,MAAM,WAAW,aAAa;IAC5B,6DAA6D;IAC7D,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,qGAAqG;IACrG,QAAQ,C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,GAAG,aAAa,GAAG,sBAAsB,CAAC;AAE/D;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,SAAS,EAAE,CAUtE;AAiBD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAK7E;AAiBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,UAAU,CA0B5F"}
|
|
@@ -2,6 +2,13 @@ import type { AgentCue } from "../../core/cues.js";
|
|
|
2
2
|
import { Deck } from "../../core/deck.js";
|
|
3
3
|
import type { Hab, Habery } from "../identity/habbing.js";
|
|
4
4
|
import type { Poster } from "./forwarding.js";
|
|
5
|
+
/**
|
|
6
|
+
* What `Respondant.enqueueCue` did with the head cue:
|
|
7
|
+
* - `taken`: removed, after its signed output was admitted to Poster or because it had nowhere to go;
|
|
8
|
+
* - `unrouted`: left at the head, as it has no responder output (no recipient, topic or sender);
|
|
9
|
+
* - `unsignable`: left at the head, as the signing habitat cannot sign now (its signer is not held yet).
|
|
10
|
+
*/
|
|
11
|
+
export type CueOutcome = "taken" | "unrouted" | "unsignable";
|
|
5
12
|
/**
|
|
6
13
|
* Shared host-side responder for indirect and witness runtimes.
|
|
7
14
|
*
|
|
@@ -36,10 +43,10 @@ export declare class Respondant {
|
|
|
36
43
|
* @param hab Local habitat used to construct/sign this output; stores remain borrowed.
|
|
37
44
|
* @param cues Source Deck; only its current head is interpreted, and removed after full publication.
|
|
38
45
|
* @param hint Optional local sender hint used when cue provenance does not resolve a habitat.
|
|
39
|
-
* @returns
|
|
46
|
+
* @returns What became of the head; see {@link CueOutcome}. Only `taken` removes it.
|
|
40
47
|
* @throws Construction/admission failures leave the source cue present.
|
|
41
48
|
*/
|
|
42
|
-
enqueueCue(hab: Hab, cues: Deck<AgentCue>, hint?: Hab | null):
|
|
49
|
+
enqueueCue(hab: Hab, cues: Deck<AgentCue>, hint?: Hab | null): CueOutcome;
|
|
43
50
|
/**
|
|
44
51
|
* Whether a receipt cue has nothing to send to. A receipt goes to the controller of the event it receipts, so it
|
|
45
52
|
* has nowhere to go when that controller is a group this runtime is a member of (the group's own event: its
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"respondant.d.ts","sourceRoot":"","sources":["../../../src/app/delivery/respondant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,UAAU;IACrB,2DAA2D;IAC3D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAC7B,kFAAkF;IAClF,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,gGAAgG;gBACpF,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAKxC;;;;;;;;OAQG;IACH,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,
|
|
1
|
+
{"version":3,"file":"respondant.d.ts","sourceRoot":"","sources":["../../../src/app/delivery/respondant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,YAAY,CAAC;AAE7D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,UAAU;IACrB,2DAA2D;IAC3D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAC7B,kFAAkF;IAClF,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,gGAAgG;gBACpF,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAKxC;;;;;;;;OAQG;IACH,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,UAAU;IAmBzE;;;;;OAKG;IACH,OAAO,CAAC,aAAa;IAOrB;;;;;;OAMG;IACH,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,UAAU,EAAE,GAAG,IAAI;CAOxE"}
|
|
@@ -80,6 +80,11 @@ export interface ExchangeRouteHandler {
|
|
|
80
80
|
mailboxAid?: string | null;
|
|
81
81
|
/** Qualified first receiver receipt, retained through dependency retry. */
|
|
82
82
|
receiverTime?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Retained history from a finite local import (`ExchangeInput.retained`), kept through dependency retry: the
|
|
85
|
+
* caller already holds this exchange, so a handler records it but raises nothing for anyone to act on.
|
|
86
|
+
*/
|
|
87
|
+
retained?: boolean;
|
|
83
88
|
}): void | Operation<void>;
|
|
84
89
|
/**
|
|
85
90
|
* Retry this route's own escrow of accepted exchanges awaiting later local
|
|
@@ -116,6 +121,13 @@ export interface ExchangeInput {
|
|
|
116
121
|
mailboxAid?: string | null;
|
|
117
122
|
/** Receiver-observed time supplied by local intake, independent of signed wire. */
|
|
118
123
|
receiverTime?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Retained history from a finite local import, admitted without KRAM (`DispatchOptions.retained`). Authentication,
|
|
126
|
+
* route verification and escrow are unchanged. The fact is kept in the exchange's private metadata, so its
|
|
127
|
+
* handlers see it on a later escrow retry too, and {@link Exchanger.exchangeExpiry} gives it no lifetime: KRAM never
|
|
128
|
+
* opened a window for it here, and its age says nothing about it.
|
|
129
|
+
*/
|
|
130
|
+
retained?: boolean;
|
|
119
131
|
}
|
|
120
132
|
/** Result of this attempt; complete(said) separately reports any earlier durable acceptance. */
|
|
121
133
|
export type ExchangeDecision = {
|
|
@@ -183,6 +195,12 @@ export declare class Exchanger {
|
|
|
183
195
|
private readonly versionedRoutes;
|
|
184
196
|
/** Borrow the runtime clock for escrow deadlines and retries. */
|
|
185
197
|
private readonly now;
|
|
198
|
+
/**
|
|
199
|
+
* Lifetimes of the pending exchanges this process's escrow sweep ejected, by SAID. Ejection removes the only
|
|
200
|
+
* stored body, so this is all that still says when such an exchange expired ({@link exchangeExpiry}). Lost on
|
|
201
|
+
* restart, by design: no store keeps ejected exchanges.
|
|
202
|
+
*/
|
|
203
|
+
private readonly ejected;
|
|
186
204
|
/** Bind route handlers, cues and the escrow clock to one habitat database. */
|
|
187
205
|
constructor(hby: Habery, { handlers, cues, now }?: {
|
|
188
206
|
handlers?: readonly ExchangeRouteHandler[];
|
|
@@ -261,6 +279,24 @@ export declare class Exchanger {
|
|
|
261
279
|
complete(said: string): boolean;
|
|
262
280
|
/** Original accepted KRAM lifetime; partial-escrow timestamps never authorize live auxiliary work. */
|
|
263
281
|
exchangeDeadline(serder: SerderKERI): string | null;
|
|
282
|
+
/**
|
|
283
|
+
* When the exchange `said` expires, or expired: its KRAM lifetime, opener plus exchange window. Unlike
|
|
284
|
+
* {@link exchangeDeadline} this keeps answering after KRAM prunes the cache row (at opener + `pxl`, which the
|
|
285
|
+
* default windows make the deadline itself) and after the escrow sweep ejects an expired pending exchange, so a
|
|
286
|
+
* caller can say why the exchange is gone. A pure read. Null when KRAM is off (no exchange window), while KRAM
|
|
287
|
+
* holds the message without accepting it (an incomplete multi-signature message), for a pruned message that
|
|
288
|
+
* continues another message's thread, for an ejected exchange after a restart, and for retained history a local
|
|
289
|
+
* import admitted without KRAM ({@link ExchangeInput.retained}), which never had a window here.
|
|
290
|
+
*/
|
|
291
|
+
exchangeExpiry(said: string): string | null;
|
|
292
|
+
/**
|
|
293
|
+
* The accepted lifetime while KRAM keeps the cache row; once the row is pruned, an exchange that opens its own
|
|
294
|
+
* thread (an `xip`, or an `exn` with no prior, the rule KRAM opened it with) is its own opener, so its stamp
|
|
295
|
+
* plus the exchange window configured now gives the deadline again. Reads no escrow row, so it also works on
|
|
296
|
+
* the body of an exchange that is being ejected. Retained history never had a cache row here, so its stamp gives
|
|
297
|
+
* no deadline: it would only report an old exchange expired for its age.
|
|
298
|
+
*/
|
|
299
|
+
private lifetime;
|
|
264
300
|
/**
|
|
265
301
|
* Rehydrate authenticated retained factors without route handling or writes.
|
|
266
302
|
* Pending-only access also enforces the original deadline with this owner's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exchanging.d.ts","sourceRoot":"","sources":["../../../src/app/exchanges/exchanging.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,EAQL,QAAQ,EAER,KAAK,SAAS,EACd,KAAK,UAAU,EAEf,KAAK,UAAU,EAGf,KAAK,MAAM,EAEX,KAAK,UAAU,EAChB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE1G,OAAO,EACL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AAwF;IACxF,OAAO,CAAC,gBAAgB;IAiDxB,OAAO,CAAC,qBAAqB;IAyC7B,0FAA0F;IAC1F,OAAO,CAAC,WAAW;IAkBnB,0FAA0F;IAC1F,OAAO,CAAC,WAAW;IAanB,0FAA0F;IAC1F,OAAO,CAAC,YAAY;IAwBpB,mFAAmF;IACnF,OAAO,CAAC,YAAY;IAOpB,iGAAiG;IACjG,OAAO,CAAC,aAAa;IAKrB,4EAA4E;IAC5E,OAAO,CAAE,aAAa;IAetB,wFAAwF;IACxF,OAAO,CAAC,YAAY;CAOrB"}
|
|
@@ -181,6 +181,10 @@ export declare class Anchorer {
|
|
|
181
181
|
* @param clock Borrowed clock with epoch-millisecond now and millisecond timer delays.
|
|
182
182
|
*/
|
|
183
183
|
constructor(hby: Habery, postman: Poster, querying: Anchorer["querying"], protocol: ProtocolProcessor | null, http: HttpClient, clock: RuntimeClock);
|
|
184
|
+
/** Workflow ids (`pre:snh`) of `pre`'s delegated events still in the `dpwe.`, `dune.` or `dpub.` phase. */
|
|
185
|
+
pendingOf(pre: string): string[];
|
|
186
|
+
/** Workflow ids whose pinned communication habitat (the proxy that sends the request) is `pre`. */
|
|
187
|
+
proxiedBy(pre: string): string[];
|
|
184
188
|
/**
|
|
185
189
|
* Start one delegated event in witness-receipt escrow and replace any previous local proxy pin.
|
|
186
190
|
*
|
|
@@ -221,6 +225,8 @@ export declare class Anchorer {
|
|
|
221
225
|
* Send the delegation chain before the approving event, awaiting actual Poster or witness transmission outcomes.
|
|
222
226
|
*
|
|
223
227
|
* @param serder Accepted delegator event to publish after its required delegation chain.
|
|
228
|
+
* @returns `unreachable` with the first remote failure (a witness or the delegator that is down, refuses or
|
|
229
|
+
* has no usable endpoint); nothing past it is attempted. Local faults still throw.
|
|
224
230
|
*/
|
|
225
231
|
private publishDelegator;
|
|
226
232
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegating.d.ts","sourceRoot":"","sources":["../../../src/app/identity/delegating.ts"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G;IACH,KAAK,CACH,MAAM,EAAE,UAAU,EAClB,OAAO,GAAE;QAAE,gBAAgB,CAAC,EAAE,GAAG,CAAA;KAAO,GACvC,IAAI;IAeP,8EAA8E;IAC9E,WAAW,CACT,GAAG,EAAE,MAAM,EACX,EAAE,CAAC,EAAE,MAAM,EACX,OAAO,GAAE;QAAE,gBAAgB,CAAC,EAAE,GAAG,CAAA;KAAO,GACvC,UAAU;IAsBb,+EAA+E;IAC/E,cAAc,CACZ,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,GACV,wBAAwB;IA0B3B,wEAAwE;IACxE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO;IAkBnD,uFAAuF;IACtF,cAAc,IAAI,SAAS,CAAC,wBAAwB,EAAE,CAAC;IAiCxD;;;;;OAKG;IACH,OAAO,CAAE,2BAA2B;IAsHpC,+GAA+G;IAC/G,OAAO,CAAE,uBAAuB;IAkFhC,8FAA8F;IAC9F,OAAO,CAAE,yBAAyB;IAiBlC,iHAAiH;IACjH,OAAO,CAAC,gBAAgB;IAoBxB,2EAA2E;IAC3E,OAAO,CAAC,iBAAiB;IAMzB,qGAAqG;IACrG,OAAO,CAAC,uBAAuB;IAY/B;;;;;;OAMG;IACH,OAAO,CAAE,gBAAgB;CAoD1B"}
|
|
@@ -62,7 +62,6 @@ export interface HaberyArgs {
|
|
|
62
62
|
aeid?: string;
|
|
63
63
|
salt?: string;
|
|
64
64
|
algo?: Algos;
|
|
65
|
-
tier?: Tier;
|
|
66
65
|
/** Signers to hold as the Habery opens; see {@link HeldSigners}. */
|
|
67
66
|
heldSigners?: HeldSigners;
|
|
68
67
|
}
|
|
@@ -125,6 +124,14 @@ export interface GroupHabRotation {
|
|
|
125
124
|
sigers: Siger[];
|
|
126
125
|
message: Uint8Array;
|
|
127
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* What `Habery.alignGroupMembers` did to a local group's stored members:
|
|
129
|
+
* - `aligned`: they differed from the latest accepted establishment event and now follow it
|
|
130
|
+
* - `unchanged`: they already follow it, or there is nothing to align (not a local group, a read-only Habery)
|
|
131
|
+
* - `unattributed`: the event's keys cannot all be attributed to locally known members yet, usually because a
|
|
132
|
+
* member's KEL has not arrived; nothing was written, and a later call aligns once it has
|
|
133
|
+
*/
|
|
134
|
+
export type GroupMemberAlignment = "aligned" | "unchanged" | "unattributed";
|
|
128
135
|
/** Result of creating one locally signed group interaction event. */
|
|
129
136
|
export interface GroupHabInteraction {
|
|
130
137
|
hab: Hab;
|
|
@@ -132,6 +139,21 @@ export interface GroupHabInteraction {
|
|
|
132
139
|
sigers: Siger[];
|
|
133
140
|
message: Uint8Array;
|
|
134
141
|
}
|
|
142
|
+
/** What `Habery.retireHab` removed: the habitat's identity and how many private keys the Keeper deleted. */
|
|
143
|
+
export interface RetiredHab {
|
|
144
|
+
pre: string;
|
|
145
|
+
name: string;
|
|
146
|
+
domain?: string;
|
|
147
|
+
/** Private keys deleted from the Keeper's `pris.`; 0 for a keyless habitat. */
|
|
148
|
+
keys: number;
|
|
149
|
+
/** Current public keys whose held signers were dropped; empty for keys the Keeper stored. */
|
|
150
|
+
released: string[];
|
|
151
|
+
}
|
|
152
|
+
/** A local habitat that cannot sign now, and the current public keys whose signers are neither held nor stored. */
|
|
153
|
+
export interface UnsignableHab {
|
|
154
|
+
readonly pre: string;
|
|
155
|
+
readonly missing: readonly string[];
|
|
156
|
+
}
|
|
135
157
|
/**
|
|
136
158
|
* Return KERIpy-shaped replay bytes for one accepted KEL event.
|
|
137
159
|
*
|
|
@@ -180,10 +202,17 @@ export declare class Hab {
|
|
|
180
202
|
/** Return true when this habitat has accepted local key state. */
|
|
181
203
|
get accepted(): boolean;
|
|
182
204
|
/**
|
|
183
|
-
* Whether
|
|
184
|
-
* False for a keyless habitat (`makeSignedHab`) until the
|
|
205
|
+
* Whether this habitat can sign now: every key `sign` would use has a held or stored signer
|
|
206
|
+
* (`Manager.hasSigner`). A pure read that signs nothing. False for a keyless habitat (`makeSignedHab`) until the
|
|
207
|
+
* host holds its signer, and for a habitat with no signing keys (no accepted state, or a group whose local member
|
|
208
|
+
* has no contribution). A group answers through its local member's contribution.
|
|
209
|
+
*
|
|
210
|
+
* Background loops read it before they sign and skip a habitat that cannot sign yet; a later `Manager.hold` lets
|
|
211
|
+
* the habitat act on the next tock.
|
|
185
212
|
*/
|
|
186
213
|
canSign(): boolean;
|
|
214
|
+
/** The current public keys `sign` would use whose signers are neither held nor stored; empty when it can sign. */
|
|
215
|
+
missingSigners(): string[];
|
|
187
216
|
/** Return the live accepted-state `Kever` for this habitat when available. */
|
|
188
217
|
get kever(): Kever | null;
|
|
189
218
|
/**
|
|
@@ -227,8 +256,15 @@ export declare class Hab {
|
|
|
227
256
|
* - mirrors the pattern where local inception is signed in the habitat layer
|
|
228
257
|
* and then fed through `Kevery.processEvent()` rather than hand-writing
|
|
229
258
|
* `states.`/`kels.` directly
|
|
259
|
+
*
|
|
260
|
+
* Failure leaves nothing behind: the Keeper rows `Manager.incept` and `move`
|
|
261
|
+
* wrote roll back with the enclosing Keeper transaction, and the `habs.`
|
|
262
|
+
* record and `names.` mapping are undone, as `makeSigned` does. KERIpy keeps
|
|
263
|
+
* them.
|
|
230
264
|
*/
|
|
231
265
|
make(args?: MakeHabArgs): void;
|
|
266
|
+
/** Derive keys, sign and admit the inception; `make` owns the Keeper transaction and the rollback. */
|
|
267
|
+
private inceptLocally;
|
|
232
268
|
/**
|
|
233
269
|
* Admit one signed inception as this habitat's first event: bind `pre`,
|
|
234
270
|
* register the name and habitat records unless `hidden`, and accept the event
|
|
@@ -308,6 +344,11 @@ export declare class Hab {
|
|
|
308
344
|
*/
|
|
309
345
|
sign(ser: Uint8Array, indexed: true): Siger[];
|
|
310
346
|
sign(ser: Uint8Array, indexed?: false): Cigar[];
|
|
347
|
+
/**
|
|
348
|
+
* Select the keys `sign` uses. A group habitat uses only its designated member's latest single-key contribution,
|
|
349
|
+
* located in its accepted KEL; any other habitat uses its accepted current keys.
|
|
350
|
+
*/
|
|
351
|
+
private signingKeys;
|
|
311
352
|
/**
|
|
312
353
|
* Endorse one already-built KERI message body with this habitat's current
|
|
313
354
|
* establishment keys.
|
|
@@ -553,20 +594,25 @@ export declare class Habery {
|
|
|
553
594
|
*/
|
|
554
595
|
private loadHabs;
|
|
555
596
|
/**
|
|
556
|
-
*
|
|
557
|
-
*
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
*
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
*
|
|
564
|
-
*
|
|
565
|
-
*
|
|
566
|
-
* accepted event is
|
|
567
|
-
*
|
|
568
|
-
|
|
569
|
-
|
|
597
|
+
* Bring a local group's stored members (`smids`/`rmids` on its habitat record and in the keeper) in line with
|
|
598
|
+
* the group's latest accepted establishment event. This is the one writer of a local group's member lists after
|
|
599
|
+
* its record is created; acceptance, reopen recovery, member replacement and a proposer's immediate acceptance
|
|
600
|
+
* all reach it, and the runtime's Counselor calls it on its pass after each accepted establishment event, so a
|
|
601
|
+
* rotation that completes late (a co-member's signature arriving after the proposer stopped waiting) is followed
|
|
602
|
+
* without any caller asking.
|
|
603
|
+
*
|
|
604
|
+
* Members come from accepted key state only (`acceptedGroupMembers`, KERIpy `GroupHab.acceptedMembers`), never
|
|
605
|
+
* from a proposal's or caller's lists: the stored members are tried first, then every AID with local key state.
|
|
606
|
+
* When a key cannot be attributed yet nothing is written and the result is `unattributed`; a partial list is
|
|
607
|
+
* never stored. Only the latest accepted event is followed, so members never roll back, and repeating it
|
|
608
|
+
* changes nothing.
|
|
609
|
+
*
|
|
610
|
+
* The recorded local member (`mid`) is never changed here; replacing it stays `joinGroupHab`'s explicit
|
|
611
|
+
* replacement. Diverging from KERIpy `GroupHab.recoverAcceptedMembers`, the lists follow accepted state even
|
|
612
|
+
* when it does not include the local member (a member rotated out, or one whose join is not accepted yet).
|
|
613
|
+
* Weight plays no part: a member whose signing weight is 0 is a member like any other.
|
|
614
|
+
*/
|
|
615
|
+
alignGroupMembers(pre: string): GroupMemberAlignment;
|
|
570
616
|
/** Local AID prefixes currently managed by this habery. */
|
|
571
617
|
get prefixes(): string[];
|
|
572
618
|
/**
|
|
@@ -633,8 +679,8 @@ export declare class Habery {
|
|
|
633
679
|
* owned by the runtime and are not reached from here.
|
|
634
680
|
*/
|
|
635
681
|
private retireGroupMemberState;
|
|
636
|
-
/**
|
|
637
|
-
commitGroupHabMembers
|
|
682
|
+
/** Write member lists already derived from accepted state; only `alignGroupMembers` calls this. */
|
|
683
|
+
private commitGroupHabMembers;
|
|
638
684
|
/**
|
|
639
685
|
* Rotate a locally membered group identifier from member habitat state.
|
|
640
686
|
*
|
|
@@ -691,6 +737,47 @@ export declare class Habery {
|
|
|
691
737
|
* `Hab`.
|
|
692
738
|
*/
|
|
693
739
|
habByName(name: string, ns?: string): Hab | null;
|
|
740
|
+
/**
|
|
741
|
+
* Retire one local, non-group habitat: it stops being local, and its stored private keys are deleted.
|
|
742
|
+
*
|
|
743
|
+
* Removed, durable rows in one `db.transaction` (the Keeper deletes run in a nested Keeper transaction, see
|
|
744
|
+
* `Manager.forget`): the `habs.` record, its `names.` mapping when that still maps to `pre`, and the
|
|
745
|
+
* Keeper's stored key rows. After commit, `pre` leaves `db.prefixes`, `habs` and `deferredReconfigure`.
|
|
746
|
+
*
|
|
747
|
+
* Kept, deliberately: the KEL with its attachments, `states.`, receipts, key-state notices, every accepted
|
|
748
|
+
* reply the identifier authored or that names it (end-role and location records and their BADA date-times
|
|
749
|
+
* and signatures), and the `Kever` cache entry. KERI never deletes a KEL, and BADA/RUN acceptance compares
|
|
750
|
+
* new replies against the stored ones, so deleting them would let an older signed reply be accepted again.
|
|
751
|
+
* The identifier is afterwards an ordinary remote one; `Baser.reloadKevers` rebuilds `prefixes` from
|
|
752
|
+
* `habs.` only, so a reopen agrees. Retirement is one-way: `makeSignedHab` refuses a prefix with a `Kever`,
|
|
753
|
+
* and the kept Keeper `pres.` rows make `makeHab` refuse an inception that derives the retired keys again.
|
|
754
|
+
* Retirement deletes the stored keys and the ability to act as a local habitat, not the secret's
|
|
755
|
+
* derivability: a rooted salty habitat's seeds stay derivable from the Keeper's root salt plus its name.
|
|
756
|
+
* No event is made and nothing is signed. The held signers of the identifier's current keys are dropped
|
|
757
|
+
* (`Manager.forget`) once the rows are deleted. Runtime state (pollers, cursors, operations) is the caller's to
|
|
758
|
+
* clean up.
|
|
759
|
+
*
|
|
760
|
+
* Refused with a `ValidationError`, before any write, when `pre` is not a local habitat, is a group
|
|
761
|
+
* habitat, is the recorded local member (`mid`) of a local group, is an accepted signing or rotation
|
|
762
|
+
* member of a local group, or is the delegator of a local habitat.
|
|
763
|
+
*
|
|
764
|
+
* Differences from KERIpy `Habery.deleteHab(name, ns)`: keyed by prefix rather than by name, throws where
|
|
765
|
+
* KERIpy returns `False`, refuses the cases above where KERIpy has no guards, and deletes the Keeper's stored
|
|
766
|
+
* key rows other than `pres.` where KERIpy keeps them all.
|
|
767
|
+
*/
|
|
768
|
+
retireHab(pre: string): RetiredHab;
|
|
769
|
+
/**
|
|
770
|
+
* The accepted local habitats that cannot sign now, each with the current public keys whose signers are neither
|
|
771
|
+
* held nor stored. Derived on every call from `Hab.missingSigners`; nothing records it. A store opened without a
|
|
772
|
+
* habitat's signer lists that habitat until the host calls `Manager.hold`. A habitat with no signing keys at all
|
|
773
|
+
* (a group whose local member has no contribution) is not listed: that is not a missing signer.
|
|
774
|
+
*/
|
|
775
|
+
unsignable(): UnsignableHab[];
|
|
776
|
+
/**
|
|
777
|
+
* Why {@link retireHab} would refuse `pre`, or null when it would retire it. A pure read: the refusals listed
|
|
778
|
+
* on `retireHab`, in the same order, so a caller can decide between retiring and keeping without a throw.
|
|
779
|
+
*/
|
|
780
|
+
retireRefusal(pre: string): string | null;
|
|
694
781
|
/** Creates this Habery's sidecar stores. */
|
|
695
782
|
get opener(): StoreOpener;
|
|
696
783
|
/** Identity shared by this Habery's stores and sidecars. */
|
|
@@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