summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--swamid-2.0/zoom-saas-idp-proxy.sunet.se-sp.xml4
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 157dc05f..09806de1 100644
--- a/Makefile
+++ b/Makefile
@@ -208,6 +208,10 @@ testEntCat:
@echo "Checking for wrong AttributeValue in EntityAttributes/Attribute urn:oasis:names:tc:SAML:attribute:assurance-certification"
@for x in `find $(SRCDIRS) -name \*.xml | xargs grep -l "urn:oasis:names:tc:SAML:attribute:assurance-certification"` ; do if cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath '/EntityDescriptor/Extensions/EntityAttributes/Attribute[attribute::Name="urn:oasis:names:tc:SAML:attribute:assurance-certification"]' - 2>/dev/null | grep "AttributeValue" | egrep -v ">https://refeds.org/sirtfi<|>http://www.swamid.se/policy/assurance/al1<|>http://www.swamid.se/policy/assurance/al2<|>http://www.swamid.se/policy/authentication/swamid-al2-mfa<|>http://www.swamid.se/policy/authentication/swamid-al2-mfa-hi<" ; then echo " $$x" | sed 's/.*/&/' ; fi ; done | grep . && exit 1 || true
+testValidContact:
+ @echo "Checking for valid Contact Information"
+ @for x in swamid-2.0/*.xml ; do if ( cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/ContactPerson" - 2>/dev/null | grep 'EmailAddress' | grep -qv ">mailto:") ; then echo " Missing mailto in ContactPerson in file $$x " ; fi done
+
testSimpleSign:
@echo "Check for new SP:s with SimpleSign (breaks ADFS IdP:s with Shib SP 2.5+)"
@for x in `grep -v "#" sp-with-simplesign`; do if [ ! -r swamid-2.0/$$x ] ; then echo $$x saknas; fi ; done | grep . && exit 1 || exit 0
diff --git a/swamid-2.0/zoom-saas-idp-proxy.sunet.se-sp.xml b/swamid-2.0/zoom-saas-idp-proxy.sunet.se-sp.xml
index 57df6fb1..a79852b8 100644
--- a/swamid-2.0/zoom-saas-idp-proxy.sunet.se-sp.xml
+++ b/swamid-2.0/zoom-saas-idp-proxy.sunet.se-sp.xml
@@ -91,10 +91,10 @@ Mxe0+tX0hEXUAHD3qoocrc5Nn5gXeDpmZA4Ik8dtzyPj8AkGUtekHt8=
</ns0:Organization>
<ns0:ContactPerson contactType="technical">
<ns0:GivenName>Technical</ns0:GivenName>
- <ns0:EmailAddress>noc@sunet.se</ns0:EmailAddress>
+ <ns0:EmailAddress>mailto:noc@sunet.se</ns0:EmailAddress>
</ns0:ContactPerson>
<ns0:ContactPerson contactType="support">
<ns0:GivenName>Support</ns0:GivenName>
- <ns0:EmailAddress>noc@sunet.se</ns0:EmailAddress>
+ <ns0:EmailAddress>mailto:noc@sunet.se</ns0:EmailAddress>
</ns0:ContactPerson>
</ns0:EntityDescriptor>