@ternent/seal-cli 0.1.7 → 0.1.8
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 +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ternent/seal-cli
|
|
2
2
|
|
|
3
|
-
Seal signs files and manifests. It verifies artifacts offline. It emits portable proof JSON that `apps/
|
|
3
|
+
Seal signs files and manifests. It verifies artifacts offline. It emits portable proof JSON that `apps/seal` can verify in the browser without duplicate crypto logic.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -22,9 +22,9 @@ export SEAL_PUBLIC_KEY="$(cat public-key.pem)"
|
|
|
22
22
|
## Commands
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
seal manifest create --input apps/
|
|
26
|
-
seal sign --input apps/
|
|
27
|
-
seal verify --proof apps/
|
|
25
|
+
seal manifest create --input apps/seal/dist --out apps/seal/dist/dist-manifest.json
|
|
26
|
+
seal sign --input apps/seal/dist/dist-manifest.json --out apps/seal/dist/proof.json
|
|
27
|
+
seal verify --proof apps/seal/dist/proof.json --input apps/seal/dist/dist-manifest.json --json
|
|
28
28
|
seal public-key --json
|
|
29
29
|
```
|
|
30
30
|
|
|
@@ -117,7 +117,7 @@ Public key:
|
|
|
117
117
|
|
|
118
118
|
## Frontend Contract
|
|
119
119
|
|
|
120
|
-
`apps/
|
|
120
|
+
`apps/seal` verifies published artifacts by fetching:
|
|
121
121
|
|
|
122
122
|
- `/dist-manifest.json`
|
|
123
123
|
- `/proof.json`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ternent/seal-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Deterministic artifact signing for Seal",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"type": "module",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"vite": "^2.9.18",
|
|
46
46
|
"vitest": "^1.6.0",
|
|
47
|
-
"ternent-
|
|
48
|
-
"ternent-
|
|
47
|
+
"ternent-utils": "1.1.1",
|
|
48
|
+
"ternent-identity": "0.0.13"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "vite build",
|