-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CIE private metadata contact information check fails #121
Comments
Hi @ewedlund we could move forward with an example metadata in the unit tests to analyze where the problem is and fix it asap |
As I can see we need a cie private metadata, we actually have only the public one so we need first of an unsigned private-sp-cie.xml that would be signed and named private-sp-cie_signed.xml Once get this done, we should take a look here: spid-sp-test/src/spid_sp_test/metadata.py Line 1061 in 834c9f2
we have to check where code must be improved/fixed |
So I have have done some testing and digging, and I think the problem is in https://github.com/italia/spid-sp-test/blob/834c9f2cbafb821c0bc7f4b46088bd4578aff537/src/spid_sp_test/metadata.py The checks for public metadata: spid-sp-test/src/spid_sp_test/metadata.py Lines 1053 to 1059 in 834c9f2
And for private: spid-sp-test/src/spid_sp_test/metadata.py Lines 1061 to 1068 in 834c9f2
In https://docs.italia.it/italia/cie/cie-manuale-tecnico-docs/it/master/federazione.html#informazioni-di-censimento-e-contatto I don't see any difference in administrative/technical contacts. The technical contact is not mandatory for any of the two profiles, it should be present only if the SP uses an external technical entity. Changing the method
Makes the metadata pass the tests, and looks more reasonable to me, or am I missing something? |
Ciao @ewedlund, sorry for the late! We may leave |
Sounds OK to me. |
Ciao, i nuovi files XSD condivisi dai colleghi di IPZS sono stati aggiornati in questa release |
I'm really sorry about the extreme delay in response, I have just now got back to working on CIE after a long "break". Unfortunately the problem seems to remain, my test continues to fail and I checked the release you refer to, and the only change seems to be to the cie.xsd whereas the specification of the contact types is in the enumeration here:
What I do not understand is why the tests I repeat my suggestion in #121 (comment) to modify (I also saw that it is not just me getting this error: #162 (comment)) |
could you please propose a PR? |
running a test on CIE metadata
returns
Even though the contact information follows the guidelines in https://docs.italia.it/italia/cie/cie-manuale-tecnico-docs/it/master/federazione.html#informazioni-di-censimento-e-contatto, i.e.
I have also tested with the metadata example in paragraph "2.3.6. Esempio di metadata" (adding a signature and certificate), and it gives the same result as above:
The text was updated successfully, but these errors were encountered: