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

bcprov-ext-jdk18on-1.78 missing OSGi manifest

Open domagojcc opened this issue 10 months ago • 5 comments

The library has a plain Java manifest. It is missing OSGi entries, and it is thus not usable in any OSGi environment.

domagojcc avatar Apr 18 '24 11:04 domagojcc

@domagojcc This should be resolved in 1.78.1; there are betas available on the website for it. I think this is a duplicate of #1621. Let us know if the fix there works for you! :-)

cipherboy avatar Apr 18 '24 12:04 cipherboy

Use bcprov-jdk18on-1.78.1 the -ext- versions have been the same as the non "-ext-" versions for a while now, we're no longer releasing them.

dghgit avatar Apr 18 '24 23:04 dghgit

We will get a redirect installed on Maven Central for this one. Having to get some help as the tool we usually use for deploy Maven updates appears unable to do it.

dghgit avatar Apr 21 '24 02:04 dghgit

Use bcprov-jdk18on-1.78.1 the -ext- versions have been the same as the non "-ext-" versions for a while now, we're no longer releasing them.

Can you easily clarify at which version these artifacts became equivalent?

nmck257 avatar Apr 29 '24 17:04 nmck257

bcprov- without the ext. The ext originally signified we'd been advised that some of the algorithms in the jar had patents on them, somewhere, at this point all the ones we've been made aware of have expired.

We're trying to get a redirect set up in Maven as well, but our current publication point, while working well for the jars, is rejecting it.

dghgit avatar Apr 30 '24 06:04 dghgit

We're trying to get a redirect set up in Maven as well, but our current publication point, while working well for the jars, is rejecting it.

This has been resolved now, right? The bcprov-ext-jdk18on-1.78.1.pom contains:

<relocation>
  <artifactId>bcprov-jdk18on</artifactId>
</relocation>

And Maven warns on the console (as desired):

[WARNING] The artifact org.bouncycastle:bcprov-ext-jdk18on:jar:1.78.1 has been relocated to org.bouncycastle:bcprov-jdk18on:jar:1.78.1

maloewe-ona avatar Jul 15 '24 15:07 maloewe-ona

Yes, this is correct. Thanks for the confirmation - I'll close.

dghgit avatar Jul 15 '24 15:07 dghgit