@ibgib/core-gib 0.1.60 → 0.1.61
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/CHANGELOG.md +3 -0
- package/dist/common/other/graph-helper.d.mts.map +1 -1
- package/dist/common/other/graph-helper.mjs +7 -6
- package/dist/common/other/graph-helper.mjs.map +1 -1
- package/dist/keystone/keystone-config-builder.d.mts +1 -2
- package/dist/keystone/keystone-config-builder.d.mts.map +1 -1
- package/dist/keystone/keystone-config-builder.mjs +4 -19
- package/dist/keystone/keystone-config-builder.mjs.map +1 -1
- package/dist/keystone/keystone-constants.d.mts +2 -0
- package/dist/keystone/keystone-constants.d.mts.map +1 -1
- package/dist/keystone/keystone-constants.mjs +2 -0
- package/dist/keystone/keystone-constants.mjs.map +1 -1
- package/dist/keystone/keystone-helpers.d.mts +5 -15
- package/dist/keystone/keystone-helpers.d.mts.map +1 -1
- package/dist/keystone/keystone-helpers.mjs +59 -73
- package/dist/keystone/keystone-helpers.mjs.map +1 -1
- package/dist/keystone/keystone-policy-types.d.mts +6 -4
- package/dist/keystone/keystone-policy-types.d.mts.map +1 -1
- package/dist/keystone/keystone-service-v1.d.mts.map +1 -1
- package/dist/keystone/keystone-service-v1.mjs +4 -8
- package/dist/keystone/keystone-service-v1.mjs.map +1 -1
- package/dist/keystone/keystone-service-v1.respec.mjs +182 -33
- package/dist/keystone/keystone-service-v1.respec.mjs.map +1 -1
- package/dist/keystone/keystone-types.d.mts +4 -11
- package/dist/keystone/keystone-types.d.mts.map +1 -1
- package/dist/keystone/policy/keystone-profile-builder.d.mts +25 -0
- package/dist/keystone/policy/keystone-profile-builder.d.mts.map +1 -0
- package/dist/keystone/policy/keystone-profile-builder.mjs +117 -0
- package/dist/keystone/policy/keystone-profile-builder.mjs.map +1 -0
- package/dist/keystone/policy/profiles/profile-high.json +84 -0
- package/dist/keystone/policy/profiles/profile-low.json +84 -0
- package/dist/keystone/policy/profiles/profile-medium.json +84 -0
- package/dist/keystone/policy/profiles/profile-session.json +84 -0
- package/dist/keystone/policy/profiles/profile-test.json +84 -0
- package/dist/keystone/policy/schemas/connect-pool.high.schema.json +23 -0
- package/dist/keystone/policy/schemas/connect-pool.low.schema.json +23 -0
- package/dist/keystone/policy/schemas/connect-pool.medium.schema.json +23 -0
- package/dist/keystone/policy/schemas/keystone.high.schema.json +26 -0
- package/dist/keystone/policy/schemas/keystone.low.schema.json +26 -0
- package/dist/keystone/policy/schemas/keystone.medium.schema.json +26 -0
- package/dist/keystone/policy/schemas/manage-pool.high.schema.json +23 -0
- package/dist/keystone/policy/schemas/manage-pool.low.schema.json +23 -0
- package/dist/keystone/policy/schemas/manage-pool.medium.schema.json +23 -0
- package/dist/keystone/policy/schemas/revoke-pool.high.schema.json +23 -0
- package/dist/keystone/policy/schemas/revoke-pool.low.schema.json +23 -0
- package/dist/keystone/policy/schemas/revoke-pool.medium.schema.json +23 -0
- package/dist/keystone/policy/schemas/sign-pool.high.schema.json +23 -0
- package/dist/keystone/policy/schemas/sign-pool.low.schema.json +23 -0
- package/dist/keystone/policy/schemas/sign-pool.medium.schema.json +23 -0
- package/dist/keystone/policy/schemas/sync-pool.high.schema.json +23 -0
- package/dist/keystone/policy/schemas/sync-pool.low.schema.json +23 -0
- package/dist/keystone/policy/schemas/sync-pool.medium.schema.json +23 -0
- package/dist/sync/sync-conflict-adv-multitimelines.withid.respec.d.mts +8 -0
- package/dist/sync/sync-conflict-adv-multitimelines.withid.respec.d.mts.map +1 -0
- package/dist/sync/sync-conflict-adv-multitimelines.withid.respec.mjs +582 -0
- package/dist/sync/sync-conflict-adv-multitimelines.withid.respec.mjs.map +1 -0
- package/dist/sync/sync-conflict-basic-divergence.withid.respec.d.mts +7 -0
- package/dist/sync/sync-conflict-basic-divergence.withid.respec.d.mts.map +1 -0
- package/dist/sync/sync-conflict-basic-divergence.withid.respec.mjs +274 -0
- package/dist/sync/sync-conflict-basic-divergence.withid.respec.mjs.map +1 -0
- package/dist/sync/sync-conflict-basic-multitimelines.withid.respec.d.mts +8 -0
- package/dist/sync/sync-conflict-basic-multitimelines.withid.respec.d.mts.map +1 -0
- package/dist/sync/sync-conflict-basic-multitimelines.withid.respec.mjs +322 -0
- package/dist/sync/sync-conflict-basic-multitimelines.withid.respec.mjs.map +1 -0
- package/dist/sync/sync-conflict-text-merge.withid.respec.d.mts +7 -0
- package/dist/sync/sync-conflict-text-merge.withid.respec.d.mts.map +1 -0
- package/dist/sync/sync-conflict-text-merge.withid.respec.mjs +307 -0
- package/dist/sync/sync-conflict-text-merge.withid.respec.mjs.map +1 -0
- package/dist/sync/sync-innerspace-constants.withid.respec.d.mts +8 -0
- package/dist/sync/sync-innerspace-constants.withid.respec.d.mts.map +1 -0
- package/dist/sync/sync-innerspace-constants.withid.respec.mjs +233 -0
- package/dist/sync/sync-innerspace-constants.withid.respec.mjs.map +1 -0
- package/dist/sync/sync-innerspace-deep-updates.withid.respec.d.mts +7 -0
- package/dist/sync/sync-innerspace-deep-updates.withid.respec.d.mts.map +1 -0
- package/dist/sync/sync-innerspace-deep-updates.withid.respec.mjs +233 -0
- package/dist/sync/sync-innerspace-deep-updates.withid.respec.mjs.map +1 -0
- package/dist/sync/sync-innerspace-dest-ahead.withid.respec.d.mts +7 -0
- package/dist/sync/sync-innerspace-dest-ahead.withid.respec.d.mts.map +1 -0
- package/dist/sync/sync-innerspace-dest-ahead.withid.respec.mjs +225 -0
- package/dist/sync/sync-innerspace-dest-ahead.withid.respec.mjs.map +1 -0
- package/dist/sync/sync-innerspace-multiple-timelines.respec.mjs.map +1 -1
- package/dist/sync/sync-innerspace-multiple-timelines.withid.respec.d.mts +7 -0
- package/dist/sync/sync-innerspace-multiple-timelines.withid.respec.d.mts.map +1 -0
- package/dist/sync/sync-innerspace-multiple-timelines.withid.respec.mjs +235 -0
- package/dist/sync/sync-innerspace-multiple-timelines.withid.respec.mjs.map +1 -0
- package/dist/sync/sync-innerspace-partial-update.withid.respec.d.mts +7 -0
- package/dist/sync/sync-innerspace-partial-update.withid.respec.d.mts.map +1 -0
- package/dist/sync/sync-innerspace-partial-update.withid.respec.mjs +211 -0
- package/dist/sync/sync-innerspace-partial-update.withid.respec.mjs.map +1 -0
- package/dist/sync/sync-innerspace.withid.respec.d.mts +8 -0
- package/dist/sync/sync-innerspace.withid.respec.d.mts.map +1 -0
- package/dist/sync/sync-innerspace.withid.respec.mjs +260 -0
- package/dist/sync/sync-innerspace.withid.respec.mjs.map +1 -0
- package/dist/sync/sync-peer/sync-peer-websocket/sync-peer-websocket-receiver/sync-peer-websocket-receiver-v1.d.mts +1 -0
- package/dist/sync/sync-peer/sync-peer-websocket/sync-peer-websocket-receiver/sync-peer-websocket-receiver-v1.d.mts.map +1 -1
- package/dist/sync/sync-peer/sync-peer-websocket/sync-peer-websocket-receiver/sync-peer-websocket-receiver-v1.mjs +13 -4
- package/dist/sync/sync-peer/sync-peer-websocket/sync-peer-websocket-receiver/sync-peer-websocket-receiver-v1.mjs.map +1 -1
- package/dist/sync/sync-peer/sync-peer-websocket/sync-peer-websocket-receiver/sync-websocket-peer-helpers.d.mts +1 -1
- package/dist/sync/sync-peer/sync-peer-websocket/sync-peer-websocket-receiver/sync-websocket-peer-helpers.d.mts.map +1 -1
- package/dist/sync/sync-peer/sync-peer-websocket/sync-peer-websocket-receiver/sync-websocket-peer-helpers.mjs +5 -3
- package/dist/sync/sync-peer/sync-peer-websocket/sync-peer-websocket-receiver/sync-websocket-peer-helpers.mjs.map +1 -1
- package/dist/sync/sync-saga-coordinator.d.mts.map +1 -1
- package/dist/sync/sync-saga-coordinator.mjs +165 -145
- package/dist/sync/sync-saga-coordinator.mjs.map +1 -1
- package/dist/sync/sync-withid.pingpong.respec.mjs +8 -8
- package/dist/sync/sync-withid.pingpong.respec.mjs.map +1 -1
- package/dist/timeline/timeline-api.d.mts.map +1 -1
- package/dist/timeline/timeline-api.mjs +1 -14
- package/dist/timeline/timeline-api.mjs.map +1 -1
- package/dist/witness/space/reconciliation-space/reconciliation-space-base.d.mts.map +1 -1
- package/dist/witness/space/reconciliation-space/reconciliation-space-base.mjs +0 -40
- package/dist/witness/space/reconciliation-space/reconciliation-space-base.mjs.map +1 -1
- package/dist/witness/space/reconciliation-space/reconciliation-space-helper.d.mts.map +1 -1
- package/dist/witness/space/reconciliation-space/reconciliation-space-helper.mjs +6 -6
- package/dist/witness/space/reconciliation-space/reconciliation-space-helper.mjs.map +1 -1
- package/ibgib-foundations.md +2 -1
- package/package.json +1 -1
- package/src/common/other/graph-helper.mts +7 -6
- package/src/keystone/README.md +19 -15
- package/src/keystone/docs/CRYPTANALYSIS.md +185 -0
- package/src/keystone/docs/architecture.md +24 -1
- package/src/keystone/docs/profiles.md +124 -0
- package/src/keystone/keystone-config-builder.mts +3 -21
- package/src/keystone/keystone-constants.mts +2 -0
- package/src/keystone/keystone-helpers.mts +74 -77
- package/src/keystone/keystone-policy-types.mts +6 -4
- package/src/keystone/keystone-service-v1.mts +4 -9
- package/src/keystone/keystone-service-v1.respec.mts +214 -32
- package/src/keystone/keystone-types.mts +5 -9
- package/src/keystone/policy/IMPLEMENTATION.md +60 -0
- package/src/keystone/policy/README.md +94 -0
- package/src/keystone/policy/keystone-profile-builder.mts +131 -0
- package/src/keystone/policy/profiles/profile-high.json +84 -0
- package/src/keystone/policy/profiles/profile-low.json +84 -0
- package/src/keystone/policy/profiles/profile-medium.json +84 -0
- package/src/keystone/policy/profiles/profile-session.json +84 -0
- package/src/keystone/policy/profiles/profile-test.json +84 -0
- package/src/keystone/policy/schemas/connect-pool.high.schema.json +23 -0
- package/src/keystone/policy/schemas/connect-pool.low.schema.json +23 -0
- package/src/keystone/policy/schemas/connect-pool.medium.schema.json +23 -0
- package/src/keystone/policy/schemas/keystone.high.schema.json +26 -0
- package/src/keystone/policy/schemas/keystone.low.schema.json +26 -0
- package/src/keystone/policy/schemas/keystone.medium.schema.json +26 -0
- package/src/keystone/policy/schemas/manage-pool.high.schema.json +23 -0
- package/src/keystone/policy/schemas/manage-pool.low.schema.json +23 -0
- package/src/keystone/policy/schemas/manage-pool.medium.schema.json +23 -0
- package/src/keystone/policy/schemas/revoke-pool.high.schema.json +23 -0
- package/src/keystone/policy/schemas/revoke-pool.low.schema.json +23 -0
- package/src/keystone/policy/schemas/revoke-pool.medium.schema.json +23 -0
- package/src/keystone/policy/schemas/sign-pool.high.schema.json +23 -0
- package/src/keystone/policy/schemas/sign-pool.low.schema.json +23 -0
- package/src/keystone/policy/schemas/sign-pool.medium.schema.json +23 -0
- package/src/keystone/policy/schemas/sync-pool.high.schema.json +23 -0
- package/src/keystone/policy/schemas/sync-pool.low.schema.json +23 -0
- package/src/keystone/policy/schemas/sync-pool.medium.schema.json +23 -0
- package/src/sync/docs/security.md +54 -21
- package/src/sync/sync-conflict-adv-multitimelines.withid.respec.mts +706 -0
- package/src/sync/sync-conflict-basic-divergence.withid.respec.mts +321 -0
- package/src/sync/sync-conflict-basic-multitimelines.withid.respec.mts +374 -0
- package/src/sync/sync-conflict-text-merge.withid.respec.mts +347 -0
- package/src/sync/sync-innerspace-constants.withid.respec.mts +264 -0
- package/src/sync/sync-innerspace-deep-updates.withid.respec.mts +272 -0
- package/src/sync/sync-innerspace-dest-ahead.withid.respec.mts +266 -0
- package/src/sync/sync-innerspace-multiple-timelines.respec.mts +0 -1
- package/src/sync/sync-innerspace-multiple-timelines.withid.respec.mts +273 -0
- package/src/sync/sync-innerspace-partial-update.withid.respec.mts +249 -0
- package/src/sync/sync-innerspace.withid.respec.mts +265 -0
- package/src/sync/sync-peer/sync-peer-websocket/sync-peer-websocket-receiver/sync-peer-websocket-receiver-v1.mts +12 -4
- package/src/sync/sync-peer/sync-peer-websocket/sync-peer-websocket-receiver/sync-websocket-peer-helpers.mts +5 -3
- package/src/sync/sync-saga-coordinator.mts +159 -143
- package/src/sync/sync-withid.pingpong.respec.mts +8 -8
- package/src/timeline/timeline-api.mts +1 -15
- package/src/timeline/timeline-api.respec.mts +3 -3
- package/src/witness/space/reconciliation-space/reconciliation-space-base.mts +0 -46
- package/src/witness/space/reconciliation-space/reconciliation-space-helper.mts +6 -5
- package/tsconfig.json +6 -1
- package/src/keystone/keystone-policy.schema.json +0 -51
- package/src/witness/space/reconciliation-space/reconciliation-space-base.mts.OLD.md +0 -884
- package/src/witness/space/reconciliation-space/reconciliation-space-helper.mts.OLD.md +0 -125
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "HighSecurityKeystoneProfile",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"metadata": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": { "type": "string" },
|
|
10
|
+
"securityLevel": { "type": "string", "const": "high" }
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"pools": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"sync": { "$ref": "./sync-pool.high.schema.json" },
|
|
17
|
+
"manage": { "$ref": "./manage-pool.high.schema.json" },
|
|
18
|
+
"revoke": { "$ref": "./revoke-pool.high.schema.json" },
|
|
19
|
+
"connect": { "$ref": "./connect-pool.high.schema.json" },
|
|
20
|
+
"sign": { "$ref": "./sign-pool.high.schema.json" }
|
|
21
|
+
},
|
|
22
|
+
"required": ["sync", "manage", "revoke", "connect", "sign"]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": ["pools"]
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "LowSecurityKeystoneProfile",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"metadata": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": { "type": "string" },
|
|
10
|
+
"securityLevel": { "type": "string", "const": "low" }
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"pools": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"sync": { "$ref": "./sync-pool.low.schema.json" },
|
|
17
|
+
"manage": { "$ref": "./manage-pool.low.schema.json" },
|
|
18
|
+
"revoke": { "$ref": "./revoke-pool.low.schema.json" },
|
|
19
|
+
"connect": { "$ref": "./connect-pool.low.schema.json" },
|
|
20
|
+
"sign": { "$ref": "./sign-pool.low.schema.json" }
|
|
21
|
+
},
|
|
22
|
+
"required": ["sync", "manage", "revoke", "connect", "sign"]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": ["pools"]
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "MediumSecurityKeystoneProfile",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"metadata": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": { "type": "string" },
|
|
10
|
+
"securityLevel": { "type": "string", "const": "medium" }
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"pools": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"sync": { "$ref": "./sync-pool.medium.schema.json" },
|
|
17
|
+
"manage": { "$ref": "./manage-pool.medium.schema.json" },
|
|
18
|
+
"revoke": { "$ref": "./revoke-pool.medium.schema.json" },
|
|
19
|
+
"connect": { "$ref": "./connect-pool.medium.schema.json" },
|
|
20
|
+
"sign": { "$ref": "./sign-pool.medium.schema.json" }
|
|
21
|
+
},
|
|
22
|
+
"required": ["sync", "manage", "revoke", "connect", "sign"]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": ["pools"]
|
|
26
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "HighSecurityManagePool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "manage" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "manage" } },
|
|
8
|
+
"algo": { "type": "string", "const": "SHA-512" },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 4 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 2000 },
|
|
14
|
+
"replenish": { "type": "string", "enum": ["top-up", "replace-all"] },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 10 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 10 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 16 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "LowSecurityManagePool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "manage" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "manage" } },
|
|
8
|
+
"algo": { "type": "string", "const": "SHA-256" },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 2 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 10 },
|
|
14
|
+
"replenish": { "type": "string", "enum": ["top-up", "replace-all"] },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 1 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 1 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 3 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "MediumSecurityManagePool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "manage" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "manage" } },
|
|
8
|
+
"algo": { "type": "string", "enum": ["SHA-256", "SHA-512"] },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 2 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 500 },
|
|
14
|
+
"replenish": { "type": "string", "enum": ["top-up", "replace-all"] },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 5 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 5 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 10 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "HighSecurityRevokePool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "revoke" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "revoke" } },
|
|
8
|
+
"algo": { "type": "string", "const": "SHA-512" },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 20 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 2000 },
|
|
14
|
+
"replenish": { "type": "string", "const": "delete-all" },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 50 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 50 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 0 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "LowSecurityRevokePool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "revoke" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "revoke" } },
|
|
8
|
+
"algo": { "type": "string", "const": "SHA-256" },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 5 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 12 },
|
|
14
|
+
"replenish": { "type": "string", "const": "delete-all" },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 3 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 3 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 0 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "MediumSecurityRevokePool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "revoke" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "revoke" } },
|
|
8
|
+
"algo": { "type": "string", "enum": ["SHA-256", "SHA-512"] },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 10 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 200 },
|
|
14
|
+
"replenish": { "type": "string", "const": "delete-all" },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 20 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 20 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 0 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "HighSecuritySignPool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "default" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "sign" } },
|
|
8
|
+
"algo": { "type": "string", "const": "SHA-512" },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 4 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 1000 },
|
|
14
|
+
"replenish": { "type": "string", "const": "top-up" },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 10 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 10 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 16 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "LowSecuritySignPool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "default" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "sign" } },
|
|
8
|
+
"algo": { "type": "string", "const": "SHA-256" },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 2 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 20 },
|
|
14
|
+
"replenish": { "type": "string", "const": "top-up" },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 1 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 1 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 3 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "MediumSecuritySignPool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "default" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "sign" } },
|
|
8
|
+
"algo": { "type": "string", "enum": ["SHA-256", "SHA-512"] },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 2 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 200 },
|
|
14
|
+
"replenish": { "type": "string", "const": "top-up" },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 5 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 5 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 10 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "HighSecuritySyncPool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "sync" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "sync" } },
|
|
8
|
+
"algo": { "type": "string", "const": "SHA-512" },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 4 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 2000 },
|
|
14
|
+
"replenish": { "type": "string", "const": "top-up" },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 10 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 10 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 16 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "LowSecuritySyncPool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "sync" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "sync" } },
|
|
8
|
+
"algo": { "type": "string", "const": "SHA-256" },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 1 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 12 },
|
|
14
|
+
"replenish": { "type": "string", "const": "top-up" },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 1 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 1 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 3 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "MediumSecuritySyncPool",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": { "type": "string", "const": "sync" },
|
|
7
|
+
"allowedVerbs": { "type": "array", "items": { "const": "sync" } },
|
|
8
|
+
"algo": { "type": "string", "enum": ["SHA-256", "SHA-512"] },
|
|
9
|
+
"rounds": { "type": "integer", "minimum": 2 },
|
|
10
|
+
"behavior": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"size": { "type": "integer", "minimum": 500 },
|
|
14
|
+
"replenish": { "type": "string", "const": "top-up" },
|
|
15
|
+
"selectSequentially": { "type": "integer", "minimum": 5 },
|
|
16
|
+
"selectRandomly": { "type": "integer", "minimum": 5 },
|
|
17
|
+
"targetBindingCount": { "type": "integer", "minimum": 10 }
|
|
18
|
+
},
|
|
19
|
+
"required": ["size", "replenish", "selectSequentially", "selectRandomly", "targetBindingCount"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "allowedVerbs", "algo", "rounds", "behavior"]
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module sync-conflict-adv-multitimelines.withid.respec
|
|
3
|
+
*
|
|
4
|
+
* Verifies Conflict Resolution strategies in SyncSagaCoordinator under identity.
|
|
5
|
+
* Reproduces divergence scenarios and asserts resolution behavior.
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=sync-conflict-adv-multitimelines.withid.respec.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-conflict-adv-multitimelines.withid.respec.d.mts","sourceRoot":"","sources":["../../src/sync/sync-conflict-adv-multitimelines.withid.respec.mts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|