But you probable did do something very similar to what I did in jose4j -
i.e. just getting a cipher instance with
"RSA/ECB/OAEPWithSHA-256AndMGF1Padding"?

I think that's the right thing to do (and JWA even implies it) but a check
from a different language/platform would help verify that assumption. I
don't know if maybe more specifics need to be provided to the cipher via
OAEPParameterSpec or something - the JCA APIs can be a bit mysterious at
times.


On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso <[email protected]> wrote:

>  hi Brian,
>
>
>  On May 6, 2014, at 3:29 PM, Brian Campbell <[email protected]>
> wrote:
>
>   From the venerable film Animal House, of course,
> https://www.youtube.com/watch?v=vVXEQ8hjyGI
>
>  Thanks for checking that Antonio.
>
>  Hopefully we could get a non Java based implementing to verify it too.
>
>
>  just for completeness I did *not* use jose4j to verify it… (just to be
> safe)
>
>  regards
>
>  antonio
>
>
>
>
>
> On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <[email protected]> wrote:
>
>>  Well, as of this moment, they're on DOUBLE SECRET PROBATION!
>>
>>  On May 6, 2014, at 11:34 AM, Antonio Sanso <[email protected]> wrote:
>>
>>  Hi Brian,
>>
>>  I will give a try and let you know
>>
>>  regards
>>
>>  antonio
>>
>>  On May 6, 2014, at 5:40 AM, Brian Campbell <[email protected]>
>> wrote:
>>
>>  The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg for key
>> encryption but, AFAIK, there are no examples using it. I recently added
>> support for it to https://bitbucket.org/b_c/jose4j and am looking to get
>> some kind of confirmation that I've done it correctly (other than self
>> interop). With that in mind, here is a JWE using RSA-OAEP-256 which I've
>> produced and I'm hopeful that someone on this WG list will be able to
>> decrypt. The RSA key that was used (in JWK format with both public and
>> private parts) is below the JWE.
>>
>>
>> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtHOcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyjl9oKIW_9ItP8cYhOriDOOZFho53Bs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aQ","p":"7yQmgE60SL7QrXpAJhChLgKnXWi6C8tVx1lA8FTpphpLaCtK-HbgBVHCprC2CfaM1mxFJZahxgFjC9ehuV8OzMNyFs8kekS82EsQGksi8HJPxyR1fU6ATa36ogPG0nNaqm3EDmYyjowhntgBz2OkbFAsTMHTdna-pZBRJa9lm5U","q":"6R4dzo9LwHLO73EMQPQsmwXjVOvAS5W6rgQ-BCtMhec_QosAXIVE3AGyfweqZm6rurXCVFykDLwJ30GepLQ8nTlzeV6clx0x70saGGKKVmCsHuVYWwgIRyJTrt4SX29NQDZ_FE52NlO3OhPkj1ExSk_pGMqGRFd26K8g0jJsXXM","dp":"VByn-hs0qB2Ncmb8ZycUOgWu7ljmjz1up1ZKU_3ZzJWVDkej7-6H7vcJ-u1OqgRxFv4v9_-aWPWl68VlWbkIkJbx6vniv6qrrXwBZu4klOPwEYBOXsucrzXRYOjpJp5yNl2zRslFYQQC00bwpAxNCdfNLRZDlXhAqCUxlYqyt10","dq":"MJFbuGtWZvQEdRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJEIh-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0YQwYpmmFy_k0","qi":"vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg"}
>>  _______________________________________________
>> jose mailing list
>> [email protected]
>> https://www.ietf.org/mailman/listinfo/jose
>>
>>
>>
>>
>
>
> --
>    [image: Ping Identity logo] <https://www.pingidentity.com/>
> Brian Campbell
> Portfolio Architect
>   @ [email protected]  [image: phone] +1 720.317.2061  Connect
> with us…  [image: twitter logo] <https://twitter.com/pingidentity> [image:
> youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
> LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
> logo] <https://www.facebook.com/pingidentitypage> [image: Google+ 
> logo]<https://plus.google.com/u/0/114266977739397708540> [image:
> slideshare logo] <http://www.slideshare.net/PingIdentity> [image:
> flipboard logo] <http://flip.it/vjBF7> [image: rss feed 
> icon]<https://www.pingidentity.com/blogs/>
>    [image: Register for Cloud Identity Summit 2014 | Modern Identity
> Revolution | 19–23 July, 2014 | Monterey, 
> CA]<https://www.cloudidentitysummit.com/>
>
>
>
> _______________________________________________
> jose mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/jose
>
>


-- 
   [image: Ping Identity logo] <https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
  @ [email protected]  [image: phone] +1 720.317.2061  Connect
with us…  [image: twitter logo] <https://twitter.com/pingidentity> [image:
youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
logo] <https://www.facebook.com/pingidentitypage> [image: Google+
logo]<https://plus.google.com/u/0/114266977739397708540> [image:
slideshare logo] <http://www.slideshare.net/PingIdentity> [image: flipboard
logo] <http://flip.it/vjBF7> [image: rss feed
icon]<https://www.pingidentity.com/blogs/>
   [image: Register for Cloud Identity Summit 2014 | Modern Identity
Revolution | 19–23 July, 2014 | Monterey,
CA]<https://www.cloudidentitysummit.com/>
_______________________________________________
jose mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/jose

Reply via email to