acciduck / jscep

Automatically exported from code.google.com/p/jscep
MIT License
0 stars 0 forks source link

Compatibility with Android-included bouncy castle #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is a feature request for Android-included Bouncy Castle compatibility.  
The goal of this feature is for the jSCEP client to work on an Android 
device/emulator without having to include a separate bundled version of BC.  
The compiled BC 1.45 source is > 2MB and therefore bloats the size of any 
Android APK that uses jSCEP.  Additionally, conflicting package names requires 
that jSCEP source is modified to achieve this, which is not desirable. 

Android 1.6-2.2 includes a modified BC version 1.34.  Android 2.3+ includes (a 
presumably modified) BC version 1.45.  It might make sense to target Android 
2.3+ only, since jSCEP 1.1.4 depends on BC version 1.45 already.  If dependency 
on some BC source is still required, a jar with only the complimentary classes 
would be nice to have.

The Android BC source is available here: 
http://android.git.kernel.org/?p=platform/external/bouncycastle.git  

Original issue reported on code.google.com by dfpome...@gmail.com on 13 May 2011 at 12:56

GoogleCodeExporter commented 8 years ago
I also believe it makes sense to target Android 2.3 only.

Original comment by davidgrant41 on 13 May 2011 at 4:58

GoogleCodeExporter commented 8 years ago

Original comment by davidgrant41 on 13 May 2011 at 9:28

GoogleCodeExporter commented 8 years ago

Original comment by davidgrant41 on 13 May 2011 at 9:29

GoogleCodeExporter commented 8 years ago

Original comment by da...@grant.org.uk on 13 Jul 2011 at 6:35

GoogleCodeExporter commented 8 years ago

Original comment by da...@grant.org.uk on 13 Jul 2011 at 6:37

GoogleCodeExporter commented 8 years ago
Folks,
Any one has tries jscep 1.2 on Android 2.3.3?

Original comment by ssriniva...@gmail.com on 19 Aug 2011 at 12:00

GoogleCodeExporter commented 8 years ago

Original comment by da...@grant.org.uk on 23 Aug 2011 at 8:14

GoogleCodeExporter commented 8 years ago

Original comment by da...@grant.org.uk on 29 Mar 2012 at 5:10

GoogleCodeExporter commented 8 years ago
I am trying jscep on android, getting the following error:

 DES key too long - should be 8 bytes
    at org.jscep.message.PkcsPkiEnvelopeDecoder.decode(PkcsPkiEnvelopeDecoder.java:94)
    at org.jscep.message.PkiMessageDecoder.decode(PkiMessageDecoder.java:105)
    at org.jscep.transaction.EnrolmentTransaction.send(EnrolmentTransaction.java:85)

Any suggestions?

Original comment by chitongc...@gmail.com on 25 May 2012 at 6:40

GoogleCodeExporter commented 8 years ago
Re comment 9, can you open a new issue please?

Original comment by da...@grant.org.uk on 28 May 2012 at 7:08

GoogleCodeExporter commented 8 years ago
The Android-supplied version of BC is missing quite a lot of the files we need. 
 Have you looked at http://rtyley.github.com/spongycastle/?

Original comment by da...@grant.org.uk on 26 Jun 2012 at 3:11