W3C home > Mailing lists > Public > public-xmlsec@w3.org > June 2012

Encryption 1.1 interop Qs

From: Cantor, Scott <cantor.2@osu.edu>
Date: Sat, 9 Jun 2012 03:22:44 +0000
To: "public-xmlsec@w3.org" <public-xmlsec@w3.org>
Message-ID: <CBF839C1.23339%cantor.2@osu.edu>
Referring to: 
http://www.w3.org/2008/xmlsec/Drafts/xmlenc-core-11/test-cases/

The GCM samples have a test case for AES192 GCM, but I don't see that
algorithm defined in the draft. It's logical that there would be one, but
with no URI for that in the spec, it's a little fishy.

The other issue I had is that I'm not able so far to even decrypt the key
used in the 2048-bit sample:

http://www.w3.org/2008/xmlsec/Drafts/xmlenc-core-11/test-cases/files/cipher
Text__RSA-2048__aes128-gcm__rsa-oaep-mgf1p.xml

The XML points to the certificate in the 2048 bit RSA key file, but using
that private key against the EncryptedKey in that sample is giving me a
padding error. I would chalk it up to a bug on my part, but I haven't had
any interop issues in the past with RSA-OAEP in the code I'm testing.

So I thought I'd ask if anybody else has tested that sample successfully
before I go digging.

-- Scott
Received on Saturday, 9 June 2012 03:23:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 9 June 2012 03:23:10 GMT