@floegence/flowersec-core 7.4.0 → 8.0.0

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.
Files changed (42) hide show
  1. package/THIRD_PARTY_NOTICES.md +6 -5
  2. package/dist/browser/connectSessionV3.d.ts +5 -2
  3. package/dist/browser/connectSessionV3.js +8 -1
  4. package/dist/node/acceptorV3.d.ts +1 -0
  5. package/dist/node/acceptorV3.js +4 -2
  6. package/dist/node/connectSessionV3.d.ts +5 -1
  7. package/dist/node/connectSessionV3.js +4 -0
  8. package/dist/node/tunnelRuntimeV3.js +3 -4
  9. package/dist/node/webSocketServerV3.js +1 -1
  10. package/dist/proxy/index.d.ts +1 -1
  11. package/dist/proxy/index.js +1 -1
  12. package/dist/proxy/integration.d.ts +12 -0
  13. package/dist/proxy/integration.js +33 -0
  14. package/dist/proxy/runtime.d.ts +2 -1
  15. package/dist/proxy/runtime.js +13 -5
  16. package/dist/proxy/sessionRotation.d.ts +26 -0
  17. package/dist/proxy/sessionRotation.js +131 -0
  18. package/dist/public/contract.d.ts +1 -0
  19. package/dist/v3/artifact.js +1 -1
  20. package/dist/v3/artifactLease.d.ts +2 -1
  21. package/dist/v3/artifactLease.js +7 -2
  22. package/dist/v3/connectionController.d.ts +15 -3
  23. package/dist/v3/connectionController.js +86 -17
  24. package/dist/v3/contract.d.ts +3 -0
  25. package/dist/v3/handshake.d.ts +9 -1
  26. package/dist/v3/handshake.js +53 -5
  27. package/dist/v3/protocol.d.ts +2 -1
  28. package/dist/v3/protocol.js +3 -1
  29. package/dist/v3/publicSession.d.ts +5 -1
  30. package/dist/v3/publicSession.js +7 -0
  31. package/dist/v3/security.d.ts +4 -1
  32. package/dist/v3/security.js +3 -0
  33. package/dist/v3/serverAdmission.d.ts +2 -0
  34. package/dist/v3/serverAdmission.js +1 -0
  35. package/dist/v3/session.d.ts +8 -1
  36. package/dist/v3/session.js +59 -9
  37. package/dist/v3/sessionConnector.d.ts +5 -1
  38. package/dist/v3/sessionConnector.js +7 -4
  39. package/dist/v3/unreliableMessage.js +1 -1
  40. package/package.json +4 -3
  41. package/sbom/cyclonedx.json +68 -31
  42. package/sbom/spdx.json +75 -38
@@ -3,8 +3,8 @@ import { SDK_DEFAULTS } from "../defaults.js";
3
3
  import { RpcRouter, RpcServer } from "../rpc/server.js";
4
4
  import { CarrierError } from "./carrier.js";
5
5
  import { FLOWERSEC_V3_PROFILE } from "./transportConstants.js";
6
- import { computeClientConfirmV3, computeHandshakeH0V3, computeHandshakeH1V3, computeHandshakeH2V3, computeHandshakeH3V3, computeServerConfirmV3, computeSharedSecretV3, decodeClientFinishedV3, decodeClientInitV3, decodeHandshakeFrameV3, decodeServerFinishedV3, deriveHandshakePRKV3, deriveSessionPRKV3, encodeClientFinishedCoreV3, encodeClientFinishedV3, encodeClientInitV3, encodeControlPrefaceV3, encodeServerFinishedCoreV3, encodeServerFinishedV3, generateEphemeralKeyV3, parseControlPrefaceV3, validateClientInitV3, validateServerFinishedV3, } from "./handshake.js";
7
- import { DirectionV3, InnerTypeV3, computeValidatedFSS3HashV3Internal, computeValidatedOpenHashV3Internal, computeSetupMAC, decodeInnerRecordV3, decodeOpenACKV3, decodeOpenPayload, decodeOpenRejectV3, decodeRecordHeader, decodeSetupPrefaceV3, decodeStreamKeyUpdateACKV3, deriveControlMaterial, deriveEpochZero, deriveEpochRoots, deriveNextEpoch, deriveStreamMaterial, encodeOpenACKV3, encodeOpenPayloadFromMetadataV3Internal, encodeOpenRejectV3, encodeSetupPreface, encodeStreamKeyUpdateACKV3, openRecordWithRawHeaderV3Internal, sealRecordWireV3Internal, verifySetupMAC, } from "./protocol.js";
6
+ import { computeClientConfirmV3, computeHandshakeH0V3, computeHandshakeH1V3, computeHandshakeH2V3, computeHandshakeH3V3, computeServerConfirmV3, clientSharedSecretV3, serverKeyShareV3, serverUnavailableV3, verifyServerUnavailableV3, HandshakeMessageTypeV3, decodeClientFinishedV3, decodeClientInitV3, decodeHandshakeFrameV3, decodeServerFinishedV3, deriveHandshakePRKV3, deriveSessionPRKV3, encodeClientFinishedCoreV3, encodeClientFinishedV3, encodeClientInitV3, encodeControlPrefaceV3, encodeServerFinishedCoreV3, encodeServerFinishedV3, generateEphemeralKeyV3, parseControlPrefaceV3, validateClientInitV3, validateServerFinishedV3, } from "./handshake.js";
7
+ import { DirectionV3, InnerTypeV3, computeValidatedFSS3HashV3Internal, computeValidatedOpenHashV3Internal, computeSetupMAC, decodeInnerRecordV3, decodeOpenACKV3, decodeOpenPayload, decodeOpenRejectV3, decodeRecordHeader, decodeSetupPrefaceV3, decodeStreamKeyUpdateACKV3, deriveControlMaterial, deriveEpochZero, deriveEpochRoots, deriveNextEpoch, deriveStreamMaterial, encodeOpenACKV3, encodeOpenPayloadFromMetadataV3Internal, encodeOpenRejectV3, encodeSetupPreface, encodeStreamKeyUpdateACKV3, openRecordWithRawHeaderV3Internal, sealRecordWireV3Internal, verifySetupMAC, CipherSuiteV3, } from "./protocol.js";
8
8
  import { StreamLifetimeLedgerV3, StreamLifetimeLedgerV3Error, maxLogicalStreamIDV3, } from "./streamLifetimeLedger.js";
9
9
  import { UNRELIABLE_MESSAGES_FEATURE_V3, UNRELIABLE_MESSAGE_WIRE_BYTES_V3, createInternalUnreliableMessageChannelV3, } from "./unreliableMessage.js";
10
10
  const decoder = new TextDecoder();
@@ -81,7 +81,7 @@ export async function establishSessionV3(carrier, config, options = {}) {
81
81
  catch (error) {
82
82
  control?.abort(asError(error));
83
83
  carrier.abort({ code: 6, reason: "handshake failed" });
84
- if (error instanceof SessionV3Error)
84
+ if (error instanceof SessionV3Error || error instanceof HybridUnavailableV3)
85
85
  throw error;
86
86
  throw new SessionV3Error("handshake", `Flowersec v5 handshake failed: ${errorMessage(error)}`);
87
87
  }
@@ -90,10 +90,13 @@ export async function establishSessionV3(carrier, config, options = {}) {
90
90
  establishDeadline.cancel();
91
91
  }
92
92
  }
93
+ export class HybridUnavailableV3 extends Error {
94
+ }
93
95
  export class SessionV3 {
94
96
  carrier;
95
97
  control;
96
98
  controlReader;
99
+ get usesHybridKeyExchange() { return this.suite === CipherSuiteV3.XWing; }
97
100
  path;
98
101
  endpointInstanceId;
99
102
  rpc;
@@ -119,6 +122,7 @@ export class SessionV3 {
119
122
  applicationWriteBytes = 0;
120
123
  applicationWrites = 0;
121
124
  nextLogicalID;
125
+ budgetChanged;
122
126
  receivedGoAway = false;
123
127
  receivedGoAwayLastAccepted = 0n;
124
128
  receivedGoAwayReason = 0;
@@ -434,6 +438,7 @@ export class SessionV3 {
434
438
  throw new SessionV3Error("resource_exhausted", "logical stream lifetime ledger exhausted");
435
439
  }
436
440
  this.nextLogicalID += 2n;
441
+ this.budgetChanged?.(true);
437
442
  const setupAction = this.outboundLedger.validFSS3(id);
438
443
  ledgerAllocated = true;
439
444
  if (setupAction === "reset") {
@@ -713,6 +718,7 @@ export class SessionV3 {
713
718
  throw this.terminalError ?? new SessionV3Error("closed", "Flowersec v5 session closed");
714
719
  if (!this.sentGoAway) {
715
720
  this.sentGoAway = true;
721
+ this.budgetChanged?.(false);
716
722
  this.sentGoAwayLastAccepted = this.peerLedger.frontier;
717
723
  this.sentGoAwayReason = reason;
718
724
  }
@@ -894,6 +900,35 @@ export class SessionV3 {
894
900
  async waitTermination() {
895
901
  return await this.termination;
896
902
  }
903
+ canAllocateStream() {
904
+ return this.lifecycle === "open" && !this.sentGoAway && !this.receivedGoAway && this.nextLogicalID <= maxLogicalStreamIDV3(this.role);
905
+ }
906
+ watchStreamBudget(minimum, setupMs) {
907
+ return new Promise(resolve => {
908
+ const buckets = new Uint32Array(30);
909
+ let last = Math.floor(performance.now() / 1000);
910
+ let total = 0;
911
+ this.budgetChanged = allocated => {
912
+ const second = Math.floor(performance.now() / 1000);
913
+ for (let tick = Math.max(last + 1, second - 29); tick <= second; tick++) {
914
+ total -= buckets[tick % 30];
915
+ buckets[tick % 30] = 0;
916
+ }
917
+ last = second;
918
+ if (allocated) {
919
+ buckets[second % 30] = buckets[second % 30] + 1;
920
+ total++;
921
+ }
922
+ const rate = Math.max(buckets[second % 30], total / 30);
923
+ const remaining = Number((maxLogicalStreamIDV3(this.role) + 2n - this.nextLogicalID) / 2n);
924
+ if (!this.canAllocateStream() || remaining <= Math.max(minimum, Math.ceil(2 * rate * setupMs / 1000))) {
925
+ this.budgetChanged = undefined;
926
+ resolve();
927
+ }
928
+ };
929
+ this.budgetChanged(false);
930
+ });
931
+ }
897
932
  runtimeInventory() {
898
933
  let streams = 0, residual = 0;
899
934
  for (const stream of this.streams.values())
@@ -1191,6 +1226,7 @@ export class SessionV3 {
1191
1226
  }
1192
1227
  const lastAccepted = this.peerLedger.frontier;
1193
1228
  this.sentGoAway = true;
1229
+ this.budgetChanged?.(false);
1194
1230
  this.sentGoAwayLastAccepted = lastAccepted;
1195
1231
  this.sentGoAwayReason = reason;
1196
1232
  await this.sendControl(InnerTypeV3.GoAway, idReason(lastAccepted, reason), signal);
@@ -1206,6 +1242,7 @@ export class SessionV3 {
1206
1242
  return;
1207
1243
  }
1208
1244
  this.receivedGoAway = true;
1245
+ this.budgetChanged?.(false);
1209
1246
  this.receivedGoAwayLastAccepted = lastAccepted;
1210
1247
  this.receivedGoAwayReason = reason;
1211
1248
  const excluded = [...this.streams.values()].filter((stream) => this.isLocalLogicalID(stream.id) && stream.id > lastAccepted);
@@ -1808,14 +1845,21 @@ async function clientHandshake(control, reader, config, offeredFeatures, signal)
1808
1845
  await writeAll(control, controlPreface, signal);
1809
1846
  await writeAll(control, initRaw, signal);
1810
1847
  const serverRaw = await readHandshakeFrame(reader, signal);
1848
+ const h0 = computeHandshakeH0V3(controlPreface, initRaw);
1849
+ if (serverRaw[5] === HandshakeMessageTypeV3.ServerUnavailable) {
1850
+ verifyServerUnavailableV3(serverRaw, config.psk, h0, expectations(config, false));
1851
+ await control.closeWrite();
1852
+ throw new HybridUnavailableV3();
1853
+ }
1811
1854
  const server = decodeServerFinishedV3(serverRaw, config.suite);
1812
1855
  validateServerFinishedV3(server, expectations(config, false));
1813
1856
  if ((server.core.selectedFeatures & ~offeredFeatures) !== 0) {
1814
1857
  throw protocolError("server selected an unoffered feature");
1815
1858
  }
1816
- const shared = computeSharedSecretV3(config.suite, key.privateKey, server.core.serverEphemeralPublic);
1859
+ const shared = clientSharedSecretV3(config.suite, key.privateKey, server.core.serverEphemeralPublic);
1860
+ key.privateKey.fill(0);
1817
1861
  const handshakePRK = deriveHandshakePRKV3(config.psk, shared);
1818
- const h0 = computeHandshakeH0V3(controlPreface, initRaw);
1862
+ shared.fill(0);
1819
1863
  const h1 = computeHandshakeH1V3(h0, encodeServerFinishedCoreV3(server.core, config.suite));
1820
1864
  if (!bytesEqual(server.serverConfirm, computeServerConfirmV3(handshakePRK, h1))) {
1821
1865
  throw protocolError("server confirm mismatch");
@@ -1840,13 +1884,20 @@ async function serverHandshake(control, reader, config, localFeatures, signal) {
1840
1884
  const clientRaw = await readHandshakeFrame(reader, signal);
1841
1885
  const client = decodeClientInitV3(clientRaw);
1842
1886
  validateClientInitV3(client, expectations(config, true));
1843
- const key = generateEphemeralKeyV3(config.suite, (length) => config.runtime.entropy(length));
1844
- const shared = computeSharedSecretV3(config.suite, key.privateKey, client.clientEphemeralPublic);
1887
+ const h0 = computeHandshakeH0V3(controlPreface, clientRaw);
1888
+ if (config.suite === CipherSuiteV3.XWing && config.enableHybridKeyExchange !== true) {
1889
+ await writeAll(control, serverUnavailableV3(config.psk, h0, config.localAdmissionBinding, config.localEndpointInstanceID), signal);
1890
+ await control.closeWrite();
1891
+ await reader.readEOF(signal);
1892
+ throw new HybridUnavailableV3();
1893
+ }
1894
+ const { publicKey, shared } = serverKeyShareV3(config.suite, client.clientEphemeralPublic, (length) => config.runtime.entropy(length));
1845
1895
  const handshakePRK = deriveHandshakePRKV3(config.psk, shared);
1896
+ shared.fill(0);
1846
1897
  const core = {
1847
1898
  suite: config.suite,
1848
1899
  handshakeID: sessionRandomBytes(config, 16),
1849
- serverEphemeralPublic: key.publicKey,
1900
+ serverEphemeralPublic: publicKey,
1850
1901
  nonceS: sessionRandomBytes(config, 32),
1851
1902
  sessionContractHash: config.sessionContractHash,
1852
1903
  selectedFeatures: client.selectedFeatures & localFeatures,
@@ -1854,7 +1905,6 @@ async function serverHandshake(control, reader, config, localFeatures, signal) {
1854
1905
  serverAdmissionBinding: config.localAdmissionBinding,
1855
1906
  serverEndpointInstanceID: config.localEndpointInstanceID,
1856
1907
  };
1857
- const h0 = computeHandshakeH0V3(controlPreface, clientRaw);
1858
1908
  const h1 = computeHandshakeH1V3(h0, encodeServerFinishedCoreV3(core, config.suite));
1859
1909
  const serverRaw = encodeServerFinishedV3({
1860
1910
  core,
@@ -1,7 +1,7 @@
1
1
  import type { Session } from "../public/contract.js";
2
2
  import type { RpcRouter } from "../rpc/server.js";
3
3
  import { type ArtifactV3, type CanonicalArtifactCandidateV3 } from "./artifact.js";
4
- import { type ArtifactLeaseV3 } from "./artifactLease.js";
4
+ import { type ArtifactLeaseV3, type KeyExchangeMode } from "./artifactLease.js";
5
5
  import type { CarrierSessionV3, NativeCarrierStreamV3 } from "./carrier.js";
6
6
  import type { LeaseAttemptContextV3, LeaseAttemptResultV3 } from "./connectionController.js";
7
7
  import { type SessionDeadlineFactoryV3, type SessionProtocolRuntimeV3 } from "./session.js";
@@ -25,6 +25,8 @@ export type ReadyAdmissionTransportV3 = Readonly<{
25
25
  }>;
26
26
  export type CandidateDialerV3 = (candidate: CanonicalArtifactCandidateV3, artifact: ArtifactV3, attemptNowUnixSeconds: number, capability: RuntimeCapabilityDescriptorV3, signal: AbortSignal) => Promise<ReadyAdmissionTransportV3>;
27
27
  export type SessionConnectorRuntimeV3 = Readonly<{
28
+ keyExchange?: KeyExchangeMode;
29
+ enableHybridKeyExchange?: boolean;
28
30
  capabilitySnapshot(): RuntimeCapabilityDescriptorV3;
29
31
  candidateEligible?: (candidate: CanonicalArtifactCandidateV3) => boolean;
30
32
  dial: CandidateDialerV3;
@@ -42,5 +44,7 @@ export declare function connectArtifactLeaseWithRuntimeV3(lease: ArtifactLeaseV3
42
44
  connectTimeoutMs?: number;
43
45
  signal?: AbortSignal;
44
46
  tunnelIngressURL?: string;
47
+ keyExchange?: KeyExchangeMode;
48
+ enableHybridKeyExchange?: boolean;
45
49
  }>, createRuntime: (signal: AbortSignal) => SessionConnectorRuntimeV3 | Promise<SessionConnectorRuntimeV3>): Promise<Session>;
46
50
  export declare function attemptClaimedArtifactLeaseV3(context: LeaseAttemptContextV3, runtime: SessionConnectorRuntimeV3): Promise<LeaseAttemptResultV3<Session>>;
@@ -5,13 +5,13 @@ import { selectTunnelIngress } from "./tunnelIngress.js";
5
5
  import { artifactLeaseStateV3, claimConnectionLeaseV3, claimedArtifactV3, commitArtifactLeaseSpendV3, retireArtifactLeaseV3, } from "./artifactLease.js";
6
6
  import { aggregateCandidateFailuresV3, } from "./controller.js";
7
7
  import { projectSessionV3 } from "./publicSession.js";
8
- import { ConnectErrorV3, TransportFailureV3, snapshotTransportSecurityPolicyV3, } from "./security.js";
9
- import { establishSessionV3, } from "./session.js";
8
+ import { ConnectErrorV3, VerifiedHybridRefusalV3, TransportFailureV3, snapshotTransportSecurityPolicyV3, } from "./security.js";
9
+ import { establishSessionV3, HybridUnavailableV3, } from "./session.js";
10
10
  import { supportsCandidateSecurityV3, validateRuntimeCapabilityDescriptorV3, } from "./capability.js";
11
11
  export async function connectArtifactLeaseV3(lease, runtime, signal) {
12
12
  let claim;
13
13
  try {
14
- claim = claimConnectionLeaseV3(lease, runtime.tunnelIngressURL);
14
+ claim = claimConnectionLeaseV3(lease, runtime.tunnelIngressURL, runtime.keyExchange);
15
15
  }
16
16
  catch (error) {
17
17
  if (error instanceof ConnectErrorV3)
@@ -25,7 +25,7 @@ export async function connectArtifactLeaseWithRuntimeV3(lease, options, createRu
25
25
  let ingress;
26
26
  try {
27
27
  ingress = options.tunnelIngressURL;
28
- claim = claimConnectionLeaseV3(lease, ingress);
28
+ claim = claimConnectionLeaseV3(lease, ingress, options.keyExchange);
29
29
  }
30
30
  catch (error) {
31
31
  if (error instanceof ConnectErrorV3)
@@ -282,6 +282,8 @@ async function attemptClaimedArtifactLeaseWithinDeadlineV3(context, runtime) {
282
282
  }
283
283
  catch (error) {
284
284
  carrier.abort({ code: 6, reason: "session establishment failed" });
285
+ if (error instanceof HybridUnavailableV3 && config.role === "client")
286
+ throw new VerifiedHybridRefusalV3();
285
287
  throw error instanceof ConnectErrorV3
286
288
  ? error
287
289
  : new ConnectErrorV3("connection_failed", { kind: "retryable" });
@@ -311,6 +313,7 @@ function sessionConfigFromArtifactV3(artifact, rawFSB3, runtime) {
311
313
  const tunnel = artifact.path.kind === "tunnel" ? artifact.path : undefined;
312
314
  return {
313
315
  role: tunnel?.role === 2 ? "server" : "client",
316
+ enableHybridKeyExchange: runtime.enableHybridKeyExchange === true,
314
317
  path: artifact.path.kind,
315
318
  channelID: artifact.session.channel_id,
316
319
  sessionContractHash: base64urlDecode(artifact.session.contract_hash_b64u),
@@ -204,7 +204,7 @@ export function sealUnreliableMessageDatagramV3(options) {
204
204
  };
205
205
  }
206
206
  function cipher(suite, key, nonce, aad) {
207
- if (suite === CipherSuiteV3.ChaCha20Poly1305)
207
+ if (suite === CipherSuiteV3.ChaCha20Poly1305 || suite === CipherSuiteV3.XWing)
208
208
  return chacha20poly1305(key, nonce, aad);
209
209
  if (suite === CipherSuiteV3.AES256GCM)
210
210
  return gcm(key, nonce, aad);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/flowersec-core",
3
- "version": "7.4.0",
3
+ "version": "8.0.0",
4
4
  "description": "Flowersec core TypeScript library for carrier-neutral encrypted sessions and multiplexed streams.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -79,6 +79,7 @@
79
79
  "@noble/ciphers": "2.4.0",
80
80
  "@noble/curves": "2.4.0",
81
81
  "@noble/hashes": "2.4.0",
82
+ "@noble/post-quantum": "0.7.1",
82
83
  "tr46": "7.0.0",
83
84
  "ws": "8.22.0"
84
85
  },
@@ -99,7 +100,7 @@
99
100
  "vitest": "4.1.12"
100
101
  },
101
102
  "optionalDependencies": {
102
- "@floegence/flowersec-node-native": "7.4.0"
103
+ "@floegence/flowersec-node-native": "8.0.0"
103
104
  },
104
- "flowersecSourceCommit": "34224f97098671dd8c3fb16bc47b2b5fda0d2708"
105
+ "flowersecSourceCommit": "ac934f36c4c92d970deb5e398cdb0a1405609e18"
105
106
  }
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "bomFormat": "CycloneDX",
3
3
  "specVersion": "1.5",
4
- "serialNumber": "urn:uuid:cd12bee3-ea7e-5a8e-87d9-4da62815982f",
4
+ "serialNumber": "urn:uuid:08344136-1822-58b5-857b-ed908be6102c",
5
5
  "version": 1,
6
6
  "metadata": {
7
7
  "component": {
8
8
  "type": "library",
9
9
  "name": "@floegence/flowersec-core",
10
- "version": "7.4.0",
11
- "purl": "pkg:npm/%40floegence/flowersec-core@7.4.0",
12
- "bom-ref": "pkg:npm/%40floegence/flowersec-core@7.4.0"
10
+ "version": "8.0.0",
11
+ "purl": "pkg:npm/%40floegence/flowersec-core@8.0.0",
12
+ "bom-ref": "pkg:npm/%40floegence/flowersec-core@8.0.0"
13
13
  },
14
14
  "properties": [
15
15
  {
16
16
  "name": "flowersec:source-inventory-sha256",
17
- "value": "b244664327f1043c95a068c3467e353975ac7a5cc9270f2478d174c3040451a1"
17
+ "value": "3e7fa9421a80e93ec6fa7f27cb5f041d58f215f7b7bd8d0405d9c1c1234d0038"
18
18
  }
19
19
  ]
20
20
  },
@@ -22,9 +22,9 @@
22
22
  {
23
23
  "type": "library",
24
24
  "name": "@floegence/flowersec-node-native",
25
- "version": "7.4.0",
26
- "purl": "pkg:npm/%40floegence/flowersec-node-native@7.4.0",
27
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native@7.4.0",
25
+ "version": "8.0.0",
26
+ "purl": "pkg:npm/%40floegence/flowersec-node-native@8.0.0",
27
+ "bom-ref": "pkg:npm/%40floegence/flowersec-node-native@8.0.0",
28
28
  "licenses": [
29
29
  {
30
30
  "expression": "MIT"
@@ -50,9 +50,9 @@
50
50
  {
51
51
  "type": "library",
52
52
  "name": "@floegence/flowersec-node-native-darwin-arm64",
53
- "version": "7.4.0",
54
- "purl": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@7.4.0",
55
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@7.4.0",
53
+ "version": "8.0.0",
54
+ "purl": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@8.0.0",
55
+ "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@8.0.0",
56
56
  "licenses": [
57
57
  {
58
58
  "expression": "MIT"
@@ -78,9 +78,9 @@
78
78
  {
79
79
  "type": "library",
80
80
  "name": "@floegence/flowersec-node-native-darwin-x64",
81
- "version": "7.4.0",
82
- "purl": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@7.4.0",
83
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@7.4.0",
81
+ "version": "8.0.0",
82
+ "purl": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@8.0.0",
83
+ "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@8.0.0",
84
84
  "licenses": [
85
85
  {
86
86
  "expression": "MIT"
@@ -106,9 +106,9 @@
106
106
  {
107
107
  "type": "library",
108
108
  "name": "@floegence/flowersec-node-native-linux-arm64-gnu",
109
- "version": "7.4.0",
110
- "purl": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@7.4.0",
111
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@7.4.0",
109
+ "version": "8.0.0",
110
+ "purl": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@8.0.0",
111
+ "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@8.0.0",
112
112
  "licenses": [
113
113
  {
114
114
  "expression": "MIT"
@@ -134,9 +134,9 @@
134
134
  {
135
135
  "type": "library",
136
136
  "name": "@floegence/flowersec-node-native-linux-x64-gnu",
137
- "version": "7.4.0",
138
- "purl": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@7.4.0",
139
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@7.4.0",
137
+ "version": "8.0.0",
138
+ "purl": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@8.0.0",
139
+ "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@8.0.0",
140
140
  "licenses": [
141
141
  {
142
142
  "expression": "MIT"
@@ -243,6 +243,34 @@
243
243
  }
244
244
  ]
245
245
  },
246
+ {
247
+ "type": "library",
248
+ "name": "@noble/post-quantum",
249
+ "version": "0.7.1",
250
+ "purl": "pkg:npm/%40noble/post-quantum@0.7.1",
251
+ "bom-ref": "pkg:npm/%40noble/post-quantum@0.7.1",
252
+ "licenses": [
253
+ {
254
+ "expression": "MIT"
255
+ }
256
+ ],
257
+ "externalReferences": [
258
+ {
259
+ "type": "distribution",
260
+ "url": "https://registry.npmjs.org/@noble/post-quantum/-/post-quantum-0.7.1.tgz"
261
+ }
262
+ ],
263
+ "properties": [
264
+ {
265
+ "name": "flowersec:declared-license",
266
+ "value": "MIT"
267
+ },
268
+ {
269
+ "name": "flowersec:source-offer-required",
270
+ "value": "false"
271
+ }
272
+ ]
273
+ },
246
274
  {
247
275
  "type": "library",
248
276
  "name": "@types/node",
@@ -386,40 +414,41 @@
386
414
  ],
387
415
  "dependencies": [
388
416
  {
389
- "ref": "pkg:npm/%40floegence/flowersec-core@7.4.0",
417
+ "ref": "pkg:npm/%40floegence/flowersec-core@8.0.0",
390
418
  "dependsOn": [
391
- "pkg:npm/%40floegence/flowersec-node-native@7.4.0",
419
+ "pkg:npm/%40floegence/flowersec-node-native@8.0.0",
392
420
  "pkg:npm/%40noble/ciphers@2.4.0",
393
421
  "pkg:npm/%40noble/curves@2.4.0",
394
422
  "pkg:npm/%40noble/hashes@2.4.0",
423
+ "pkg:npm/%40noble/post-quantum@0.7.1",
395
424
  "pkg:npm/%40types/node@26.4.0",
396
425
  "pkg:npm/tr46@7.0.0",
397
426
  "pkg:npm/ws@8.22.0"
398
427
  ]
399
428
  },
400
429
  {
401
- "ref": "pkg:npm/%40floegence/flowersec-node-native@7.4.0",
430
+ "ref": "pkg:npm/%40floegence/flowersec-node-native@8.0.0",
402
431
  "dependsOn": [
403
- "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@7.4.0",
404
- "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@7.4.0",
405
- "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@7.4.0",
406
- "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@7.4.0"
432
+ "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@8.0.0",
433
+ "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@8.0.0",
434
+ "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@8.0.0",
435
+ "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@8.0.0"
407
436
  ]
408
437
  },
409
438
  {
410
- "ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@7.4.0",
439
+ "ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@8.0.0",
411
440
  "dependsOn": []
412
441
  },
413
442
  {
414
- "ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@7.4.0",
443
+ "ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@8.0.0",
415
444
  "dependsOn": []
416
445
  },
417
446
  {
418
- "ref": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@7.4.0",
447
+ "ref": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@8.0.0",
419
448
  "dependsOn": []
420
449
  },
421
450
  {
422
- "ref": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@7.4.0",
451
+ "ref": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@8.0.0",
423
452
  "dependsOn": []
424
453
  },
425
454
  {
@@ -436,6 +465,14 @@
436
465
  "ref": "pkg:npm/%40noble/hashes@2.4.0",
437
466
  "dependsOn": []
438
467
  },
468
+ {
469
+ "ref": "pkg:npm/%40noble/post-quantum@0.7.1",
470
+ "dependsOn": [
471
+ "pkg:npm/%40noble/ciphers@2.4.0",
472
+ "pkg:npm/%40noble/curves@2.4.0",
473
+ "pkg:npm/%40noble/hashes@2.4.0"
474
+ ]
475
+ },
439
476
  {
440
477
  "ref": "pkg:npm/%40types/node@26.4.0",
441
478
  "dependsOn": [