File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7777 <artifactId >sdk</artifactId >
7878 <version >${project.version} </version >
7979 </dependency >
80- <!-- Pulls the BouncyCastle KemProvider onto the classpath at runtime
81- so cmdline supports hybrid PQC (X-Wing, ECDH+ML-KEM). Discovered
82- via ServiceLoader; cmdline has no compile-time reference to BC.
83- FIPS deployments should omit this dep. -->
84- <dependency >
85- <groupId >io.opentdf.platform</groupId >
86- <artifactId >sdk-pqc-bc</artifactId >
87- <version >${project.version} </version >
88- <scope >runtime</scope >
89- </dependency >
9080 </dependencies >
81+
82+ <profiles >
83+ <!-- Pulls the BouncyCastle KemProvider onto the classpath at runtime so
84+ cmdline supports hybrid PQC (X-Wing, ECDH+ML-KEM). Gated behind
85+ non-fips to mirror the reactor gating in the root pom: a fips
86+ build does NOT include sdk-pqc-bc, so cmdline must not declare
87+ a hard dep on it under fips either. -->
88+ <profile >
89+ <id >non-fips</id >
90+ <activation >
91+ <activeByDefault >true</activeByDefault >
92+ </activation >
93+ <dependencies >
94+ <dependency >
95+ <groupId >io.opentdf.platform</groupId >
96+ <artifactId >sdk-pqc-bc</artifactId >
97+ <version >${project.version} </version >
98+ <scope >runtime</scope >
99+ </dependency >
100+ </dependencies >
101+ </profile >
102+ </profiles >
91103</project >
You can’t perform that action at this time.
0 commit comments