Skip to content

feat(sdk): DSPX-3309 add hybrid post-quantum key wrapping for KAS (X-Wing, ECDH+ML-KEM)#368

Open
sujankota wants to merge 9 commits into
mainfrom
DSPX-3309-hybrid-pq-key-wrapping
Open

feat(sdk): DSPX-3309 add hybrid post-quantum key wrapping for KAS (X-Wing, ECDH+ML-KEM)#368
sujankota wants to merge 9 commits into
mainfrom
DSPX-3309-hybrid-pq-key-wrapping

bump platform proto to v0.34.0 and map hybrid PQC enums

080ae2f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 17, 2026 in 40s

Quality Gate failed

Failed conditions
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 134 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Save and re-use this "Random".

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ6X9YYW9HIWFEaVVH5r&open=AZ6X9YYW9HIWFEaVVH5r&pullRequest=368

Check failure on line 121 in sdk-pqc-bc/src/test/java/io/opentdf/platform/sdk/TDFHybridTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ48jBwrBSDa9FlK_o_4&open=AZ48jBwrBSDa9FlK_o_4&pullRequest=368

Check warning on line 9 in sdk/src/test/java/io/opentdf/platform/sdk/spi/KemProvidersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.assertj.core.api.Assertions.assertThat'.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAJ8Sd6LnqZdL2F&open=AZ7W9tAJ8Sd6LnqZdL2F&pullRequest=368

Check warning on line 81 in sdk/src/main/java/io/opentdf/platform/sdk/spi/KemProviders.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Convert this Map to an EnumMap.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ6X9YVt9HIWFEaVVH5j&open=AZ6X9YVt9HIWFEaVVH5j&pullRequest=368

Check failure on line 91 in sdk/src/main/java/io/opentdf/platform/sdk/TDF.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ48jBv9BSDa9FlK_o_z&open=AZ48jBv9BSDa9FlK_o_z&pullRequest=368

Check warning on line 89 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2H&open=AZ7W9tAx8Sd6LnqZdL2H&pullRequest=368

Check warning on line 153 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ6X9YYW9HIWFEaVVH5s&open=AZ6X9YYW9HIWFEaVVH5s&pullRequest=368

Check warning on line 143 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMPublicKeyParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2N&open=AZ7W9tAx8Sd6LnqZdL2N&pullRequest=368

Check warning on line 140 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMKeyPairGenerator"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2K&open=AZ7W9tAx8Sd6LnqZdL2K&pullRequest=368

Check warning on line 233 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMPrivateKeyParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2T&open=AZ7W9tAx8Sd6LnqZdL2T&pullRequest=368

Check warning on line 78 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2G&open=AZ7W9tAx8Sd6LnqZdL2G&pullRequest=368

Check warning on line 144 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMPrivateKeyParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2O&open=AZ7W9tAx8Sd6LnqZdL2O&pullRequest=368

Check warning on line 195 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMPublicKeyParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2Q&open=AZ7W9tAx8Sd6LnqZdL2Q&pullRequest=368

Check warning on line 141 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMKeyGenerationParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2M&open=AZ7W9tAx8Sd6LnqZdL2M&pullRequest=368

Check warning on line 234 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMExtractor"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2U&open=AZ7W9tAx8Sd6LnqZdL2U&pullRequest=368

Check warning on line 233 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMPrivateKeyParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2S&open=AZ7W9tAx8Sd6LnqZdL2S&pullRequest=368

Check warning on line 195 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMPublicKeyParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2P&open=AZ7W9tAx8Sd6LnqZdL2P&pullRequest=368

Check warning on line 111 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2J&open=AZ7W9tAx8Sd6LnqZdL2J&pullRequest=368

Check failure on line 29 in sdk/src/main/java/io/opentdf/platform/sdk/KeyType.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ48jBwiBSDa9FlK_o_1&open=AZ48jBwiBSDa9FlK_o_1&pullRequest=368

Check failure on line 23 in sdk/src/main/java/io/opentdf/platform/sdk/KeyType.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ48jBwiBSDa9FlK_o_0&open=AZ48jBwiBSDa9FlK_o_0&pullRequest=368

Check failure on line 56 in sdk-pqc-bc/src/test/java/io/opentdf/platform/sdk/TDFHybridTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ48jBwrBSDa9FlK_o_3&open=AZ48jBwrBSDa9FlK_o_3&pullRequest=368

Check warning on line 110 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 9 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ6X9YYW9HIWFEaVVH5q&open=AZ6X9YYW9HIWFEaVVH5q&pullRequest=368

Check warning on line 196 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMGenerator"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2R&open=AZ7W9tAx8Sd6LnqZdL2R&pullRequest=368

Check failure on line 31 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/BouncyCastleKemProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ6X9YYH9HIWFEaVVH5l&open=AZ6X9YYH9HIWFEaVVH5l&pullRequest=368

Check warning on line 102 in sdk-pqc-bc/src/main/java/io/opentdf/platform/sdk/pqc/bc/HybridNISTAlgorithm.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MLKEMParameters"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AZ7W9tAx8Sd6LnqZdL2I&open=AZ7W9tAx8Sd6LnqZdL2I&pullRequest=368