From 707d66bc20b4a4c45debb9699cc9945c3f21f925 Mon Sep 17 00:00:00 2001 From: Giuseppe Date: Sat, 10 Jul 2021 17:45:12 +0200 Subject: [PATCH] v0.9.0 * feat: Added CIE private/public SP (experimental) * fix: metadata unit tests CMD * chore: signed test metadata - needed for fixing unit test CMD --- setup.py | 2 +- src/spid_sp_test/constants.py | 7 ++ src/spid_sp_test/metadata.py | 30 ++++++- src/spid_sp_test/metadata_public.py | 59 ++++++++++--- src/spid_sp_test/spid_sp_test | 4 +- tests/metadata/private-sp.xml | 41 ++++++--- tests/metadata/private-sp_signed.xml | 98 ++++++++++++++++++++++ tests/metadata/pub-ag-full.xml | 43 +++++++--- tests/metadata/pub-ag-full_signed.xml | 98 ++++++++++++++++++++++ tests/metadata/pub-ag-lite.xml | 31 +++++-- tests/metadata/pub-ag-lite_signed.xml | 85 +++++++++++++++++++ tests/metadata/pub-op-full.xml | 29 ++++++- tests/metadata/pub-op-full_signed.xml | 68 +++++++++++++++ tests/metadata/public-sp-cie.xml | 26 +++++- tests/metadata/public-sp-cie_signed.xml | 65 ++++++++++++++ tests/metadata/public-sp.xml | 107 ++++++++++++++---------- tests/metadata/public-sp_signed.xml | 68 +++++++++++++++ tests/test_01_metadata.py | 44 +++------- 18 files changed, 782 insertions(+), 123 deletions(-) create mode 100644 tests/metadata/private-sp_signed.xml create mode 100644 tests/metadata/pub-ag-full_signed.xml create mode 100644 tests/metadata/pub-ag-lite_signed.xml create mode 100644 tests/metadata/pub-op-full_signed.xml create mode 100644 tests/metadata/public-sp-cie_signed.xml create mode 100644 tests/metadata/public-sp_signed.xml diff --git a/setup.py b/setup.py index 59fe3bd..dd2592d 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ def readme(): setup( name='spid_sp_test', - version='0.8.3', + version='0.9.0', description="SAML2 SPID Service Provider validation tool that can be run from the command line", long_description=readme(), long_description_content_type='text/markdown', diff --git a/src/spid_sp_test/constants.py b/src/spid_sp_test/constants.py index 0eac4b9..5a959a3 100644 --- a/src/spid_sp_test/constants.py +++ b/src/spid_sp_test/constants.py @@ -116,6 +116,13 @@ 'domicileNation' ] +CIE_ATTRIBUTES = [ + 'dateOfBirth', + 'familyName', + 'fiscalNumber', + 'name' +] + SPID_LEVELS = [ 'https://www.spid.gov.it/SpidL1', 'https://www.spid.gov.it/SpidL2', diff --git a/src/spid_sp_test/metadata.py b/src/spid_sp_test/metadata.py index f07093a..1804376 100644 --- a/src/spid_sp_test/metadata.py +++ b/src/spid_sp_test/metadata.py @@ -508,7 +508,8 @@ def test_AttributeConsumingService(self): return self.is_ok(f'{self.__class__.__name__}.test_AttributeConsumingService') - def test_AttributeConsumingService_SPID(self): + def test_AttributeConsumingService_SPID( + self, allowed_attributes=constants.SPID_ATTRIBUTES): acss = self.doc.xpath('//EntityDescriptor/SPSSODescriptor' '/AttributeConsumingService') @@ -556,7 +557,7 @@ def test_AttributeConsumingService_SPID(self): self._assertIn( ra.get('Name'), - constants.SPID_ATTRIBUTES, + allowed_attributes, f'The "{ra.attrib.values()[0]}" attribute in RequestedAttribute element MUST be valid', description = f"one of [{', '.join(constants.SPID_ATTRIBUTES)}] - TR pag. 20 and AV n.6" ) @@ -792,3 +793,28 @@ def test_profile_spid_op_public_lite(self): ext_types = ["//ContactPerson/Extensions/PublicServicesLightOperator"], must=True ) + + def test_profile_cie_sp(self): + self.test_profile_saml2core() + self.test_SPSSODescriptor_SPID() + self.test_contactperson_email() + self.test_AttributeConsumingService_SPID( + allowed_attributes = constants.CIE_ATTRIBUTES + ) + # TODO: ask the validation xsd to IPZS :) + # self.xsd_check(xsds_files = [ + + def test_profile_cie_sp_public(self): + self.test_profile_cie_sp() + self.test_extensions_public_private( + ext_type="Public", contact_type='administrative') + self.test_Contacts_PubPriv(contact_type='administrative') + self.test_extensions_cie(ext_type="Public") + + def test_profile_cie_sp_private(self): + self.test_profile_cie_sp() + self.test_extensions_public_private( + ext_type="Private", contact_type='technical') + self.test_Contacts_PubPriv(contact_type='administrative') + self.test_Contacts_PubPriv(contact_type='technical') + self.test_extensions_cie(ext_type="Private") diff --git a/src/spid_sp_test/metadata_public.py b/src/spid_sp_test/metadata_public.py index 1cb61cf..679f031 100644 --- a/src/spid_sp_test/metadata_public.py +++ b/src/spid_sp_test/metadata_public.py @@ -9,7 +9,7 @@ class SpidSpMetadataCheckPublic(object): def test_Contacts_PubPriv(self, contact_type="other"): - entity_desc = self.doc.xpath('//ContactPerson') + entity_desc = self.doc.xpath(f'//ContactPerson[@contactType="{contact_type}"]') self._assertTrue(entity_desc, 'ContactPerson MUST be present') if entity_desc: @@ -23,17 +23,14 @@ def test_Contacts_PubPriv(self, contact_type="other"): 'The contactType attribute MUST have a value - TR pag. 19' ) self._assertTrue( - entity_desc[0].get('contactType') == 'other', - 'The contactType must be "other" - TR pag. 19', + entity_desc[0].get('contactType') == contact_type, + f'The contactType must be "{contact_type}" - TR pag. 19', description = entity_desc[0].get('contactType') ) - others = self.doc.xpath( - f'//ContactPerson[@contactType="{contact_type}"]') self._assertTrue( - len(others) == 1, + len(entity_desc) == 1, f'Only one ContactPerson element of contactType "{contact_type}" MUST be present', - description = others ) return self.is_ok(f'{self.__class__.__name__}.test_Contacts_PubPriv') @@ -144,14 +141,18 @@ def test_Contacts_IPACode(self): return self.is_ok(f'{self.__class__.__name__}.test_Contacts_IPACode') - def test_extensions_public_private(self, ext_type="Public"): + def test_extensions_public_private( + self, ext_type="Public", contact_type='other'): ext_type_not = "Private" if ext_type == "Public" else "Public" # only if other, billing doesn't have any Private element in it! - ctype = self.doc.xpath(f'//ContactPerson[@contactType="other"]/Extensions/{ext_type.title()}') + ctype = self.doc.xpath( + f'//ContactPerson[@contactType="{contact_type}"]/Extensions/{ext_type.title()}' + ) self._assertTrue( ctype, - f'Missing ContactPerson/Extensions/{ext_type.title()}, this element MUST be present', + f'Missing ContactPerson/Extensions/{ext_type.title()}, ' + 'this element MUST be present', ) if ctype: self._assertFalse( @@ -200,3 +201,41 @@ def test_Contacts_VATFC(self, private=False): ) return self.is_ok(f'{self.__class__.__name__}.test_Contacts_VATFC') + + def test_extensions_cie(self, ext_type='Public'): + + attrs = ['Municipality'] + + if ext_type == 'Private': + attrs.extend( + ['VATNumber', 'NACE2Code', 'FiscalCode'] + ) + else: + attrs.extend( + ['IPACode', ] + ) + + # the following elements MUST be present + for ele in attrs: + ctype = self.doc.xpath( + f'//ContactPerson/Extensions/{ele}' + ) + + self._assertTrue( + ctype, + f'{ele} element MUST be present', + ) + + # is <= because already protected with the previous check + self._assertTrue( + (len(ctype) <= 1), + f'only one {ele} element MUST be present', + ) + + if ctype: + self._assertTrue( + ctype[0].text, + f'The {ele} element MUST have a value', + ) + + return self.is_ok(f'{self.__class__.__name__}.test_extensions_cie') diff --git a/src/spid_sp_test/spid_sp_test b/src/spid_sp_test/spid_sp_test index 82797eb..1f88de2 100644 --- a/src/spid_sp_test/spid_sp_test +++ b/src/spid_sp_test/spid_sp_test @@ -210,7 +210,9 @@ if __name__ == '__main__': 'spid-sp-ag-public-full', 'spid-sp-ag-public-lite', 'spid-sp-op-public-full', - 'spid-sp-op-public-lite' + 'spid-sp-op-public-lite', + 'cie-sp-public', + 'cie-sp-private', ), help="which profile to check" ) diff --git a/tests/metadata/private-sp.xml b/tests/metadata/private-sp.xml index 5905630..f7379a0 100644 --- a/tests/metadata/private-sp.xml +++ b/tests/metadata/private-sp.xml @@ -1,13 +1,34 @@ - + + + + + + + + + + + + + + + + +MIIEGDCCAwCgAwIBAgIJAOrYj9oLEJCwMA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdDAeFw0xOTA0MTExMDAyMDhaFw0yNTAzMDgxMDAyMDhaMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAs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12345678 - \ No newline at end of file + diff --git a/tests/metadata/private-sp_signed.xml b/tests/metadata/private-sp_signed.xml new file mode 100644 index 0000000..383299e --- /dev/null +++ b/tests/metadata/private-sp_signed.xml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + +H8DIb75ZFFSuKlyMXX9LLIFbvIr4nGqmyx6EDnE60sc= + + +miS04c2VoHPLpTPHadNdaFgKdjfjm+lGWByZ/CERXRyFNwH4uz+mkIuhPrsDjvsl +6wkMg+vFUMP0eT6rqb3lplC2GhCs64Jmk+lXC39anRokkfNF/eUUbHn8lmt7wbYW +rUbF06MTn0NF1mFtyTvyO/tUQaA99NmlecZ6zb0DwBRWJeP91TRHCpr2ooM+vjiW +iqUv032AfT43hdOGjfePsvuUxtnXxVwROTwEbvMnSifky1RiltMap/hseNMNz+iq +StUXWQ/CjlNEYUE6Guv9U/3BNrAKr7r1JgGQNIs61IXxbvvCRLMWq2eHtWcQTmJR +qjVJ5pRVCaOFNkurzq29gg== + + +MIIEGDCCAwCgAwIBAgIJAOrYj9oLEJCwMA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdDAeFw0xOTA0MTExMDAyMDhaFw0yNTAzMDgxMDAyMDhaMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK8kJVo+ugRrbbv9xhXCuVrqi4B7/MQzQc62ocwlFFujJNd4m1mXkUHFbgvwhRkQqo2DAmFeHiwCkJT3K1eeXIFhNFFroEzGPzONyekLpjNvmYIs1CFvirGOj0bkEiGaKEs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naXRhbGUgKFNQ SUQpMA0GCSqGSIb3DQEBDQUAA4ICAQCwe96Wz6JaFRjtKkokVX58GuMgAVBdMi/Y HiTwzb3RB0O7ZN27bLYXQA+r3jiYSNpOxGnmB78dxZDzHUbiLcuv8s6z1o1asMNJ 3L+Llr1/oDN5ogrJUoUlBmXTAHeFdVtooFchJS8FhAOcpq5NjJ1timuIU1c5ENE9 VRAy1C6WyiJ2hl6A+BtiaFtDotBXNp2DzK6P7HtBU1pAn+zCWXWa3/ba9UkPGdM2 LNQb5YvsqmRVtB0q4DuuCb3F6RS4/kz+dMQ79YG+NQ7z48F4JHjQDEmxsB6R2H1L T1sbj0+fOfbRoA+hM4M5lShSj/q8OgrjnJTwWz9OobOYCAyDhCH2AlZLP499Wprj INkvHtAOJh+jrJ0RTqTf99vU0P1q74hRMNLhDG9PRIyRz5BI0KlCOZGqqyRWVXxV bYI2I2WgbqSpqyFsAF/spuHuEWJCFpLWl8nBgJ6pucGmVbt5Z6XxBtg0yEvqQLle EYAnxUiOQBAz44KtPIeuYBGqcn5Ou/+uDesi241fxzgsF0CbOwofBdjCWgBo4bpS nO3LWUvLW4Vvwmfh2mWaDZE/xMSSzfF8krP0kyTWVwBDi628YazoK4Vr+Gr0gOtG ZysYIKFl8vIZ4yx3Cd/XLC3/Fqy+KL7N3OnX2XYKDskk+GdzW89Q8THQvIFW7hf7 DjpJriU2/Q== + + + + + urn:oasis:names:tc:SAML:2.0:nameid-format:transient + + + ServiceName + ServiceDescription + + + + + + + + PrivateSP + PrivateSP DisplayName + https://www.private-sp.it + + + + 00000000000 + + + + PrivateSP + email@private-sp.it + 12345678 + + + + + + + IT + 00000000000 + + + PrivateSP + + + + Via di prova + 00 + 00144 + Roma + RM + IT + + + + PrivateSP + email@private-sp.it + 12345678 + + diff --git a/tests/metadata/pub-ag-full.xml b/tests/metadata/pub-ag-full.xml index 1b6358e..14f158e 100644 --- a/tests/metadata/pub-ag-full.xml +++ b/tests/metadata/pub-ag-full.xml @@ -1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YJKoZIhvcNAQELBQADggEBAJNFqXg/V3aimJKUmUaqmQEEoSc3qvXFITvT5f5bKw9yk/NVhR6wndL+z/24h1OdRqs76blgH8k116qWNkkDtt0AlSjQOx5qvFYh1UviOjNdRI4WkYONSw+vuavcx+fB6O5JDHNmMhMySKTnmRqTkyhjrch7zaFIWUSV7hsBuxpqmrWDoLWdXbV3eFH3mINA5AoIY/m0bZtzZ7YNgiFWzxQgekpxd0vcTseMnCcXnsAlctdir0FoCZztxMuZjlBjwLTtM6Ry3/48LMM8Z+lw7NMciKLLTGQyU8XmKKSSOh0dGh5Lrlt5GxIIJkH81C0YimWebz8464QPL3RbLnTKg+c= + + + + @@ -18,10 +39,10 @@ - Set 0 - Login Attribute Set 0 @@ -34,10 +55,10 @@ - Set 1 - Login Attribute Set 1 @@ -53,13 +74,13 @@ - Organizzazione fittizia per il collaudo - Organizzazione fittizia per il collaudo - https://www.aggregator.it @@ -79,4 +100,4 @@ Organizzazione fittizia per il collaudo - \ No newline at end of file + diff --git a/tests/metadata/pub-ag-full_signed.xml b/tests/metadata/pub-ag-full_signed.xml new file mode 100644 index 0000000..6b410f3 --- /dev/null +++ b/tests/metadata/pub-ag-full_signed.xml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + +G8KIIbmvRYL0w71waVcYuZDM032+2VxfwHb0uVLMCFI= + + +mVhPzfqn6nkNykfhyQEsl3GZs4OHU+APdEte6WniT6tIfxRr+UpaGHYm1jmov7ja +AhHkg6Pfw+9u+N38K2iRYstdpUKsZuqpJx8WSeSDf8Sy3aMUjhVxkEEcxPK+kDMX +8KHAWPd4K4Yo4wPqsA2zRJZnfbCVhJ/Z3VIT48zFRo4iaM9dMSCos2Jm9P8/VsG8 +MoAzHPXBZaNZpr0iQQPXY3Qb5K5bRw31mj6Wx2P5E/tfHaSCbA8Q80iRtW67vSrz +bST2SalvYOvdwgC/sxUvjhjo2NDGpJzQ1pkjiPfBZftM2Tq1q8dP7Zyc+MAhiU3r +BrVavxPWT7uR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gIwQRo/R292ZXJubWVudCBw cm9qZWN0IFNpc3RlbWEgUHViYmxpY28gZGkgSWRlbnRpdOAgRGlnaXRhbGUgKFNQ SUQpMA0GCSqGSIb3DQEBDQUAA4ICAQCwe96Wz6JaFRjtKkokVX58GuMgAVBdMi/Y HiTwzb3RB0O7ZN27bLYXQA+r3jiYSNpOxGnmB78dxZDzHUbiLcuv8s6z1o1asMNJ 3L+Llr1/oDN5ogrJUoUlBmXTAHeFdVtooFchJS8FhAOcpq5NjJ1timuIU1c5ENE9 VRAy1C6WyiJ2hl6A+BtiaFtDotBXNp2DzK6P7HtBU1pAn+zCWXWa3/ba9UkPGdM2 LNQb5YvsqmRVtB0q4DuuCb3F6RS4/kz+dMQ79YG+NQ7z48F4JHjQDEmxsB6R2H1L T1sbj0+fOfbRoA+hM4M5lShSj/q8OgrjnJTwWz9OobOYCAyDhCH2AlZLP499Wprj INkvHtAOJh+jrJ0RTqTf99vU0P1q74hRMNLhDG9PRIyRz5BI0KlCOZGqqyRWVXxV bYI2I2WgbqSpqyFsAF/spuHuEWJCFpLWl8nBgJ6pucGmVbt5Z6XxBtg0yEvqQLle EYAnxUiOQBAz44KtPIeuYBGqcn5Ou/+uDesi241fxzgsF0CbOwofBdjCWgBo4bpS nO3LWUvLW4Vvwmfh2mWaDZE/xMSSzfF8krP0kyTWVwBDi628YazoK4Vr+Gr0gOtG ZysYIKFl8vIZ4yx3Cd/XLC3/Fqy+KL7N3OnX2XYKDskk+GdzW89Q8THQvIFW7hf7 DjpJriU2/Q== + + + + + + urn:oasis:names:tc:SAML:2.0:nameid-format:transient + + + + Set 0 + + Login Attribute Set 0 + + + + + + + + + + + + Set 1 + + Login Attribute Set 1 + + + + + + + + + + + + + + + Organizzazione fittizia per il collaudo + + Organizzazione fittizia per il collaudo + + https://www.aggregator.it + + + + + 000000000000 + + + Aggregator + email@aggregator.it + +3912345678 + + + + IPA + + + Organizzazione fittizia per il collaudo + + diff --git a/tests/metadata/pub-ag-lite.xml b/tests/metadata/pub-ag-lite.xml index 23253c8..b9c1f14 100644 --- a/tests/metadata/pub-ag-lite.xml +++ b/tests/metadata/pub-ag-lite.xml @@ -1,8 +1,29 @@ - + + + + + + + + + + + + + + + + + + +MIIEGDCCAwCgAwIBAgIJAOrYj9oLEJCwMA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdDAeFw0xOTA0MTExMDAyMDhaFw0yNTAzMDgxMDAyMDhaMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK8kJVo+ugRrbbv9xhXCuVrqi4B7/MQzQc62ocwlFFujJNd4m1mXkUHFbgvwhRkQqo2DAmFeHiwCkJT3K1eeXIFhNFFroEzGPzONyekLpjNvmYIs1CFvirGOj0bkEiGaKEs+/umzGjxIhy5JQlqXE96y1+Izp2QhJimDK0/KNij8I1bzxseP0Ygc4SFveKS+7QO+PrLzWklEWGMs4DM5Zc3VRK7g4LWPWZhKdImC1rnS+/lEmHSvHisdVp/DJtbSrZwSYTRvTTz5IZDSq4kAzrDfpj16h7b3t3nFGc8UoY2Ro4tRZ3ahJ2r3b79yK6C5phY7CAANuW3gDdhVjiBNYs0CAwEAAaOByjCBxzAdBgNVHQ4EFgQU3/7kV2tbdFtphbSA4LH7+w8SkcwwgZcGA1UdIwSBjzCBjIAU3/7kV2tbdFtphbSA4LH7+w8SkcyhaaRnMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdIIJAOrYj9oLEJCwMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAJNFqXg/V3aimJKUmUaqmQEEoSc3qvXFITvT5f5bKw9yk/NVhR6wndL+z/24h1OdRqs76blgH8k116qWNkkDtt0AlSjQOx5qvFYh1UviOjNdRI4WkYONSw+vuavcx+fB6O5JDHNmMhMySKTnmRqTkyhjrch7zaFIWUSV7hsBuxpqmrWDoLWdXbV3eFH3mINA5AoIY/m0bZtzZ7YNgiFWzxQgekpxd0vcTseMnCcXnsAlctdir0FoCZztxMuZjlBjwLTtM6Ry3/48LMM8Z+lw7NMciKLLTGQyU8XmKKSSOh0dGh5Lrlt5GxIIJkH81C0YimWebz8464QPL3RbLnTKg+c= + + + @@ -59,4 +80,4 @@ Organizzazione fittizia per il collaudo - \ No newline at end of file + diff --git a/tests/metadata/pub-ag-lite_signed.xml b/tests/metadata/pub-ag-lite_signed.xml new file mode 100644 index 0000000..22316e9 --- /dev/null +++ b/tests/metadata/pub-ag-lite_signed.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + +biVLIgWXk3rQyH6hynal1VdZMFRrfxrBF5CYS5ZMzJM= + + +EWii2P7Sfmg6BARFIaL784JT0XgTU1nFMbSa8pwfJ5iAQWMq93f8xY+APrJ4Qb2c +xbG6q2qwVzB02oig7S0SXhw6ko+AGbcko1VfCMK6e8CLVFZ1K0tsmBbpzo0vYC0Q +n639HA2nDh4NCzLbrDT3AXSetClVKrUPwH2PINR4sJdyw3POfh4XoghQ4HJwQtnc +xsaW9mMljD9Emt15w7MnKTIMjOpTE/RcU8ohOuuXB5X8qB5VjVepT0QFgiTrLvj+ +PxuUyh5kmTGWeTjQmCqF0kd2aJwy3BA+VNRWAmLddrgE/iTa16H5462Ufk9c73Sb +KiOgge+68Klndd4h6E9+eA== + + +MIIEGDCCAwCgAwIBAgIJAOrYj9oLEJCwMA0GCSqGS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uDesi241fxzgsF0CbOwofBdjCWgBo4bpS nO3LWUvLW4Vvwmfh2mWaDZE/xMSSzfF8krP0kyTWVwBDi628YazoK4Vr+Gr0gOtG ZysYIKFl8vIZ4yx3Cd/XLC3/Fqy+KL7N3OnX2XYKDskk+GdzW89Q8THQvIFW7hf7 DjpJriU2/Q== + + + + + urn:oasis:names:tc:SAML:2.0:nameid-format:transient + + + ServiceName + + + + + + + + + Organizzazione fittizia per il collaudo + Organizzazione fittizia per il collaudo + https://www.aggregated.it + + + + 00000000000 + 00000000000 + + + + + MIIHgzCCBWugAwIBAgIIT5boMmgJZQQwDQYJKoZIhvcNAQENBQAwgcwxCzAJBgNV BAYTAklUMQ0wCwYDVQQHDARSb21lMSYwJAYDVQQKDB1BZ2VuemlhIHBlciBsJ0l0 YWxpYSBEaWdpdGFsZTEwMC4GA1UECwwnU2Vydml6aW8gQWNjcmVkaXRhbWVudG8g ZSBwcm9nZXR0byBTUElEMQ0wCwYDVQQDDARBZ0lEMSkwJwYJKoZIhvcNAQkBFhpw cm90b2NvbGxvQHBlYy5hZ2lkLmdvdi5pdDEaMBgGA1UEBRMRVkFUSVQtOTc3MzUw MjA1ODQwHhcNMjAwMjE4MDAwMDAwWhcNNDAwMjE3MjM1OTU5WjCB1TELMAkGA1UE BhMCSVQxDTALBgNVBAcMBFJvbWUxJjAkBgNVBAoMHUFnZW56aWEgcGVyIGwnSXRh bGlhIERpZ2l0YWxlMTAwLgYDVQQLDCdTZXJ2aXppbyBBY2NyZWRpdGFtZW50byBl IHByb2dldHRvIFNQSUQxFjAUBgNVBAMMDVByb2dldHRvIFNQSUQxKTAnBgkqhkiG 9w0BCQEWGnByb3RvY29sbG9AcGVjLmFnaWQuZ292Lml0MRowGAYDVQQFExFWQVRJ VC05NzczNTAyMDU4NDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJ/j 1bZoh23Q8o+lpy1irwJctv5y4hFDgsS5aDZZc/sLTrNFp+IDKusG5EgCPY97jp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28gZGkgSWRlbnRpdOAgRGlnaXRhbGUgKFNQ SUQpMA0GCSqGSIb3DQEBDQUAA4ICAQCwe96Wz6JaFRjtKkokVX58GuMgAVBdMi/Y HiTwzb3RB0O7ZN27bLYXQA+r3jiYSNpOxGnmB78dxZDzHUbiLcuv8s6z1o1asMNJ 3L+Llr1/oDN5ogrJUoUlBmXTAHeFdVtooFchJS8FhAOcpq5NjJ1timuIU1c5ENE9 VRAy1C6WyiJ2hl6A+BtiaFtDotBXNp2DzK6P7HtBU1pAn+zCWXWa3/ba9UkPGdM2 LNQb5YvsqmRVtB0q4DuuCb3F6RS4/kz+dMQ79YG+NQ7z48F4JHjQDEmxsB6R2H1L T1sbj0+fOfbRoA+hM4M5lShSj/q8OgrjnJTwWz9OobOYCAyDhCH2AlZLP499Wprj INkvHtAOJh+jrJ0RTqTf99vU0P1q74hRMNLhDG9PRIyRz5BI0KlCOZGqqyRWVXxV bYI2I2WgbqSpqyFsAF/spuHuEWJCFpLWl8nBgJ6pucGmVbt5Z6XxBtg0yEvqQLle EYAnxUiOQBAz44KtPIeuYBGqcn5Ou/+uDesi241fxzgsF0CbOwofBdjCWgBo4bpS nO3LWUvLW4Vvwmfh2mWaDZE/xMSSzfF8krP0kyTWVwBDi628YazoK4Vr+Gr0gOtG ZysYIKFl8vIZ4yx3Cd/XLC3/Fqy+KL7N3OnX2XYKDskk+GdzW89Q8THQvIFW7hf7 DjpJriU2/Q== + + + + + Aggregator + email@aggregator.it + 12345678 + + + + IPA + + Organizzazione fittizia per il collaudo + + diff --git a/tests/metadata/pub-op-full.xml b/tests/metadata/pub-op-full.xml index bc139c6..f3baab3 100644 --- a/tests/metadata/pub-op-full.xml +++ b/tests/metadata/pub-op-full.xml @@ -1,9 +1,30 @@ - + + + + + + + + + + + + + + + + +MIIEGDCCAwCgAwIBAgIJAOrYj9oLEJCwMA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEB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x+fB6O5JDHNmMhMySKTnmRqTkyhjrch7zaFIWUSV7hsBuxpqmrWDoLWdXbV3eFH3mINA5AoIY/m0bZtzZ7YNgiFWzxQgekpxd0vcTseMnCcXnsAlctdir0FoCZztxMuZjlBjwLTtM6Ry3/48LMM8Z+lw7NMciKLLTGQyU8XmKKSSOh0dGh5Lrlt5GxIIJkH81C0YimWebz8464QPL3RbLnTKg+c= + + + + @@ -42,4 +63,4 @@ Operator email@operator.it - \ No newline at end of file + diff --git a/tests/metadata/pub-op-full_signed.xml b/tests/metadata/pub-op-full_signed.xml new file mode 100644 index 0000000..2cb30d6 --- /dev/null +++ b/tests/metadata/pub-op-full_signed.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + +PKEcEiQJDfG1SaQRb+8IVUJWNRVT+bjTD74ihzY95Jc= + + +dO08Nl2cRaXCHgYnnvsXljesk3HHqmXYVeDbAs1HbEUXmMeecCcXw1dxp6GAundx +3764pTIuuzmPtHTaqyjWiF0kiFmrS51YW4+p7a8riDZdjB5eAIUihtPrWdF3oGYS +7wkytT/v77LnDpzTtDHyfDCTzZVxchEtjH7GJcjzf06LM8AUlXqvUMEKzVGru/l+ +3+oXnvVbxFac7xFDZM7vHh5EgwgLQMFzpZHmo4TAVtqizp51GrZ84l6c7DHx/8pQ +19M7zJnr9zoDcCckCq1mBze8tcAz1WyjBESrCdVheo9u4a2kQGNVdhIO6CZH4a2K +8GyfMjaHIyrvHzt/XsH2MA== + + +MIIEGDCCAwCgAwIBAgIJAOrYj9oLEJCwMA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdDAeFw0xOTA0MTExMDAyMDhaFw0yNTAzMDgxMDAyMDhaMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA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2hl6A+BtiaFtDotBXNp2DzK6P7HtBU1pAn+zCWXWa3/ba9UkPGdM2 LNQb5YvsqmRVtB0q4DuuCb3F6RS4/kz+dMQ79YG+NQ7z48F4JHjQDEmxsB6R2H1L T1sbj0+fOfbRoA+hM4M5lShSj/q8OgrjnJTwWz9OobOYCAyDhCH2AlZLP499Wprj INkvHtAOJh+jrJ0RTqTf99vU0P1q74hRMNLhDG9PRIyRz5BI0KlCOZGqqyRWVXxV bYI2I2WgbqSpqyFsAF/spuHuEWJCFpLWl8nBgJ6pucGmVbt5Z6XxBtg0yEvqQLle EYAnxUiOQBAz44KtPIeuYBGqcn5Ou/+uDesi241fxzgsF0CbOwofBdjCWgBo4bpS nO3LWUvLW4Vvwmfh2mWaDZE/xMSSzfF8krP0kyTWVwBDi628YazoK4Vr+Gr0gOtG ZysYIKFl8vIZ4yx3Cd/XLC3/Fqy+KL7N3OnX2XYKDskk+GdzW89Q8THQvIFW7hf7 DjpJriU2/Q== + + + + + + + ServiceName + + + + + + + + + + + + + Aggregated + Aggregated Display Name + https://www.aggregated.it/ + + + + IPA + 00000000000 + 00000000000 + + + Operator + email@operator.it + + diff --git a/tests/metadata/public-sp-cie.xml b/tests/metadata/public-sp-cie.xml index e468097..6a0178d 100644 --- a/tests/metadata/public-sp-cie.xml +++ b/tests/metadata/public-sp-cie.xml @@ -1,10 +1,32 @@ - + + + + + + + + + + + + + + + + + + +MIIEGDCCAwCgAwIBAgIJAOrYj9oLEJCwMA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdDAeFw0xOTA0MTExMDAyMDhaFw0yNTAzMDgxMDAyMDhaMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQ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KNij8I1bzxseP0Ygc4SFveKS+7QO+PrLzWklEWGMs4DM5Zc3VRK7g4LWPWZhKdImC1rnS+/lEmHSvHisdVp/DJtbSrZwSYTRvTTz5IZDSq4kAzrDfpj16h7b3t3nFGc8UoY2Ro4tRZ3ahJ2r3b79yK6C5phY7CAANuW3gDdhVjiBNYs0CAwEAAaOByjCBxzAdBgNVHQ4EFgQU3/7kV2tbdFtphbSA4LH7+w8SkcwwgZcGA1UdIwSBjzCBjIAU3/7kV2tbdFtphbSA4LH7+w8SkcyhaaRnMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdIIJAOrYj9oLEJCwMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAJNFqXg/V3aimJKUmUaqmQEEoSc3qvXFITvT5f5bKw9yk/NVhR6wndL+z/24h1OdRqs76blgH8k116qWNkkDtt0AlSjQOx5qvFYh1UviOjNdRI4WkYONSw+vuavcx+fB6O5JDHNmMhMySKTnmRqTkyhjrch7zaFIWUSV7hsBuxpqmrWDoLWdXbV3eFH3mINA5AoIY/m0bZtzZ7YNgiFWzxQgekpxd0vcTseMnCcXnsAlctdir0FoCZztxMuZjlBjwLTtM6Ry3/48LMM8Z+lw7NMciKLLTGQyU8XmKKSSOh0dGh5Lrlt5GxIIJkH81C0YimWebz8464QPL3RbLnTKg+c= diff --git a/tests/metadata/public-sp-cie_signed.xml b/tests/metadata/public-sp-cie_signed.xml new file mode 100644 index 0000000..c08d350 --- /dev/null +++ b/tests/metadata/public-sp-cie_signed.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + +4llTAmC0KOIifN+HtaSJOAatw0tlOa7zpsXwav5+G+A= + + +FRlSWwCejazHNJ13OiMCvWlUvcfIAHeN/w6JfZllwwBKc5UJDG7SZiH+Viy9Negr +opTJHh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4m1mXkUHFbgvwhRkQqo2DAmFeHiwCkJT3K1eeXIFhNFFroEzGPzONyekLpjNvmYIs1CFvirGOj0bkEiGaKEs+/umzGjxIhy5JQlqXE96y1+Izp2QhJimDK0/KNij8I1bzxseP0Ygc4SFveKS+7QO+PrLzWklEWGMs4DM5Zc3VRK7g4LWPWZhKdImC1rnS+/lEmHSvHisdVp/DJtbSrZwSYTRvTTz5IZDSq4kAzrDfpj16h7b3t3nFGc8UoY2Ro4tRZ3ahJ2r3b79yK6C5phY7CAANuW3gDdhVjiBNYs0CAwEAAaOByjCBxzAdBgNVHQ4EFgQU3/7kV2tbdFtphbSA4LH7+w8SkcwwgZcGA1UdIwSBjzCBjIAU3/7kV2tbdFtphbSA4LH7+w8SkcyhaaRnMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdIIJAOrYj9oLEJCwMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAJNFqXg/V3aimJKUmUaqmQEEoSc3qvXFITvT5f5bKw9yk/NVhR6wndL+z/24h1OdRqs76blgH8k116qWNkkDtt0AlSjQOx5qvFYh1UviOjNdRI4WkYONSw+vuavcx+fB6O5JDHNmMhMySKTnmRqTkyhjrch7zaFIWUSV7hsBuxpqmrWDoLWdXbV3eFH3mINA5AoIY/m0bZtzZ7YNgiFWzxQgekpxd0vcTseMnCcXnsAlctdir0FoCZztxMuZjlBjwLTtM6Ry3/48LMM8Z+lw7NMciKLLTGQyU8XmKKSSOh0dGh5Lrlt5GxIIJkH81C0YimWebz8464QPL3RbLnTKg+c= + + + + + urn:oasis:names:tc:SAML:2.0:nameid-format:transient + + + CIE Service for Public Administration + + + + + + + + Public Service + Public Service + https://www.public-sp.it/ + + + + + 01234567890 + abcd_000 + C351 + CT + + Public Administration + first.last@public-sp.it + + diff --git a/tests/metadata/public-sp.xml b/tests/metadata/public-sp.xml index 3ba82ca..3d87458 100644 --- a/tests/metadata/public-sp.xml +++ b/tests/metadata/public-sp.xml @@ -1,45 +1,66 @@ - + - - - - - MIIHgzCCBWugAwIBAgIIT5boMmgJZQQwDQYJKoZIhvcNAQENBQAwgcwxCzAJBgNV BAYTAklUMQ0wCwYDVQQHDARSb21lMSYwJAYDVQQKDB1BZ2VuemlhIHBlciBsJ0l0 YWxpYSBEaWdpdGFsZTEwMC4GA1UECwwnU2Vydml6aW8gQWNjcmVkaXRhbWVudG8g ZSBwcm9nZXR0byBTUElEMQ0wCwYDVQQDDARBZ0lEMSkwJwYJKoZIhvcNAQkBFhpw cm90b2NvbGxvQHBlYy5hZ2lkLmdvdi5pdDEaMBgGA1UEBRMRVkFUSVQtOTc3MzUw MjA1ODQwHhcNMjAwMjE4MDAwMDAwWhcNNDAwMjE3MjM1OTU5WjCB1TELMAkGA1UE BhMCSVQxDTALBgNVBAcMBFJvbWUxJjAkBgNVBAoMHUFnZW56aWEgcGVyIGwnSXRh bGlhIERpZ2l0YWxlMTAwLgYDVQQLDCdTZXJ2aXppbyBBY2NyZWRpdGFtZW50byBl IHByb2dldHRvIFNQSUQxFjAUBgNVBAMMDVByb2dldHRvIFNQSUQxKTAnBgkqhkiG 9w0BCQEWGnByb3RvY29sbG9AcGVjLmFnaWQuZ292Lml0MRowGAYDVQQFExFWQVRJ VC05NzczNTAyMDU4NDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJ/j 1bZoh23Q8o+lpy1irwJctv5y4hFDgsS5aDZZc/sLTrNFp+IDKusG5EgCPY97jpIR hh9JtZbc+W7qiyovPox4Jf6py24GfVKeubave4RGgHvZLrc5UmLumc0/JuBQ9NZY OmQ6V46wQxlojuwqjsuZUJq6J+rTWuNiRv4bHrbflrCPFoLpIf+XBxRruIC6ug+5 UF6I/iua/6iIb+vvwXvJWvtGYy52hqjgLN0HJ5BnZMjQ45iBQ7xEQ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ogrJUoUlBmXTAHeFdVtooFchJS8FhAOcpq5NjJ1timuIU1c5ENE9 VRAy1C6WyiJ2hl6A+BtiaFtDotBXNp2DzK6P7HtBU1pAn+zCWXWa3/ba9UkPGdM2 LNQb5YvsqmRVtB0q4DuuCb3F6RS4/kz+dMQ79YG+NQ7z48F4JHjQDEmxsB6R2H1L T1sbj0+fOfbRoA+hM4M5lShSj/q8OgrjnJTwWz9OobOYCAyDhCH2AlZLP499Wprj INkvHtAOJh+jrJ0RTqTf99vU0P1q74hRMNLhDG9PRIyRz5BI0KlCOZGqqyRWVXxV bYI2I2WgbqSpqyFsAF/spuHuEWJCFpLWl8nBgJ6pucGmVbt5Z6XxBtg0yEvqQLle EYAnxUiOQBAz44KtPIeuYBGqcn5Ou/+uDesi241fxzgsF0CbOwofBdjCWgBo4bpS nO3LWUvLW4Vvwmfh2mWaDZE/xMSSzfF8krP0kyTWVwBDi628YazoK4Vr+Gr0gOtG ZysYIKFl8vIZ4yx3Cd/XLC3/Fqy+KL7N3OnX2XYKDskk+GdzW89Q8THQvIFW7hf7 DjpJriU2/Q== - - - - - urn:oasis:names:tc:SAML:2.0:nameid-format:transient - - - ServiceName - - - - - - - - - - - - - - - Public SP - Public SP - https://www.public-sp.it - - - - IPA - - - email@public-sp.it - - \ No newline at end of file + + + + + + + + + + + + + + + + +MIIEGDCCAwCgAwIBAgIJAOrYj9oLEJCwMA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdDAeFw0xOTA0MTExMDAyMDhaFw0yNTAzMDgxMDAyMDhaMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQIEwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJQWdJRCBURVNUMRQwEgYDVQQDEw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0q4DuuCb3F6RS4/kz+dMQ79YG+NQ7z48F4JHjQDEmxsB6R2H1L T1sbj0+fOfbRoA+hM4M5lShSj/q8OgrjnJTwWz9OobOYCAyDhCH2AlZLP499Wprj INkvHtAOJh+jrJ0RTqTf99vU0P1q74hRMNLhDG9PRIyRz5BI0KlCOZGqqyRWVXxV bYI2I2WgbqSpqyFsAF/spuHuEWJCFpLWl8nBgJ6pucGmVbt5Z6XxBtg0yEvqQLle EYAnxUiOQBAz44KtPIeuYBGqcn5Ou/+uDesi241fxzgsF0CbOwofBdjCWgBo4bpS nO3LWUvLW4Vvwmfh2mWaDZE/xMSSzfF8krP0kyTWVwBDi628YazoK4Vr+Gr0gOtG ZysYIKFl8vIZ4yx3Cd/XLC3/Fqy+KL7N3OnX2XYKDskk+GdzW89Q8THQvIFW7hf7 DjpJriU2/Q== + + + + + urn:oasis:names:tc:SAML:2.0:nameid-format:transient + + + ServiceName + + + + + + + + + + + + + + + Public SP + Public SP + https://www.public-sp.it + + + + IPA + + + email@public-sp.it + + diff --git a/tests/metadata/public-sp_signed.xml b/tests/metadata/public-sp_signed.xml new file mode 100644 index 0000000..77334c8 --- /dev/null +++ b/tests/metadata/public-sp_signed.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + +9oj9i7dc9YYF9EmYqftz3zh9dNsC+Drk7+rlB0y9O34= + + +Bu6+qI8BljO4kxJnnI7/amaCfjmTOaYPGIwNZ2GeUF+anhpja485THSNn7eiSQLW +pvurUNyfhey22XC+wuxnQNm7pbE2MfpEqidjmhQKP53uliO2XBFPCUHLXCK5CZRi +omdHkbRt258loxtwGV/HkT4rnczqYuXH+woDOSB53u320Vk6qNwk1cHT+B23wabB +WAyZPNOAmcL8hKs4Yeo7DYMFi9t7PbybqqbeyB8cvRGQXqc+Qh4KIFk7joNyoTaV +MCSI4VGRVTX9DItS4w4Aq8KEJt2bvvGZ3nGHS24Ms8c1bmxdmHHOmkAQMsS4xEC5 +1qpiVYaMX6DlNGONQRYTog== +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ZXJubWVudCBw cm9qZWN0IFNpc3RlbWEgUHViYmxpY28gZGkgSWRlbnRpdOAgRGlnaXRhbGUgKFNQ SUQpMA0GCSqGSIb3DQEBDQUAA4ICAQCwe96Wz6JaFRjtKkokVX58GuMgAVBdMi/Y HiTwzb3RB0O7ZN27bLYXQA+r3jiYSNpOxGnmB78dxZDzHUbiLcuv8s6z1o1asMNJ 3L+Llr1/oDN5ogrJUoUlBmXTAHeFdVtooFchJS8FhAOcpq5NjJ1timuIU1c5ENE9 VRAy1C6WyiJ2hl6A+BtiaFtDotBXNp2DzK6P7HtBU1pAn+zCWXWa3/ba9UkPGdM2 LNQb5YvsqmRVtB0q4DuuCb3F6RS4/kz+dMQ79YG+NQ7z48F4JHjQDEmxsB6R2H1L T1sbj0+fOfbRoA+hM4M5lShSj/q8OgrjnJTwWz9OobOYCAyDhCH2AlZLP499Wprj INkvHtAOJh+jrJ0RTqTf99vU0P1q74hRMNLhDG9PRIyRz5BI0KlCOZGqqyRWVXxV bYI2I2WgbqSpqyFsAF/spuHuEWJCFpLWl8nBgJ6pucGmVbt5Z6XxBtg0yEvqQLle EYAnxUiOQBAz44KtPIeuYBGqcn5Ou/+uDesi241fxzgsF0CbOwofBdjCWgBo4bpS nO3LWUvLW4Vvwmfh2mWaDZE/xMSSzfF8krP0kyTWVwBDi628YazoK4Vr+Gr0gOtG ZysYIKFl8vIZ4yx3Cd/XLC3/Fqy+KL7N3OnX2XYKDskk+GdzW89Q8THQvIFW7hf7 DjpJriU2/Q== + + + + + urn:oasis:names:tc:SAML:2.0:nameid-format:transient + + + ServiceName + + + + + + + + + + + + + + + Public SP + Public SP + https://www.public-sp.it + + + + IPA + + + email@public-sp.it + + diff --git a/tests/test_01_metadata.py b/tests/test_01_metadata.py index e6ce77b..e967b80 100644 --- a/tests/test_01_metadata.py +++ b/tests/test_01_metadata.py @@ -1,7 +1,7 @@ import os DIR='metadata' -CMD = "python3 src/spid_sp_test/spid_sp_test --metadata-url file://tests/{} -l xsd_check" +CMD = "python3 src/spid_sp_test/spid_sp_test --metadata-url file://tests/{} --extra --debug ERROR" def run_cmd(mfname) -> int: @@ -15,52 +15,28 @@ def test_metadata_missing_eid(): def test_public_sp(): - es = run_cmd(f'{DIR}/public-sp.xml') + es = run_cmd(f'{DIR}/public-sp_signed.xml') assert es == 0 def test_private_sp(): - es = run_cmd(f'{DIR}/private-sp.xml') + es = run_cmd(f'{DIR}/private-sp_signed.xml --profile spid-sp-private') assert es == 0 def test_op_full(): - es = run_cmd(f'{DIR}/pub-op-full.xml') + es = run_cmd(f'{DIR}/pub-op-full_signed.xml --profile spid-sp-op-public-full') assert es == 0 -def test_satosa_billing(): - es = run_cmd(f'{DIR}/satosa-saml2spid-billing-xml') +def test_ag_lite(): + es = run_cmd(f'{DIR}/pub-ag-lite_signed.xml --profile spid-sp-ag-public-lite') assert es == 0 - -def test_satosa_other(): - es = run_cmd(f'{DIR}/satosa-saml2spid-other-xml') +def test_ag_full(): + es = run_cmd(f'{DIR}/pub-ag-full_signed.xml --profile spid-sp-ag-public-full') assert es == 0 - -def test_django_billing(): - es = run_cmd(f'{DIR}/spid-django-billing.xml') - assert es == 0 - - -def test_django_other(): - es = run_cmd(f'{DIR}/spid-django-other.xml') +def test_public_cie_sp(): + es = run_cmd(f'{DIR}/public-sp-cie_signed.xml --profile cie-sp-public') assert es == 0 - - -# TODO - still fails -# def test_pub_ag_full(): - # """ - # Reason: The content of element 'md:ContactPerson' is not complete. Tag md:EmailAddress expected. - # """ - # es = run_cmd('pub-ag-full.xml') - # assert es == 0 - - -# def test_pub_ag_light(): - # """ - # Reason: The content of element 'md:ContactPerson' is not complete. Tag md:EmailAddress expected. - # """ - # es = run_cmd('pub-ag-lite.xml') - # assert es == 0