@stream44.studio/t44-blockchaincommons.com 0.1.0-rc.4 → 0.1.0-rc.6
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/.github/workflows/{dco.yml → dco.yaml} +1 -1
- package/.github/workflows/{gordian-open-integrity.yml → gordian-open-integrity.yaml} +2 -2
- package/README.md +5 -3
- package/action.yml +2 -2
- package/caps/GordianOpenIntegrity.test.ts +1 -1
- package/caps/XidDocumentLedger.test.ts +1 -1
- package/caps/__snapshots__/XidDocumentLedger.test.ts.snap +1 -1
- package/caps/lifehash.test.ts +1 -1
- package/caps/open-integrity-js.test.ts +1 -1
- package/caps/open-integrity-sh.test.ts +1 -1
- package/caps/open-integrity.test.ts +1 -1
- package/caps/provenance-mark-cli.test.ts +1 -1
- package/caps/provenance-mark.test.ts +1 -1
- package/caps/xid.test.ts +1 -1
- package/examples/01-XID-DocumentLedger/__snapshots__/main.test.ts.snap +1 -1
- package/examples/01-XID-DocumentLedger/main.test.ts +1 -1
- package/examples/02-XID-Rotate-InceptionKey/__snapshots__/main.test.ts.snap +13 -13
- package/examples/02-XID-Rotate-InceptionKey/main.test.ts +1 -1
- package/examples/03-GordianOpenIntegrity/main.test.ts +1 -1
- package/examples/04-GordianOpenIntegrityCli/main.test.ts +1 -1
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Gordian Open Integrity
|
|
2
2
|
|
|
3
3
|
on: [push, pull_request]
|
|
4
4
|
|
|
5
5
|
jobs:
|
|
6
6
|
gordian-open-integrity:
|
|
7
|
-
name:
|
|
7
|
+
name: Gordian Open Integrity
|
|
8
8
|
runs-on: ubuntu-latest
|
|
9
9
|
steps:
|
|
10
10
|
- uses: actions/checkout@v4
|
package/README.md
CHANGED
|
@@ -45,15 +45,15 @@ bunx @stream44.studio/t44-blockchaincommons.com init [GordianOpenIntegrity] --in
|
|
|
45
45
|
bunx @stream44.studio/t44-blockchaincommons.com validate [GordianOpenIntegrity]
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Github Actions validation workflow: `.github/workflows/gordian-open-integrity.
|
|
48
|
+
Github Actions validation workflow: `.github/workflows/gordian-open-integrity.yaml`
|
|
49
49
|
```
|
|
50
|
-
name:
|
|
50
|
+
name: Gordian Open Integrity
|
|
51
51
|
|
|
52
52
|
on: [push, pull_request]
|
|
53
53
|
|
|
54
54
|
jobs:
|
|
55
55
|
gordian-open-integrity:
|
|
56
|
-
name:
|
|
56
|
+
name: Gordian Open Integrity
|
|
57
57
|
runs-on: ubuntu-latest
|
|
58
58
|
steps:
|
|
59
59
|
- uses: actions/checkout@v4
|
|
@@ -190,6 +190,8 @@ The following projects use `GordianOpenIntegrity`:
|
|
|
190
190
|
Provenance
|
|
191
191
|
===
|
|
192
192
|
|
|
193
|
+
[](https://github.com/Stream44/t44-blockchaincommons.com/actions/workflows/gordian-open-integrity.yaml?query=branch%3Amain) [](https://github.com/Stream44/t44-blockchaincommons.com/actions/workflows/dco.yaml?query=branch%3Amain)
|
|
194
|
+
|
|
193
195
|
Repository DID: `did:repo:c8f51118b7dca6f9d7303c240b6a683d85e28dab`
|
|
194
196
|
|
|
195
197
|
<table>
|
package/action.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
name: 'Gordian Open Integrity Validation'
|
|
2
|
-
description: '
|
|
2
|
+
description: 'Gordian Open Integrity provenance and commit signatures on a repository'
|
|
3
3
|
author: 'Stream44'
|
|
4
4
|
|
|
5
5
|
inputs:
|
|
@@ -37,7 +37,7 @@ runs:
|
|
|
37
37
|
fi
|
|
38
38
|
echo "mark=$MARK" >> "$GITHUB_OUTPUT"
|
|
39
39
|
|
|
40
|
-
- name:
|
|
40
|
+
- name: Gordian Open Integrity
|
|
41
41
|
shell: bash
|
|
42
42
|
run: |
|
|
43
43
|
MARK_FLAG=""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun test
|
|
2
2
|
|
|
3
3
|
import * as bunTest from 'bun:test'
|
|
4
|
-
import { run } from 't44/
|
|
4
|
+
import { run } from 't44/standalone-rt'
|
|
5
5
|
import { join } from 'path'
|
|
6
6
|
import { rm, mkdir, readFile, writeFile } from 'fs/promises'
|
|
7
7
|
import { existsSync } from 'fs'
|
package/caps/lifehash.test.ts
CHANGED
package/caps/xid.test.ts
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
// Bun Snapshot v1, https://bun.sh/docs/test/snapshots
|
|
2
2
|
|
|
3
3
|
exports[`XID Rotate Inception Key 1. Inception should match the inception document snapshot 1`] = `
|
|
4
|
-
"XID(
|
|
4
|
+
"XID(92b79181) [
|
|
5
5
|
'provenance': Bytes(115) [
|
|
6
6
|
'provenanceGenerator': Bytes(190)
|
|
7
7
|
'salt': Bytes(32)
|
|
8
8
|
]
|
|
9
9
|
'key': Bytes(78) [
|
|
10
|
+
'privateKey': Bytes(78)
|
|
10
11
|
'allow': 'All'
|
|
11
12
|
'salt': Bytes(32)
|
|
12
|
-
'privateKey': Bytes(78)
|
|
13
13
|
]
|
|
14
14
|
]"
|
|
15
15
|
`;
|
|
16
16
|
|
|
17
17
|
exports[`XID Rotate Inception Key 2. Add Bob key should match the two-key document snapshot 1`] = `
|
|
18
|
-
"XID(
|
|
19
|
-
'key': Bytes(78) [
|
|
20
|
-
'allow': 'All'
|
|
21
|
-
'salt': Bytes(32)
|
|
22
|
-
'privateKey': Bytes(78)
|
|
23
|
-
]
|
|
18
|
+
"XID(92b79181) [
|
|
24
19
|
'key': Bytes(80) [
|
|
25
20
|
'allow': 'All'
|
|
26
21
|
]
|
|
@@ -28,24 +23,29 @@ exports[`XID Rotate Inception Key 2. Add Bob key should match the two-key docume
|
|
|
28
23
|
'provenanceGenerator': Bytes(190)
|
|
29
24
|
'salt': Bytes(32)
|
|
30
25
|
]
|
|
26
|
+
'key': Bytes(78) [
|
|
27
|
+
'privateKey': Bytes(78)
|
|
28
|
+
'allow': 'All'
|
|
29
|
+
'salt': Bytes(32)
|
|
30
|
+
]
|
|
31
31
|
]"
|
|
32
32
|
`;
|
|
33
33
|
|
|
34
34
|
exports[`XID Rotate Inception Key 3. Remove inception key should match the post-rotation document snapshot 1`] = `
|
|
35
|
-
"XID(
|
|
35
|
+
"XID(92b79181) [
|
|
36
|
+
'key': Bytes(80) [
|
|
37
|
+
'allow': 'All'
|
|
38
|
+
]
|
|
36
39
|
'provenance': Bytes(115) [
|
|
37
40
|
'salt': Bytes(32)
|
|
38
41
|
'provenanceGenerator': Bytes(190)
|
|
39
42
|
]
|
|
40
|
-
'key': Bytes(80) [
|
|
41
|
-
'allow': 'All'
|
|
42
|
-
]
|
|
43
43
|
]"
|
|
44
44
|
`;
|
|
45
45
|
|
|
46
46
|
exports[`XID Rotate Inception Key 4. Ledger verification should match the ledger summary snapshot 1`] = `
|
|
47
47
|
"XID Ledger (3 revisions)
|
|
48
|
-
XID: XID(
|
|
48
|
+
XID: XID(92b79181)
|
|
49
49
|
|
|
50
50
|
#0 [5361a340] 2025-01-01T00:00:00Z "genesis"
|
|
51
51
|
#1 [5390d204] 2025-01-02T00:00:00Z "add-bob-key"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stream44.studio/t44-blockchaincommons.com",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "BSD-2-Clause-Patent",
|
|
6
6
|
"type": "module",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"@bcts/lifehash": "^1.0.0-alpha.20",
|
|
26
26
|
"commander": "^14.0.0",
|
|
27
27
|
"chalk": "^5.6.2",
|
|
28
|
-
"t44": "^0.4.0-rc.
|
|
29
|
-
"@stream44.studio/encapsulate": "^0.4.0-rc.
|
|
30
|
-
"open-integrity-core": "git+ssh://git@github.com/OpenIntegrityProject/core.git"
|
|
28
|
+
"t44": "^0.4.0-rc.6",
|
|
29
|
+
"@stream44.studio/encapsulate": "^0.4.0-rc.7"
|
|
31
30
|
},
|
|
32
31
|
"devDependencies": {
|
|
33
32
|
"@types/bun": "^1.3.4",
|
|
34
33
|
"@types/node": "^25.0.3",
|
|
35
|
-
"bun-types": "^1.3.4"
|
|
34
|
+
"bun-types": "^1.3.4",
|
|
35
|
+
"open-integrity-core": "git+ssh://git@github.com/OpenIntegrityProject/core.git"
|
|
36
36
|
}
|
|
37
37
|
}
|