@floegence/flowersec-core 7.5.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.
@@ -24,6 +24,7 @@ export declare function rejectSessionAdmissionV3(received: ReceivedSessionAdmiss
24
24
  }>>, admissionReasons: ReadonlySet<string>, signal?: AbortSignal): Promise<never>;
25
25
  export declare function acceptReceivedSessionV3(received: ReceivedSessionAdmissionV3, artifact: ArtifactV3, options: Readonly<{
26
26
  runtime: SessionProtocolRuntimeV3;
27
+ enableHybridKeyExchange?: boolean;
27
28
  maxRpcFrameBytes?: number;
28
29
  maxConcurrentRpcRequests?: number;
29
30
  admissionReasons: ReadonlySet<string>;
@@ -33,6 +34,7 @@ export declare function acceptReceivedSessionV3(received: ReceivedSessionAdmissi
33
34
  }>): Promise<SessionV3>;
34
35
  export declare function acceptCarrierSessionV3(carrier: CarrierSessionV3, authorize: AdmissionAuthorizerV3, options: Readonly<{
35
36
  runtime: SessionProtocolRuntimeV3;
37
+ enableHybridKeyExchange?: boolean;
36
38
  maxRpcFrameBytes?: number;
37
39
  maxConcurrentRpcRequests?: number;
38
40
  admissionReasons: ReadonlySet<string>;
@@ -77,6 +77,7 @@ async function acceptCarrierBoundSessionV3(received, artifact, options) {
77
77
  const binding = received.decoded.localAdmissionBinding;
78
78
  return await establishSessionV3(received.carrier, {
79
79
  role: "server",
80
+ enableHybridKeyExchange: options.enableHybridKeyExchange === true,
80
81
  path: artifact.path.kind,
81
82
  channelID: artifact.session.channel_id,
82
83
  sessionContractHash: base64urlDecode(artifact.session.contract_hash_b64u),
@@ -3,7 +3,7 @@ import { RpcRouter, type RpcServerOptions } from "../rpc/server.js";
3
3
  import type { InternalByteStreamV3 as ByteStreamV3, InternalIncomingStreamV3 as IncomingStreamV3, InternalRpcPeerV3, InternalSessionTerminationV3 as SessionTerminationV3, InternalSessionV3 as SessionV3Contract, OperationOptionsV3, PathKind, InternalStreamOpenOptionsV3, UnreliableMessageChannelV3 } from "./contract.js";
4
4
  import { type CarrierSessionV3, type CarrierStreamV3 } from "./carrier.js";
5
5
  import type { SessionContractV3 } from "./artifact.js";
6
- import { DirectionV3, InnerTypeV3, type EpochRootsV3, type RecordMaterialV3, type RecordHeaderV3, type CipherSuiteV3 } from "./protocol.js";
6
+ import { DirectionV3, InnerTypeV3, type EpochRootsV3, type RecordMaterialV3, type RecordHeaderV3, CipherSuiteV3 } from "./protocol.js";
7
7
  export type SessionRoleV3 = "client" | "server";
8
8
  export type SessionDeadlinePhaseV3 = "establish" | "rekey_prepare" | "rekey_completion";
9
9
  export type SessionDeadlineHandleV3 = Readonly<{
@@ -18,6 +18,7 @@ export type SessionDeadlinesV3 = Readonly<{
18
18
  factory?: SessionDeadlineFactoryV3;
19
19
  }>;
20
20
  export type SessionConfigV3 = Readonly<{
21
+ enableHybridKeyExchange?: boolean;
21
22
  role: SessionRoleV3;
22
23
  path: PathKind;
23
24
  channelID: string;
@@ -67,10 +68,13 @@ type HandshakeMaterial = Readonly<{
67
68
  selectedFeatures: number;
68
69
  }>;
69
70
  export declare function establishSessionV3(carrier: CarrierSessionV3, config: SessionConfigV3, options?: OperationOptionsV3): Promise<SessionV3>;
71
+ export declare class HybridUnavailableV3 extends Error {
72
+ }
70
73
  export declare class SessionV3 implements SessionV3Contract {
71
74
  private readonly carrier;
72
75
  private readonly control;
73
76
  private readonly controlReader;
77
+ get usesHybridKeyExchange(): boolean;
74
78
  readonly path: PathKind;
75
79
  readonly endpointInstanceId: string | undefined;
76
80
  readonly rpc: SessionRpcPeerV3;
@@ -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;
@@ -1842,14 +1845,21 @@ async function clientHandshake(control, reader, config, offeredFeatures, signal)
1842
1845
  await writeAll(control, controlPreface, signal);
1843
1846
  await writeAll(control, initRaw, signal);
1844
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
+ }
1845
1854
  const server = decodeServerFinishedV3(serverRaw, config.suite);
1846
1855
  validateServerFinishedV3(server, expectations(config, false));
1847
1856
  if ((server.core.selectedFeatures & ~offeredFeatures) !== 0) {
1848
1857
  throw protocolError("server selected an unoffered feature");
1849
1858
  }
1850
- 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);
1851
1861
  const handshakePRK = deriveHandshakePRKV3(config.psk, shared);
1852
- const h0 = computeHandshakeH0V3(controlPreface, initRaw);
1862
+ shared.fill(0);
1853
1863
  const h1 = computeHandshakeH1V3(h0, encodeServerFinishedCoreV3(server.core, config.suite));
1854
1864
  if (!bytesEqual(server.serverConfirm, computeServerConfirmV3(handshakePRK, h1))) {
1855
1865
  throw protocolError("server confirm mismatch");
@@ -1874,13 +1884,20 @@ async function serverHandshake(control, reader, config, localFeatures, signal) {
1874
1884
  const clientRaw = await readHandshakeFrame(reader, signal);
1875
1885
  const client = decodeClientInitV3(clientRaw);
1876
1886
  validateClientInitV3(client, expectations(config, true));
1877
- const key = generateEphemeralKeyV3(config.suite, (length) => config.runtime.entropy(length));
1878
- 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));
1879
1895
  const handshakePRK = deriveHandshakePRKV3(config.psk, shared);
1896
+ shared.fill(0);
1880
1897
  const core = {
1881
1898
  suite: config.suite,
1882
1899
  handshakeID: sessionRandomBytes(config, 16),
1883
- serverEphemeralPublic: key.publicKey,
1900
+ serverEphemeralPublic: publicKey,
1884
1901
  nonceS: sessionRandomBytes(config, 32),
1885
1902
  sessionContractHash: config.sessionContractHash,
1886
1903
  selectedFeatures: client.selectedFeatures & localFeatures,
@@ -1888,7 +1905,6 @@ async function serverHandshake(control, reader, config, localFeatures, signal) {
1888
1905
  serverAdmissionBinding: config.localAdmissionBinding,
1889
1906
  serverEndpointInstanceID: config.localEndpointInstanceID,
1890
1907
  };
1891
- const h0 = computeHandshakeH0V3(controlPreface, clientRaw);
1892
1908
  const h1 = computeHandshakeH1V3(h0, encodeServerFinishedCoreV3(core, config.suite));
1893
1909
  const serverRaw = encodeServerFinishedV3({
1894
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.5.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.5.0"
103
+ "@floegence/flowersec-node-native": "8.0.0"
103
104
  },
104
- "flowersecSourceCommit": "26145cfc2efd6d4a23f46f6738a55f17aa1ec20d"
105
+ "flowersecSourceCommit": "ac934f36c4c92d970deb5e398cdb0a1405609e18"
105
106
  }
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "bomFormat": "CycloneDX",
3
3
  "specVersion": "1.5",
4
- "serialNumber": "urn:uuid:664790da-ff08-5667-8edb-9e1ffe4f070c",
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.5.0",
11
- "purl": "pkg:npm/%40floegence/flowersec-core@7.5.0",
12
- "bom-ref": "pkg:npm/%40floegence/flowersec-core@7.5.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": "080b7c525c3ed88d59b3849aa39e0e97d8207d0396ae05dd220f2f2b2c333308"
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.5.0",
26
- "purl": "pkg:npm/%40floegence/flowersec-node-native@7.5.0",
27
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native@7.5.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.5.0",
54
- "purl": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@7.5.0",
55
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@7.5.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.5.0",
82
- "purl": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@7.5.0",
83
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@7.5.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.5.0",
110
- "purl": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@7.5.0",
111
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@7.5.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.5.0",
138
- "purl": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@7.5.0",
139
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@7.5.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.5.0",
417
+ "ref": "pkg:npm/%40floegence/flowersec-core@8.0.0",
390
418
  "dependsOn": [
391
- "pkg:npm/%40floegence/flowersec-node-native@7.5.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.5.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.5.0",
404
- "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@7.5.0",
405
- "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@7.5.0",
406
- "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@7.5.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.5.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.5.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.5.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.5.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": [