Skip to content

Commit aaf6c54

Browse files
committed
Set the dates in test XML documents to be earlier than 2036 to allow 32bit systems to pass the tests
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
1 parent 17f4daf commit aaf6c54

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

tests/InCommon-metadata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?><EntitiesDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="INC20140204T195141" Name="urn:mace:incommon" validUntil="2999-02-18T10:00:00Z" xsi:schemaLocation="urn:oasis:names:tc:SAML:2.0:metadata sstc-saml-schema-metadata-2.0.xsd urn:mace:shibboleth:metadata:1.0 shibboleth-metadata-1.0.xsd http://www.w3.org/2000/09/xmldsig# xmldsig-core-schema.xsd"><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
1+
<?xml version="1.0" encoding="UTF-8"?><EntitiesDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="INC20140204T195141" Name="urn:mace:incommon" validUntil="2036-02-18T10:00:00Z" xsi:schemaLocation="urn:oasis:names:tc:SAML:2.0:metadata sstc-saml-schema-metadata-2.0.xsd urn:mace:shibboleth:metadata:1.0 shibboleth-metadata-1.0.xsd http://www.w3.org/2000/09/xmldsig# xmldsig-core-schema.xsd"><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
22
<ds:SignedInfo>
33
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
44
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>

tests/attribute_response.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232
Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
3333
<saml2:SubjectConfirmationData Address="192.168.1.1"
3434
InResponseTo="id-f4d370f3d03650f3ec0da694e2348bfe"
35-
NotOnOrAfter="2999-09-14T21:06:32.081Z"
35+
NotOnOrAfter="2036-09-14T21:06:32.081Z"
3636
Recipient="https://myreviewroom.com/saml2/acs/"
3737
/>
3838
</saml2:SubjectConfirmation>
3939
</saml2:Subject>
4040
<saml2:Conditions NotBefore="2014-09-14T21:01:32.081Z"
41-
NotOnOrAfter="2999-09-14T21:06:32.081Z"
41+
NotOnOrAfter="2036-09-14T21:06:32.081Z"
4242
>
4343
<saml2:AudienceRestriction>
4444
<saml2:Audience>urn:mace:example.com:saml:roland:sp

tests/idp_example.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<ns0:EntityDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata"
33
xmlns:ns1="http://www.w3.org/2000/09/xmldsig#"
44
entityID="http://localhost:8088/idp.xml"
5-
validUntil="2014-04-12T06:06:13Z">
5+
validUntil="2036-04-12T06:06:13Z">
66
<ns0:IDPSSODescriptor WantAuthnRequestsOnlyWithValidCert="false"
77
WantAuthnRequestsSigned="false"
88
protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">

tests/metadata.aaitest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
88
ID="AAITest-20140205105921"
99
Name="urn:mace:switch.ch:aaitest"
10-
validUntil="2999-02-10T09:59:21Z"
10+
validUntil="2036-02-10T09:59:21Z"
1111
xsi:schemaLocation="urn:oasis:names:tc:SAML:2.0:metadata saml-schema-metadata-2.0.xsd urn:mace:shibboleth:metadata:1.0 shibboleth-metadata-1.0.xsd http://www.w3.org/2000/09/xmldsig# xmldsig-core-schema.xsd">
1212
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
1313
<ds:SignedInfo>

tests/metadata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version='1.0' encoding='UTF-8'?>
22
<ns0:EntitiesDescriptor name="urn:mace:example.com:saml:test"
3-
validUntil="2999-12-04T17:31:07Z"
3+
validUntil="2036-12-04T17:31:07Z"
44
xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata">
55
<ns0:EntityDescriptor entityID="urn:mace:example.com:saml:roland:sp">
66
<ns0:SPSSODescriptor AuthnRequestsSigned="False" WantAssertionsSigned="True"

tests/metasp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<ns0:EntitiesDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata" name="urn:mace:umu.se:saml:test" validUntil="2010-12-01T09:22:16Z">
2+
<ns0:EntitiesDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata" name="urn:mace:umu.se:saml:test" validUntil="2036-12-01T09:22:16Z">
33
<ns0:EntityDescriptor entityID="urn:mace:umu.se:saml:roland:sp">
44
<ns0:SPSSODescriptor AuthnRequestsSigned="False" WantAssertionsSigned="True" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
55
<ns0:KeyDescriptor>

tests/remote_data/InCommon-metadata-export.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?><EntitiesDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="_20191126T193752" validUntil="3001-01-01T00:00:00Z">
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?><EntitiesDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="_20191126T193752" validUntil="2036-01-01T00:00:00Z">
22
<md:Extensions xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi">
33
<mdrpi:PublicationInfo creationInstant="2019-11-26T19:37:52Z" publisher="https://incommon.org"/>
44
</md:Extensions>

tests/swamid-2.0.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33

4-
This file was automatically generated - do not edit
4+
This file was automatically generated - do not edit
55

66
-->
7-
<md:EntitiesDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" Name="http://md.swamid.se/md/swamid-2.0.xml" cacheDuration="PT8H" validUntil="2999-12-13T10:05:05Z"><ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>wdokYz5tEa8aCh+fEPqytS/y9W8=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>Wsr/+VrII3wK5rAzQKmjSzflCIuIhQboSc6sIxQwWw3toALPfY5fBl1XHPKGFXxY
7+
<md:EntitiesDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" Name="http://md.swamid.se/md/swamid-2.0.xml" cacheDuration="PT8H" validUntil="2036-12-13T10:05:05Z"><ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>wdokYz5tEa8aCh+fEPqytS/y9W8=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>Wsr/+VrII3wK5rAzQKmjSzflCIuIhQboSc6sIxQwWw3toALPfY5fBl1XHPKGFXxY
88
t6W7MxPjU1FKh4PdISeTgqYUwvrX2YDE7HxoYAZR5n5cZlogBZIR3dUwXAcJ75pX
99
tDUHpoqNyEJgoaeTiFhNBrfwGPlWNb0RstfM+iMIpdNTlSFHvuHMxkJSEunjzbcj
1010
7OU8KcYSlosw4wqdI/G50aQAjSJf+M1wARHtbPvH9ULeks5AUhKyJYztrPJc1UJL

tests/vo_metadata.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version='1.0' encoding='UTF-8'?>
2-
<ns0:EntitiesDescriptor
3-
name="urn:mace:example.com:votest"
4-
validUntil="2999-11-28T09:10:09Z"
2+
<ns0:EntitiesDescriptor
3+
name="urn:mace:example.com:votest"
4+
validUntil="2036-11-28T09:10:09Z"
55
xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata">
6-
<ns0:EntityDescriptor
6+
<ns0:EntityDescriptor
77
entityID="urn:mace:example.com:it:tek">
88
<ns0:AffiliationDescriptor
99
affiliationOwnerID="http://vo.example.org/vo">

0 commit comments

Comments
 (0)