@docstack/abe 0.1.0 → 0.1.1

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/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![npm](https://img.shields.io/npm/v/@docstack/abe)](https://www.npmjs.com/package/@docstack/abe)
2
- [![Docs](https://img.shields.io/badge/docs-onyx--og.github.io-blue)](https://onyx-og.github.io/docstack/docs/guides/access-scopes)
2
+ [![Docs](https://img.shields.io/badge/docs-onyx.ac-blue)](https://onyx.ac/products/docstack/docs/guides/access-scopes/)
3
3
  [![License](https://img.shields.io/badge/license-CC--BY--SA--4.0-lightgrey)](https://github.com/onyx-og/docstack/blob/main/LICENSE.md)
4
4
 
5
5
  # @docstack/abe
@@ -49,7 +49,7 @@ Every key and ciphertext is a string. rabe serialises 64-bit limbs that do not s
49
49
 
50
50
  ## Status
51
51
 
52
- Experimental cryptography, unaudited. rabe's BN254 backend carries roughly a 100-bit modern security margin; an audit gates any production claim. The reasoning, the alternatives measured and the residual risks are in [ADR-0045](https://github.com/onyx-og/docstack/blob/main/specs/adr/0045-access-control-is-cryptographic-cp-abe-scopes-beside-the-engine.md) and the [threat model](https://onyx-og.github.io/docstack/docs/concepts/access-control/threat-model).
52
+ Experimental cryptography, unaudited. rabe's BN254 backend carries roughly a 100-bit modern security margin; an audit gates any production claim. The reasoning, the alternatives measured and the residual risks are in [ADR-0045](https://github.com/onyx-og/docstack/blob/main/specs/adr/0045-access-control-is-cryptographic-cp-abe-scopes-beside-the-engine.md) and the [threat model](https://onyx.ac/products/docstack/docs/concepts/access-control/threat-model/).
53
53
 
54
54
  ## Building from source
55
55
 
@@ -57,8 +57,8 @@ The WASM under `src/wasm` is vendored and regenerated by `npm run build:wasm`, w
57
57
 
58
58
  ## Documentation
59
59
 
60
- - [Scope your data](https://onyx-og.github.io/docstack/docs/guides/access-scopes), the guide
61
- - [Access control](https://onyx-og.github.io/docstack/docs/concepts/access-control/), the model, its formula language and its limits
60
+ - [Scope your data](https://onyx.ac/products/docstack/docs/guides/access-scopes), the guide
61
+ - [Access control](https://onyx.ac/products/docstack/docs/concepts/access-control/), the model, its formula language and its limits
62
62
  - [API reference](https://onyx-og.github.io/docstack/docs/api/abe/)
63
63
 
64
64
  ## License
package/lib/index.d.ts CHANGED
File without changes
package/lib/index.js CHANGED
File without changes
package/lib/policy.d.ts CHANGED
File without changes
package/lib/policy.js CHANGED
File without changes
package/lib/runtime.d.ts CHANGED
File without changes
package/lib/runtime.js CHANGED
File without changes
File without changes
package/lib/wasm/bytes.js CHANGED
File without changes
File without changes
package/lib/wasm/glue.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docstack/abe",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "CP-ABE (AC17) primitives for DocStack cryptographic access scopes: rabe compiled to WASM, policy normalization, CEK wrap/unwrap (ADR-0045)",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -28,8 +28,7 @@
28
28
  "scripts": {
29
29
  "build": "npx tsc -build --force ./tsconfig.json && node scripts/copy-wasm.mjs",
30
30
  "build:wasm": "bash scripts/build-wasm.sh",
31
- "test": "node scripts/smoke.mjs",
32
- "prepublishOnly": "npm run build"
31
+ "test": "node scripts/smoke.mjs"
33
32
  },
34
33
  "keywords": [
35
34
  "cp-abe",
@@ -38,7 +37,7 @@
38
37
  "access-control"
39
38
  ],
40
39
  "author": "Onyx <hello@onyx.ac> (https://onyx.ac)",
41
- "homepage": "https://onyx.ac/docstack",
40
+ "homepage": "https://onyx.ac/products/docstack",
42
41
  "license": "CC-BY-SA-4.0",
43
42
  "bugs": {
44
43
  "url": "https://github.com/onyx-og/docstack/issues"