Bouncy Castle Crypto Provider Package version 1.53 now available

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

Bouncy Castle Crypto Provider Package version 1.53 now available

Jon Eaves
Release 1.53 is now out.

This release introduces the FIPS PUB 202 SHA3 digests and SHAKE
extendible output functions. The original Keccak is also included for
those wishing to use the original configuration of the function. Also
added is the SM4 block cipher, the SHA-3 contestant Blake2b, and EC Key
Agreement now supports a range of SEC and NIST variations. X9.31,
ISO9796-2, and PSS signatures now support SHA512-224 and SHA512-256. An
ASN.1 ObjectIdentifier cache based on an intern() method has been
introduced to reduce memory requirements for large ASN.1 objects such as
CRLs and provide better user control.

In terms of bug fixes, an issue which could cause cipher failure with
the BC provider and JCE/JSSE using NIO has been fixed, looping
certificate chains will no longer cause an OutOfMemoryException in
PKCS12 KeyStores, irregular post-amble in SMIME signatures no longer
cause verification issues, and the JceCRMFEncryptorBuilder now
recognises key size specific object identifiers properly. The provider
has also been updated to reflect changes in JDK 1.8 which broke
X509Certificate.hashCode() and X509Certificate.verify(PublicKey,
Provider). OpenPGP fixes include validation of hashed sub-packets with
long length encoding, and it is now possible to add a password to a PGP
key which did not have one originally.

Finally, ECIES has been modified to be properly compliant with Shoup's
definition of it and is now compatible with Crypto++ from version 6.0
onwards. We would also like to thank the team at Crypto++ for working
with us on this, interpretation combined with consensus is a great step
forward for interoperability!

Further details on other additions and bug fixes can be found in the
release notes file accompanying the release or at

Small Change Warning: The PEM Parser now returns an
X509TrustedCertificate block when parsing an openssl trusted
certificate, the new object was required to allow the proper return of
the trusted certificate's attribute block.

For more details go to our latest releases page:


And for those who like living on the bleeding edge, the betas for future
releases can be downloaded from:


and changes to the code base can be tracked via:


As always we are grateful to the people and organisations who have
contributed/donated to the project and you can find the updated list at
http://www.bouncycastle.org/contributors.html We would also like to
thank holders of Crypto Workshop support contracts as an additional 100
hours of time was contributed back to this release through left over
consulting time provided as part of the support agreements.

This release also features some work that arose out of our on-going FIPS
certification project, most particularly from work supported by our
primary sponsor Tripwire, Inc ( http://www.tripwire.com ) and some
additional work sponsored by Galois Inc ( http://www.galois.com ).
Thanks must go to both sponsors as well.

Speaking of FIPS, the APIs are now stable and will soon be going into
testing with the target JVMs being JDK 1.7 and JDK 1.8. You can find the
most recent document on the FIPS project at
Additional information on the FIPS project and early access to it is
available in answers to questions 9 and 10 at:


If you are interested in donating to the project, you can find the
details on how to donate via PayPal or Bitcoin, at:


If you prefer to use direct bank transfer please feel free to discuss it
with us by contacting us at [hidden email] and we'll be happy
help. The Legion of the Bouncy Castle is a registered Australian charity
based in the State of Victoria, Australia.

If you wish to sponsor specific work on Bouncy Castle or get a
commercial support contract for the APIs please contact us at Crypto
Workshop ( http://www.cryptoworkshop.com )

Remember, you can also follow this project on Facebook (
https://www.facebook.com/legionofthebouncycastle ), Google+ (
https://plus.google.com/+BouncycastleOrgAPIs/posts ) and/or Twitter (
https://twitter.com/bccrypto ).

Finally, for users of the maven repositories, 1.53 should start
appearing in the next 48 hours.