@ariestools/cli 0.1.12 → 0.1.13

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 CHANGED
@@ -469,7 +469,7 @@ aries datalake audit purge # Delete rotated audit files older than --max-age-
469
469
  |---|---|---|
470
470
  | `-f, --follow` | `false` | Stream new rows as they arrive (tails the most recent file) |
471
471
  | `-n, --lines <n>` | `50` | Tail this many rows (0 = start fresh in `--follow` mode) |
472
- | `-d, --datalake <id>` | | Filter by datalake name or id |
472
+ | `--datalake-subject <subject>` | | Filter by the provider-scoped datalake pseudonym stored in audit rows |
473
473
  | `--status <prefix>` | | Status code prefix filter (e.g. `4` matches 4xx) |
474
474
  | `--method <verb>` | | HTTP method filter (`GET`, `POST`, …) |
475
475
  | `--authenticated <true\|false>` | | Show only authenticated or only anonymous requests |
@@ -496,8 +496,10 @@ aries datalake dev reset # Stop the dev server and wipe all local state
496
496
  #### `aries datalake dev up`
497
497
  | Option | Default | Description |
498
498
  |---|---|---|
499
- | `--control-port <n>` | `8787` | Control-plane port |
500
- | `--plane-port <n>` | `8788` | Data-plane port |
499
+ | `--control-port <n>` | free loopback port | Control-plane port |
500
+ | `--plane-port <n>` | free loopback port | Data-plane port |
501
+ | `--control-audience <aud>` | `aries-datalake-control` | Exact JWT audience accepted by the control plane |
502
+ | `--cors-origin <origin>` | disabled | Exact browser origin to allow; repeat for multiple origins |
501
503
  | `--timeout <s>` | `10` | Seconds to wait for health |
502
504
  | `--persist` | `false` | Persist store state to disk so it survives restarts |
503
505
  | `--audit` | `false` | Write a JSONL audit log of every data-plane request |
@@ -846,7 +848,7 @@ Produces a BoundWitness.
846
848
 
847
849
  A wallet account can mint a JWT-shaped, time-bounded permission token that a site verifies locally, without running its own login flow. Think of it as reverse OAuth: the holder signs an attestation declaring an audience (the domain they intend to use the token at) and an expiration; the site checks the signature and claims and grants the session.
848
850
 
849
- The token is the standard `header.payload.signature` JWT format, base64url-encoded. The signing input is `keccak256(utf8("${headerB64}.${payloadB64}"))` and the alg is `ES256K` (secp256k1 ECDSA). The header carries both `kid` (signer address) and `pub` (full public key) so verification is self-contained — no out-of-band pubkey lookup is needed.
851
+ The token is the standard `header.payload.signature` JWT format, base64url-encoded. The signing input is `SHA-256(utf8("${headerB64}.${payloadB64}"))` and the alg is `ES256K` (secp256k1 ECDSA). The header carries both `kid` (signer address) and `pub` (full public key) so verification is self-contained — no out-of-band pubkey lookup is needed.
850
852
 
851
853
  **Header** fields: `alg` (`ES256K`), `typ` (`JWT`), `kid` (40-char lowercase hex address), `pub` (hex public key bytes).
852
854