Skip to content

Commit 4a66f07

Browse files
committed
Properly normalize documents
1 parent 62a017c commit 4a66f07

22 files changed

Lines changed: 94 additions & 86 deletions

src/XML/EncryptedElementTrait.php

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ trait EncryptedElementTrait
3535
*/
3636
final public function __construct(
3737
protected EncryptedData $encryptedData,
38-
array $encryptedKey = [],
38+
protected array $decryptionKeys = [],
3939
) {
40-
Assert::allIsInstanceOf($encryptedKey, EncryptedKey::class, ProtocolViolationException::class);
41-
$this->encryptedKey = $encryptedKey;
40+
Assert::allIsInstanceOf($decryptionKeys, EncryptedKey::class, ProtocolViolationException::class);
4241

4342
/**
4443
* 6.2: The <EncryptedData> element's Type attribute SHOULD be used and, if it is
4544
* present, MUST have the value http://www.w3.org/2001/04/xmlenc#Element.
45+
*
4646
*/
4747
Assert::nullOrSame($encryptedData->getType()->getValue(), C::XMLENC_ELEMENT);
4848

@@ -75,9 +75,9 @@ public function getEncryptionBackend(): ?EncryptionBackend
7575
}
7676

7777

78-
public function getEncryptedKeys(): array
78+
public function getDecryptionKeys(): array
7979
{
80-
return $this->encryptedKey;
80+
return $this->decryptionKeys;
8181
}
8282

8383

@@ -118,10 +118,13 @@ public static function fromXML(DOMElement $xml): static
118118
public function toXML(?DOMElement $parent = null): DOMElement
119119
{
120120
$e = $this->instantiateParentElement($parent);
121+
121122
$this->encryptedData->toXML($e);
122-
foreach ($this->getEncryptedKeys() as $key) {
123+
124+
foreach ($this->getDecryptionKeys() as $key) {
123125
$key->toXML($e);
124126
}
127+
125128
return $e;
126129
}
127130
}

tests/SAML2/XML/saml/SubjectTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,14 @@ public function testManyNameIDThrowsException(): void
330330
*/
331331
public function testMultipleIdentifiers(): void
332332
{
333+
$dsNamespace = KeyInfo::NS;
333334
$samlNamespace = Subject::NS;
334335
$xsiNamespace = C_XSI::NS_XSI;
335336

336337
$document = DOMDocumentFactory::fromString(
337338
<<<XML
338-
<saml:Subject xmlns:saml="{$samlNamespace}">
339-
<saml:BaseID xmlns:ssp="urn:x-simplesamlphp:namespace" xmlns:xsi="{$xsiNamespace}" xsi:type="ssp:CustomBaseIDType">
339+
<saml:Subject xmlns:ds="{$dsNamespace}" xmlns:saml="{$samlNamespace}" xmlns:ssp="urn:x-simplesamlphp:namespace" xmlns:test="urn:test:something" xmlns:xsi="{$xsiNamespace}">
340+
<saml:BaseID xsi:type="ssp:CustomBaseIDType">
340341
<saml:Audience>urn:some:audience</saml:Audience>
341342
</saml:BaseID>
342343
<saml:NameID
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<saml:EncryptedID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
2-
<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element">
1+
<saml:EncryptedID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
2+
<xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element">
33
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2009xmlenc11#aes256-gcm"/>
4-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
4+
<ds:KeyInfo>
55
<xenc:EncryptedKey>
66
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"/>
77
<xenc:CipherData>
@@ -13,10 +13,14 @@
1313
<xenc:CipherValue>720FAxwOXcv8ast9YvQutUoue+YA2FgLLNaD/FZrWiNexTkPyZ8CWrcf2zZj2zrOwTjQ9KJvzvCuzq4fM51sU1boOakLpz05NonDdMgeWW/eWcOJJfOZs0tYvYc5qZ/R+BzRnJsGG6w2ZmipEi88X/8uA85c</xenc:CipherValue>
1414
</xenc:CipherData>
1515
</xenc:EncryptedData>
16-
<xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="Encrypted_KEY_ID" Recipient="https://simplesamlphp.org/sp/metadata">
16+
<xenc:EncryptedKey Id="Encrypted_KEY_ID" Recipient="https://simplesamlphp.org/sp/metadata">
1717
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"/>
1818
<xenc:CipherData>
1919
<xenc:CipherValue>he5ZBjtfp/1/Y3PgE/CWspDPADig9vuZ7yZyYXDQ1wA/HBTPCldtL/p6UT5RCAFYUwN6kp3jnHkhK1yMjrI1SMw0n5NEc2wO9N5inQIeQOZ8XD9yD9M5fHvWz2ByNMGlB35RWMnBRHzDi1PRV7Irwcs9WoiODh3i6j2vYXP7cAo=</xenc:CipherValue>
2020
</xenc:CipherData>
21+
<xenc:ReferenceList>
22+
<xenc:DataReference URI="#Encrypted_DATA_ID"/>
23+
</xenc:ReferenceList>
24+
<xenc:CarriedKeyName>Name of the key</xenc:CarriedKeyName>
2125
</xenc:EncryptedKey>
2226
</saml:EncryptedID>

tests/resources/xml/saml_Evidence.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<saml:Evidence xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
1+
<saml:Evidence xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
22
<saml:AssertionIDRef>_Test</saml:AssertionIDRef>
33
<saml:AssertionURIRef>urn:x-simplesamlphp:reference</saml:AssertionURIRef>
44
<saml:Assertion Version="2.0" ID="_93af655219464fb403b34436cfb0c5cb1d9a5502" IssueInstant="1970-01-01T01:33:31Z">
@@ -23,20 +23,20 @@
2323
</saml:AuthnStatement>
2424
<saml:AttributeStatement>
2525
<saml:Attribute Name="urn:test:ServiceID">
26-
<saml:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:integer">1</saml:AttributeValue>
26+
<saml:AttributeValue xsi:type="xs:integer">1</saml:AttributeValue>
2727
</saml:Attribute>
2828
<saml:Attribute Name="urn:test:EntityConcernedID">
29-
<saml:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:integer">1</saml:AttributeValue>
29+
<saml:AttributeValue xsi:type="xs:integer">1</saml:AttributeValue>
3030
</saml:Attribute>
3131
<saml:Attribute Name="urn:test:EntityConcernedSubID">
32-
<saml:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:integer">1</saml:AttributeValue>
32+
<saml:AttributeValue xsi:type="xs:integer">1</saml:AttributeValue>
3333
</saml:Attribute>
3434
</saml:AttributeStatement>
3535
</saml:Assertion>
3636
<saml:EncryptedAssertion>
37-
<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element">
37+
<xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element">
3838
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2009xmlenc11#aes256-gcm"/>
39-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
39+
<ds:KeyInfo>
4040
<xenc:EncryptedKey>
4141
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"/>
4242
<xenc:CipherData>
@@ -48,7 +48,7 @@
4848
<xenc:CipherValue>mlo++g0c4lTsVbL7ArhQh5/xu6t9EuNoRZXF8dqYIq0hARzKiZC5OhTZtHpQlwVd5f4N/lDsur2hhFAu5dxG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9lRVvrmu4LbtbshctbX5Xz+sIq2xNmQy01xF3UHLUy3hQU1pglo9l5fLD5Nd/1xOs2hu9gaGJFI0efzJvNSHaPuXAvESvT5YBhONh6PfbjHEYuIYXL0ZVtF3cTpW29VXeyA8Uvx9PAxjSbyR/BlF1lTaCotAYCzI2keg6RTK3NCmo3co4t43hNemXPffCwykv4ShU8jdennk167W/6JTmTX7ppmseXimMP9DHnXZEomakUIZComiXxqlnTvw/Xdh9GGWA+6qgS5k68a3hdr2cD1gAKX1T53QCrXbNzpcZ9ab4CaCTv8iFtZaGXOBJjwOXAWZEf3k0I9XQZ3FCeg1Gqs8NgULwfWQTv78208kbsiLOGeu9mGEXgXNyK0yO/U4AWJb+HEfPpfeN3tpHFigzmALzt8RztCKcRv+gKm3RyVEW5</xenc:CipherValue>
4949
</xenc:CipherData>
5050
</xenc:EncryptedData>
51-
<xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
51+
<xenc:EncryptedKey>
5252
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"/>
5353
<xenc:CipherData>
5454
<xenc:CipherValue>sNLWjwyj/R0oPwSgNnqowahiOwM0YU3YaH3jsH0t2YUDcHkcgouvW5x6YbNdgvGq0ImsNrkjI//0hrL4HvrOX33+DkhCo2FX5+a7UCdftfBfSjvt0houF8z3Zq/XOm6HxBUbWt5MULYpMKMZ9iAY6+raydxk2tFWgnAyHaBfzvU=</xenc:CipherValue>

tests/resources/xml/saml_Subject.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<saml:Subject xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
1+
<saml:Subject xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:test="urn:test:something" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
22
<saml:NameID SPNameQualifier="https://sp.example.org/authentication/sp/metadata" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient">SomeNameIDValue</saml:NameID>
33
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
44
<saml:NameID SPNameQualifier="https://sp.example.org/authentication/sp/metadata" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient">SomeOtherNameIDValue</saml:NameID>
5-
<saml:SubjectConfirmationData xmlns:test="urn:test:something" NotBefore="2001-04-19T04:25:21Z" NotOnOrAfter="2009-02-13T23:31:30Z" Recipient="https://simplesamlphp.org/sp/metadata" InResponseTo="SomeRequestID" Address="127.0.0.1" test:attr1="testval1" test:attr2="testval2">
6-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
5+
<saml:SubjectConfirmationData NotBefore="2001-04-19T04:25:21Z" NotOnOrAfter="2009-02-13T23:31:30Z" Recipient="https://simplesamlphp.org/sp/metadata" InResponseTo="SomeRequestID" Address="127.0.0.1" test:attr1="testval1" test:attr2="testval2">
6+
<ds:KeyInfo>
77
<ds:KeyName>SomeKey</ds:KeyName>
88
</ds:KeyInfo>
99
<some>Arbitrary Element</some>

tests/resources/xml/saml_SubjectConfirmation.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<saml:SubjectConfirmation xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
1+
<saml:SubjectConfirmation xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:test="urn:test:something" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
22
<saml:NameID SPNameQualifier="https://sp.example.org/authentication/sp/metadata" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient">SomeNameIDValue</saml:NameID>
33
<saml:SubjectConfirmationData NotBefore="2001-04-19T04:25:21Z" NotOnOrAfter="2009-02-13T23:31:30Z" Recipient="https://simplesamlphp.org/sp/metadata" InResponseTo="SomeRequestID" Address="127.0.0.1" test:attr1="testval1" test:attr2="testval2" xmlns:test="urn:test:something">
4-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
4+
<ds:KeyInfo>
55
<ds:KeyName>SomeKey</ds:KeyName>
66
</ds:KeyInfo>
77
<some>Arbitrary Element</some>

tests/resources/xml/saml_SubjectConfirmationData.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<saml:SubjectConfirmationData xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" NotBefore="2001-04-19T04:25:21Z" NotOnOrAfter="2009-02-13T23:31:30Z" Recipient="https://simplesamlphp.org/sp/metadata" InResponseTo="SomeRequestID" Address="127.0.0.1" test:attr1="testval1" test:attr2="testval2" xmlns:test="urn:test:something">
2-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
1+
<saml:SubjectConfirmationData xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:test="urn:test:something" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" NotBefore="2001-04-19T04:25:21Z" NotOnOrAfter="2009-02-13T23:31:30Z" Recipient="https://simplesamlphp.org/sp/metadata" InResponseTo="SomeRequestID" Address="127.0.0.1" test:attr1="testval1" test:attr2="testval2">
2+
<ds:KeyInfo>
33
<ds:KeyName>SomeKey</ds:KeyName>
44
</ds:KeyInfo>
55
<some>Arbitrary Element</some>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<samlp:ArtifactResolve xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Version="2.0" ID="_6c3a4f8b9c2d" IssueInstant="2004-01-21T19:00:49Z">
2-
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">https://ServiceProvider.com/SAML</saml:Issuer>
1+
<samlp:ArtifactResolve xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" Version="2.0" ID="_6c3a4f8b9c2d" IssueInstant="2004-01-21T19:00:49Z">
2+
<saml:Issuer>https://ServiceProvider.com/SAML</saml:Issuer>
33
<samlp:Artifact>AAQAADWNEw5VT47wcO4zX/iEzMmFQvGknDfws2ZtqSGdkNSbsW1cmVR0bzU=</samlp:Artifact>
44
</samlp:ArtifactResolve>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<samlp:ArtifactResponse xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Version="2.0" ID="_d84a49e5958803dedcff4c984c2b0d95" IssueInstant="2004-12-05T09:21:59Z" InResponseTo="_cce4ee769ed970b501d680f697989d14">
2-
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">https://sp.example.com/SAML2</saml:Issuer>
1+
<samlp:ArtifactResponse xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" Version="2.0" ID="_d84a49e5958803dedcff4c984c2b0d95" IssueInstant="2004-12-05T09:21:59Z" InResponseTo="_cce4ee769ed970b501d680f697989d14">
2+
<saml:Issuer>https://sp.example.com/SAML2</saml:Issuer>
33
<samlp:Status>
44
<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
55
</samlp:Status>
66
<samlp:AuthnRequest Version="2.0" ID="_306f8ec5b618f361c70b6ffb1480eade" IssueInstant="2004-12-05T09:21:59Z" Destination="https://idp.example.org/SAML2/SSO/Artifact" AssertionConsumerServiceURL="https://sp.example.com/SAML2/SSO/Artifact" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact">
7-
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">urn:example:other</saml:Issuer>
7+
<saml:Issuer>urn:example:other</saml:Issuer>
88
<samlp:NameIDPolicy Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" AllowCreate="false"/>
99
</samlp:AuthnRequest>
1010
</samlp:ArtifactResponse>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<samlp:AssertionIDRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Version="2.0" ID="_2b0226190ca1c22de6f66e85f5c95158" IssueInstant="2014-09-22T13:42:00Z" Destination="https://tiqr.stepup.org/idp/profile/saml2/Redirect/SSO">
2-
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">https://gateway.stepup.org/saml20/sp/metadata</saml:Issuer>
3-
<saml:AssertionIDRef xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">_abc123</saml:AssertionIDRef>
4-
<saml:AssertionIDRef xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">_def456</saml:AssertionIDRef>
1+
<samlp:AssertionIDRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" Version="2.0" ID="_2b0226190ca1c22de6f66e85f5c95158" IssueInstant="2014-09-22T13:42:00Z" Destination="https://tiqr.stepup.org/idp/profile/saml2/Redirect/SSO">
2+
<saml:Issuer>https://gateway.stepup.org/saml20/sp/metadata</saml:Issuer>
3+
<saml:AssertionIDRef>_abc123</saml:AssertionIDRef>
4+
<saml:AssertionIDRef>_def456</saml:AssertionIDRef>
55
</samlp:AssertionIDRequest>

0 commit comments

Comments
 (0)