Skip to content

Spongy Castle v1.50.0.0 (from BC v1.50)

Compare
Choose a tag to compare
@rtyley rtyley released this 26 Jan 21:58
· 2923 commits to spongy-master since this release

This release is now available on Maven Central.

Changes since v1.47 of Spongy Castle

The Maven group-id and artifact-ids are now:

  • group-id: com.madgag.spongycastle - no longer just com.madgag
  • artifact-ids:
    • core - Core lightweight API
    • prov - JCE provider
    • pkix - PKIX, CMS, EAC, TSP, PKCS, OCSP, CMP, and CRMF APIs
    • pg - OpenPGP API

(apologies for the coordinate changes, it's partially a consequence of taking on board the new Gradle-based Bouncy Castle build. Hopefully it won't be necessary to change the coordinates again)

The mail artifact has been dropped because it uses java.awt classes not available on Android.

Fixes for Bouncy Castle

Most of the work involved in releasing Spongy Castle comes from getting the vanilla Bouncy Castle project to build and the existing test-suite to pass, before the bouncy->spongy transformation has even taken place. Various fixes are required to make the Bouncy Castle Gradle build work - now that the Bouncy Castle is using Git and has a mirror on GitHub, hopefully these pull-requests can be merged back into Bouncy Castle master:

Disabled tests

For this release a small number of tests were disabled:

pre-BC->SC transform: CertPathBuilderTest, CertPathValidatorTest, McElieceCCA2KeyPairGeneratorTest & McElieceKeyPairGeneratorTest
post-BC->SC transform: SerialisationTest - purely because it tested deseriailsing a binary snapshot of a bouncycastle class.

Beyond the BC->SC transform, it wasn't necessary to change any implementation code.