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

Bouncy Castle Java Distribution (Mirror)

Results 449 bc-java issues
Sort by recently updated
recently updated
newest added

Looking at the README.md, I found it confusing how multiple Java versions are mentioned there. Please point out that, non-intuitively, really all of Java 8, 11, 17, and 21 need...

The lightweight Elephant Cipher fails when processing large messages where the message is larger than the BlockSize. The decryption fails with error **Mac does not match**. It should also be...

e.g. ```java org.bouncycastle.jcajce.provider.asymmetric.util.ECUtil.getNamedCurveOid(" "); ``` is going to lead to a `java.lang.StringIndexOutOfBoundsException: String index out of range: 0` [due the assumption](https://github.com/bcgit/bc-java/blob/1.78.1/prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ECUtil.java#L325) that after a `' '` char there's still another...

The code-cleanup of the class `pg/src/main/java/org/bouncycastle/openpgp/operator/jcajce/OperatorHelper.java` in commit [da84c86aba213aa68801fbede1ff71047f80ca4a](https://github.com/bcgit/bc-lts-java/commit/da84c86aba213aa68801fbede1ff71047f80ca4a) introduced an error when using the `PGPDigestCalculator` with `SHA256` (`NoSuchAlgorithmException: SHA56 MessageDigest not available`). The overall stack-trace is: > Caused by:...

I'm currently using version 1.78.1. The request returned by `ERSEvidenceRecord.generateHashRenewalRequest()` appears to contain an incorrect message digest if the data is provided as an `ERSInputStreamData`. Below is some code to...

How i can fix this error? Error: ``` Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.SecurityException: Invalid signature file digest...

Please use a constant and document the property ´"org.bouncycastle.pkcs12.ignore_useless_passwd"´ to avoid the exception.

Recently we upgraded our bc-fips from 1.0.2.5 to 2.0.0. That went really smooth, everything works, except for one platform where we are seeing a regression. This is a System Z...

bug

The project I am currently working on is built on top of an Apache Karaf distribution; thus making use of the OSGi framework. We have integrated the FIPS variant of...

There appears to be a bug when attempting to use PBKDF2 with AES encryption in approved only mode, where the PBEWITH* Cipher/SecretKeyFactory algorithm family is unavailable. Example code: ```java import...

bug