InlineX509DataProvider skips credential extraction if only X509SKI is present
Cantor, Scott
cantor.2 at osu.edu
Fri Dec 21 10:25:23 EST 2012
On 12/21/12 8:47 AM, "Andreas Hartmann" <andreas at apache.org> wrote:
>Hi everyone,
>
>were're receiving a SAML response containing a signature with the
>following KeyInfo. IIUC the spec [1] correctly, this should be valid.
It's valid in general, but it has no validity under the metadata profile
used by the inline trust engine. Nor is it supported by the PKIX engine.
So it's moot in the context of the code presently.
I'm not saying we couldn't have supported it, but it isn't supported now.
Additionally, the spec you're talking about in [1] is nothing we have ever
tried to support or claimed to support. I was actually against using
X509SKI in it at the time, because I wanted it to be consistent with
Metadata IOP since it was more or less addressing the same use case in the
context of a different profile. I knew if it went forward with X509KI,
we'd probably run into a mismatch at some point.
>The signature validation fails. Apparently the InlineX509DataProvider
>skips processing because it doesn't find any X509Certificate elements.
The trust engine is ultimately using a variety of KeyInfo extraction code,
not just X509Certificate. But I don't think the SKI is supported, no.
-- Scott
More information about the users
mailing list