other issues when running Bouncy Castle "just renamed" on Android. I
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi Daniele,
>
> I use the following script for converting Bouncy Castle to Spongy
> Castle (or any other name that doesn't conflict with Bouncy Castle)
> for use on Android. This works for the lightweight API, but I imagine
> you'd run into problems using it for the JCE provider, because it
> doesn't replace references to the provider name, "BC".
>
> This is just a quick hack - I'm sure there are many issues with this
> approach that the real Spongy Castle fixes, but I've been lucky enough
> not to run into them.
>
> Just clone the Bouncy Castle git repo, run this script, then run 'ant
> - -f ant/jdk15+.xml build-lw'. The classfiles are left in
> build/artifacts/jdk1.5/lcrypto-jdk15on-150/classes and can be jarred
> up from there.
>
> If you want to build the PGP stuff you'll also need to add mail.jar to
> the classpath.
>
> Cheers,
> Michael
>
> ================
>
> #!/bin/bash
>
> dirs=(ant core docs jce mail pg pkix prov)
>
> for file in `find ${dirs[@]} -name bouncycastle`
> do
> path=`dirname $file`
> echo "Moving $file to $path/spongycastle"
> mv $file $path/spongycastle
> done
>
> for file in `grep -Rl bouncycastle ${dirs[@]}`
> do
> echo "Replacing string bouncycastle in $file"
> sed -i 's/bouncycastle/spongycastle/g' $file
> done
>
> ================
>
> On 28/01/14 09:33, Daniele Ricci wrote:
>> Thank you Roberto! I was looking forward to this release.
>>
>> It would be great if the two project were merged... I mean
>> something like a script which "converts" all references to BC into
>> SC (I mean as an eventuality of all fixes by Roberto being merged
>> to BC).
>>
>> Keep up with the great work.
>>
>> On Mon, Jan 27, 2014 at 11:54 PM, Roberto Tyley
>> <
[hidden email]> wrote:
>>> Release notes:
>>>
>>>
https://github.com/rtyley/spongycastle/releases/tag/sc-v1.50.0.0>>>
>>> This is the first release of Spongy Castle completed since Bouncy
>>> Castle a) started using Git, and b) introduced a Gradle build.
>>> Both those things are great, and make the task of releasing
>>> Spongy Castle substantially easier for me, but it's still taken
>>> several weeks of spare-time hacking to get a working 1.50 release
>>> - and that's *just* to patch the Bouncy Castle codebase to the
>>> point where the Gradle build completes and passes tests. Many of
>>> these changes have been submitted back to the Bouncy Castle
>>> project as half-dozen-or-so pull-requests, and I'd be grateful if
>>> they could be merged back into the project so that others can get
>>> the benefit of those fixes:
>>>
>>>
https://github.com/bcgit/bc-java/pulls/rtyley>>>
>>> Beyond that, it would be very helpful if the Bouncy Castle
>>> project could take up use of a continuous-integration service
>>> like Travis CI, to ensure that the Gradle build isn't broken
>>> again.
>>>
>>> As an example, I use a free Travis continuous-integration build
>>> for Spongy Castle, you can see the (very simple) definition file
>>> here:
>>>
>>>
https://github.com/rtyley/spongycastle/blob/d3cab6b1/.travis.yml>>>
>>> ...and here's the travis-ci build report against the most recent
>>> release of Spongy Castle:
>>>
>>>
https://travis-ci.org/rtyley/spongycastle/builds/17661074>>>
>>> It's possible to get BC to a reliable, simple, no-config-required
>>> build that any developer can check out and start working with
>>> immediately - it would be great if we could get there.
>>>
>>> best regards, Roberto Tyley
>>
>>
>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQEcBAEBCgAGBQJS59P6AAoJEBEET9GfxSfMCQQH/0Zy6KA+hGjpb+TydJsCh8da
> QbrHzVm3CpiJdtxpfvZhDYl5bwfjrenjmY57bi7kES8mrOlpYGD/8sygiLmbHma6
> 0Dhh43Gyg+pCUa/ltMUoHk2kwfiLLYa42A+jm6NwOjaIM64a/IAN9jnhIARGWWhj
> 1BCQnkGJqbVu+ZiGJqf8+63k64b9Xlu+MDud98aLd6tLFJIx9UJPRNo/mSN2gKAd
> 6u1LDbGHrak/77lApIZkBcnB3K4Qd5DmNU0bqk0iDeHhIkXQOwOhFx/kuDLapAmp
> L4GA1wQ9t6CW7Z0rW7WVYPfwTp9XzSFIAHAba6Ct2ieuumsHM1NRWiS+LwFxd9s=
> =roUD
> -----END PGP SIGNATURE-----