Help with assertion encryption ?

Brent Putman putmanb at georgetown.edu
Tue May 20 12:48:09 EDT 2014


On 5/20/14 7:24 AM, Cantor, Scott wrote:
> On 5/20/14, 5:35 AM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>
>> I'm working on idp-distribution, and the encrypt assertions action
>> throws an exception, with Java 7 "Cannot find any provider supporting
>> AES/GCM/NoPadding" and with Java 8 "Unsupported parameter:
>> javax.crypto.spec.IvParameterSpec...".
> Are you sure it's that action? As Brent said, not sure why it would be
> attempting that algorithm at this point unless there's a stale file
> somewhere.

The full stacktrace might be useful, just to tell us where/how it's
happening.



>  I had very briefly listed GCM as an algorithm in a
> relying-party config while I was first sketching things out, but it
> shouldn't be there now.

Ok, I thought I had seen that somewhere, and that explains why I
couldn't find it last night.  I still haven't internalized the layout of
all the new config files...


>
>
>             <artifactId>bcprov-jdk15on</artifactId>
>
> (Aside, I don't understand BC's weird naming conventions for their jars,
> so I may not be pointing to the right dependency there.)


I think that's the right one.  It is kind of weird. I don't know if
Maven has a standard way to indicate the target Java version.  It always
takes me awhile to remember that jdk15on means "JDK 1.5 onwards", since
I guess they don't do specific target builds for 1.6+.  


More information about the dev mailing list