bc-java
bc-java copied to clipboard
org.bouncycastle.provider module doesn't export org.bouncycastle.asn1.cryptlib but needs to
With the new Bouncy Castle release there's been a regression in PGP signing when using certain types of elliptic curves keys. The cause is that the core module doesn't export the org.bouncycastle.asn1.cryptlib package that contains CryptlibObjectIdentifiers, but the PGPPublicKey class tries to use that class in the init method (line 96 in the 1.72 release). The result is an IllegalAccessException.