Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Spec compliance at the cost of more dependencies?

Subject: OpenSAML user discussion

List archive

Re: Spec compliance at the cost of more dependencies?


Chronological Thread 
  • From: "Anil Saldhana" <>
  • To:
  • Subject: Re: Spec compliance at the cost of more dependencies?
  • Date: Mon, 4 Dec 2006 09:19:29 -0600
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=OI0C57WN/T96UHNB+0bpRYuoKsaKRmJf7IWRa2R2syvB7yBM0GIwE7Setds+s/IvRiDXohotnXyERK+2byeJQCqWliJk6AVuGfHb0NfrW4ua5DOKVUoO4PlJ/JsKZqMarYngjjyuq9YEQ0aS3PCpk42UCMutTIfjyqjZ7pDfCnQ=

This is an issue with all software projects that require JCE (unlimited cipher strength, US export laws etc). AFAIR  key sizes above 128 need unlimited encryption strength policy files to be downloaded, which are governed by US export laws.

I think having the dependence on bouncy castle is fine.  Is it possible to categorize these tests that require BC such that people who don't care ignore them, but those who want them can use BC.  Atleast the core set of tests need to be usable by everyone.

On 12/4/06, Chad La Joie <> wrote:
As some people have noted the current XMLTooling unit tests do not pass,
giving an error about keysizes.  Hidden underneath this problem is a
deeper issue (isn't that always the case).  The Java JCE does not
support a given set of functionality that is going to be required for
specification compliance in areas like digital signing and encryption.
For example, one spec requires support for AES 128 and 256 yet the Sun
JCE doesn't support that algorithm.

So, here's the question.  For those using the Sun JRE, is requiring a
dependency on a different JCE, e.g. bouncycastle, acceptable or are you
willing to forgo specification compliance in order to avoid another
dependency?

I restrict this question to the Sun JRE because I do not know what other
JRE's JCEs implement, I just know the Sun one doesn't do everything that
would be needed (and I suspect most of the others don't as well).
--
Chad La Joie             2052-C Harris Bldg
OIS-Middleware           202.687.0124




Archive powered by MHonArc 2.6.16.

Top of Page