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

This adds SMIMEAuthEnveloped classes that work in a similar way as SMIMEEnveloped but are meant for AuthEnvelopedData. That allows using AES GCM and improves S/MIME 4.0 support where this is...

I want to create a `GMSignatureSpi` subclass with customized `SM2Signer`. But `GMSignatureSpi`'s constrcutor is not opened to subclass. Please accept this to open it.

Got this error using when I add to pom: ``` org.bouncycastle bcpg-fips 2.0.8 ``` 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 ``` org.bouncycastle bc-util [2.0.2,2.1.0) jar ``` My...

EC5Util can end up with a null pointer exception if a malformed Point is passed in. https://github.com/bcgit/bc-java/blob/main/prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/EC5Util.java#L355 Does it make sense to check on point.getAffineXCoord or point.getAffineYCoord to ensure they...

We have a problem with our FTP client implementation and TLS session resumption required by some servers, for example FileZilla server that has it enabled by default. This option requires...

In [testAEADProtectedPGPSecretKey](https://github.com/bcgit/bc-java/issues/org/bouncycastle/openpgp/test/32_AllTests.html#testAEADProtectedPGPSecretKey) ```text Java heap space java.lang.OutOfMemoryError: Java heap space at org.bouncycastle.crypto.generators.Argon2BytesGenerator$Block.(Argon2BytesGenerator.java:630) at org.bouncycastle.crypto.generators.Argon2BytesGenerator$Block.(Argon2BytesGenerator.java:621) at org.bouncycastle.crypto.generators.Argon2BytesGenerator.initMemory(Argon2BytesGenerator.java:153) at org.bouncycastle.crypto.generators.Argon2BytesGenerator.doInit(Argon2BytesGenerator.java:144) at org.bouncycastle.crypto.generators.Argon2BytesGenerator.init(Argon2BytesGenerator.java:74) at org.bouncycastle.openpgp.operator.PGPUtil.makeKeyFromPassPhrase(PGPUtil.java:75) at org.bouncycastle.openpgp.operator.PGPUtil.makeKeyFromPassPhrase(PGPUtil.java:211) at org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor.makeKeyFromPassPhrase(PBESecretKeyDecryptor.java:26) at org.bouncycastle.openpgp.PGPSecretKey.extractKeyData(PGPSecretKey.java:550) at org.bouncycastle.openpgp.PGPSecretKey.extractPrivateKey(PGPSecretKey.java:688)...

Hi, Could you please let me know if there is plan to support `ProvSSLSession#getRequestedServerNames` for BCJSSE? Regards, Truc

support request

`org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder.find(MiscObjectIdentifiers.id_MLDSA44_RSA2048_PSS_SHA256) ` triggers `NullPointerException("digest OID is null")` in `org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder.find(ASN1ObjectIdentifier)`. I would expect `org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder.find(MiscObjectIdentifiers.id_MLDSA44_RSA2048_PSS_SHA256) ` returning `null `in such case.

`https://github.com/bcgit/bc-java/wiki/CVE-2023-33202` Return to the wiki homepage `https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902023%E2%80%9033202` ok

For Example: ``` NISTObjectIdentifiers.id_aes128_GCM NISTObjectIdentifiers.id_aes128_CCM NISTObjectIdentifiers.id_aes192_GCM NISTObjectIdentifiers.id_aes192_CCM NISTObjectIdentifiers.id_aes256_GCM NISTObjectIdentifiers.id_aes256_CCM ```