Skip to content

chore: add org.bouncycastle:bcprov-jdk18on to java-shared-dependencies#13531

Draft
sagnghos wants to merge 2 commits into
googleapis:mainfrom
sagnghos:add-bouncycastle-dependency
Draft

chore: add org.bouncycastle:bcprov-jdk18on to java-shared-dependencies#13531
sagnghos wants to merge 2 commits into
googleapis:mainfrom
sagnghos:add-bouncycastle-dependency

Conversation

@sagnghos

Copy link
Copy Markdown
Contributor

This adds BouncyCastle to the shared dependency BOM. It is required to implement the OPAQUE PAKE protocol for Spanner Omni authentication (which relies on Argon2id and low-level Elliptic Curve math not available in standard Java/Tink).

Bug: b/526057728

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the Bouncy Castle dependency (org.bouncycastle:bcprov-jdk18on, version 1.80) to the shared third-party dependencies and upper-bound check POM files. The reviewer feedback recommends sorting the newly added properties and dependencies alphabetically in both POM files to maintain readability and consistency.

Comment thread sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml Outdated
Comment on lines +53 to +57
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<version>${bouncycastle.version}</version>
</dependency>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The dependencies in <dependencyManagement> should be sorted alphabetically by groupId and artifactId to maintain consistency and avoid merge conflicts. Please move the org.bouncycastle dependency block to its correct alphabetical position (e.g., after org.apache.arrow).

Comment on lines +250 to +253
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
</dependency>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The dependencies in this POM should be sorted alphabetically by groupId and artifactId. Please move the org.bouncycastle dependency block before org.jspecify.

…ncies/pom.xml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant