@shieldfive/crypto 1.0.0-rc.5 → 1.0.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/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ All notable changes to `@shieldfive/crypto` will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 1.0.0-rc.6
9
+
10
+ ### Added
11
+
12
+ - `buildUploadProofV3` (`@shieldfive/crypto/vault`): the upload proof for a
13
+ PQ-hybrid object, in the frame the ShieldFive server verifies — base64 of
14
+ `[0x03][0x03] || HMAC-SHA256(proofKey, [0x03][0x03] || header || chunk_0)`.
15
+ Two clients now produce it (the web app and the MCP server's upload path) and
16
+ a second hand-written implementation is how they would silently diverge. The
17
+ test builds the same frame independently with `node:crypto` and compares.
18
+
8
19
  ## 1.0.0-rc.5 — 2026-09-18
9
20
 
10
21
  No change to any file-encryption suite. Adds `@shieldfive/crypto/vault`,
@@ -291,7 +302,7 @@ top-level exports that downstream consumers depend on.
291
302
  (it was pinned at `1.0.0-alpha.11`). The constant is informational
292
303
  only — it is never written into file output or any test vector.
293
304
  - Corrected a backwards source comment in the `aes-gcm-v2` suite: the
294
- cross-file nonce-prefix space *widens* from 2^32 to 2^64 (the comment
305
+ cross-file nonce-prefix space _widens_ from 2^32 to 2^64 (the comment
295
306
  previously said "shrinks"). No behavior change — the README and
296
307
  CHANGELOG already described it correctly as widening.
297
308
 
@@ -314,9 +325,9 @@ top-level exports that downstream consumers depend on.
314
325
  ### Added
315
326
 
316
327
  - Cipher suite 0x04 `aes-gcm-v2`: 8-byte HKDF-derived nonce prefix
317
- + 4-byte BE chunk counter. Widens the cross-file IV-collision
318
- space from 2^32 to 2^64 while keeping the IV at 12 bytes. v1
319
- (suite 0x01) stays decrypt-only on the umbrella export.
328
+ - 4-byte BE chunk counter. Widens the cross-file IV-collision
329
+ space from 2^32 to 2^64 while keeping the IV at 12 bytes. v1
330
+ (suite 0x01) stays decrypt-only on the umbrella export.
320
331
  - Optional sender-attribution signatures (`src/identity/sign.ts`).
321
332
  Detached Ed25519 (alg 0x01) over
322
333
  `header_unauthenticated_bytes || concat(chunk_macs)`, appended as
package/dist/index.d.ts CHANGED
@@ -55,7 +55,7 @@ export interface AutoDecryptOptions {
55
55
  */
56
56
  export declare function autoDecryptBlob(options: AutoDecryptOptions): Promise<Blob>;
57
57
  /** Library version, also written into format documentation. */
58
- export declare const SHIELDFIVE_CRYPTO_VERSION = "1.0.0-rc.5";
58
+ export declare const SHIELDFIVE_CRYPTO_VERSION = "1.0.0-rc.6";
59
59
  /** Default cipher suite for new files when not specified by the caller. */
60
60
  export declare const DEFAULT_SUITE: 3;
61
61
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -142,7 +142,7 @@ export async function autoDecryptBlob(options) {
142
142
  }
143
143
  }
144
144
  /** Library version, also written into format documentation. */
145
- export const SHIELDFIVE_CRYPTO_VERSION = '1.0.0-rc.5';
145
+ export const SHIELDFIVE_CRYPTO_VERSION = '1.0.0-rc.6';
146
146
  /** Default cipher suite for new files when not specified by the caller. */
147
147
  export const DEFAULT_SUITE = SUITE.PQ_HYBRID_XCHACHA_MLKEM1024_V1;
148
148
  //# sourceMappingURL=index.js.map
@@ -28,8 +28,8 @@
28
28
  */
29
29
  /** Raised for any envelope or wrap that does not open. Never carries key bytes. */
30
30
  export declare class VaultCryptoError extends Error {
31
- readonly code: 'unwrap_failed' | 'name_decrypt_failed' | 'unsupported_envelope' | 'invalid_input' | 'invalid_connection_string';
32
- constructor(code: VaultCryptoError['code'], message: string);
31
+ readonly code: "unwrap_failed" | "name_decrypt_failed" | "unsupported_envelope" | "invalid_input" | "invalid_connection_string";
32
+ constructor(code: VaultCryptoError["code"], message: string);
33
33
  }
34
34
  /** A wrapped key as the database stores it: base64 ciphertext+tag and base64 IV. */
35
35
  export interface WrappedKey {
@@ -40,7 +40,7 @@ export interface WrappedKey {
40
40
  export declare function wrapChainKey(wrappingKey: Uint8Array, key: Uint8Array): Promise<WrappedKey>;
41
41
  /** Open one hop of the key chain. Throws `unwrap_failed` on a wrong key or tampering. */
42
42
  export declare function unwrapChainKey(wrappingKey: Uint8Array, wrapped: WrappedKey): Promise<Uint8Array>;
43
- export type NameKdfLevel = 'interactive' | 'moderate';
43
+ export type NameKdfLevel = "interactive" | "moderate";
44
44
  export interface NameEnvelope {
45
45
  v: 4 | 6;
46
46
  ct: string;
@@ -109,7 +109,7 @@ export declare const GRANT_CONNECTION_PREFIX = "sf-grant-v1:";
109
109
  * `file`, `file_pq` and `name` are only issued for objects whose parent key the
110
110
  * grant does not hold; everything below a scope root is reached by the chain.
111
111
  */
112
- export type GrantObjectKind = 'folder' | 'file' | 'file_pq' | 'name';
112
+ export type GrantObjectKind = "folder" | "file" | "file_pq" | "name";
113
113
  export interface GrantCredential {
114
114
  grantId: string;
115
115
  /** Sent to the server as a bearer token. The server stores only its SHA-256. */
@@ -121,6 +121,28 @@ export interface GrantCredential {
121
121
  }
122
122
  /** SHA-256 of an ML-KEM public key, hex. Pinned in the connection string. */
123
123
  export declare function publicKeyFingerprint(mlKemPublicKey: Uint8Array): string;
124
+ /**
125
+ * The upload proof for a PQ-hybrid (Suite 0x03) object, in the frame the
126
+ * ShieldFive server verifies:
127
+ *
128
+ * base64( [0x03][0x03] || HMAC-SHA256(proofKey, [0x03][0x03] || header || chunk_0) )
129
+ *
130
+ * `chunk_0` is the first frame INCLUDING its 4-byte big-endian length prefix.
131
+ * The server re-reads exactly those ranges from storage and recomputes the MAC,
132
+ * so a matching proof says the object storage holds is the object the client
133
+ * encrypted — it does not, and cannot, say anything about the plaintext.
134
+ *
135
+ * It lives here because it is a keyed construction over ShieldFive's own
136
+ * container format, and the clients that produce it (the web app, and the MCP
137
+ * server's upload path) must produce byte-identical frames. A second
138
+ * hand-written implementation is how the two silently diverge.
139
+ */
140
+ export declare function buildUploadProofV3(options: {
141
+ /** The per-upload proof key the server issued, hex. */
142
+ proofKeyHex: string;
143
+ /** The complete ciphertext, or at least header + first chunk frame. */
144
+ ciphertext: Uint8Array;
145
+ }): Promise<string>;
124
146
  /** Fresh token + secret for a new grant. Call in the owner's unlocked client. */
125
147
  export declare function createGrantCredential(options: {
126
148
  grantId: string;
@@ -130,7 +152,7 @@ export declare function createGrantCredential(options: {
130
152
  export declare function formatConnectionString(c: GrantCredential): string;
131
153
  export declare function parseConnectionString(value: string): GrantCredential;
132
154
  /** The bearer value a client sends. */
133
- export declare function grantBearerToken(c: Pick<GrantCredential, 'token'>): string;
155
+ export declare function grantBearerToken(c: Pick<GrantCredential, "token">): string;
134
156
  /** What the server stores and looks up: SHA-256 of the bearer token's bytes, hex. */
135
157
  export declare function hashGrantToken(bearer: string): string;
136
158
  /** GK = HKDF-SHA-256(secret, salt = utf8(grant id), info = AGENT_GRANT_WRAP). */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vault/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAsBH,mFAAmF;AACnF,qBAAa,gBAAiB,SAAQ,KAAK;IACzC,QAAQ,CAAC,IAAI,EACT,eAAe,GACf,qBAAqB,GACrB,sBAAsB,GACtB,eAAe,GACf,2BAA2B,CAAA;gBACnB,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM;CAK5D;AA0DD,oFAAoF;AACpF,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,MAAM,CAAA;CACX;AAED,4EAA4E;AAC5E,wBAAsB,YAAY,CAChC,WAAW,EAAE,UAAU,EACvB,GAAG,EAAE,UAAU,GACd,OAAO,CAAC,UAAU,CAAC,CAMrB;AAED,yFAAyF;AACzF,wBAAsB,cAAc,CAClC,WAAW,EAAE,UAAU,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