bc-java icon indicating copy to clipboard operation
bc-java copied to clipboard

Bringing bcpg-fips 2.0.8 in pom fails with error: no versions available for org.bouncycastle:bc-util:jar:[2.0.2,2.1.0) within specified range

Open alla-gofman opened this issue 1 year ago • 3 comments

Got this error using when I add to pom:

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpg-fips</artifactId>
<version>2.0.8</version>
</dependency>

Please refer to: https://repo1.maven.org/maven2/org/bouncycastle/bcpg-fips/2.0.8/bcpg-fips-2.0.8.pom this pom includes inexistent jar

<dependency>
   <groupId>org.bouncycastle</groupId>
   <artifactId>bc-util</artifactId>
   <version>[2.0.2,2.1.0)</version>
   <type>jar</type>
 </dependency>

My workaround:

<dependency>
  <groupId>org.bouncycastle</groupId>
  <artifactId>bcpg-fips</artifactId>
  <version>2.0.8</version>
  <exclusions>
	<exclusion>
		<groupId>org.bouncycastle</groupId>
		<artifactId>bc-util</artifactId>
	</exclusion>
  </exclusions>
</dependency>
<dependency>
  <groupId>org.bouncycastle</groupId>
  <artifactId>bcutil-fips</artifactId>
  <version>2.0.3</version>
</dependency>

alla-gofman avatar Aug 04 '24 13:08 alla-gofman

BCPG 2.0.9 has now been uploaded. This has a corrected POM file in it.

dghgit avatar Aug 23 '24 08:08 dghgit

The source version in https://www.bouncycastle.org/download/bouncy-castle-java-fips/ is not updated to 2.0.9. Will it be possible to get the main page updated with the 2.0.9 instead of 2.0.8. Our Third Party Audit will not allow us to point to Maven source and they expect it to be listed in official website.

bharathbv44 avatar Aug 26 '24 16:08 bharathbv44

The website is now updated.

dghgit avatar Aug 26 '24 19:08 dghgit