From 333eb6555dcfeeffbadab702b9d3fadc6b5dd904 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Sun, 14 Feb 2016 13:54:52 +0100 Subject: remove all traces of saml-md-tools and implement publicationinfo --- Makefile | 5 +++-- xslt/normalize.xsl | 17 ++++++++++++++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 836dc4a5..8fe2dda3 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,13 @@ SRCDIRS=swamid-2.0 DAYS:=15 DATE=$(shell perl scripts/expiration_date.pl $(DAYS)) +NOW=$(shell perl scripts/now_date.pl) RPI=false CONTACTS=false TOU=true ORG=true TRANSFORM=xslt/normalize.xsl -XSLTDEFS := --stringparam org $(ORG) --stringparam tou $(TOU) --stringparam rpi $(RPI) --stringparam defaultContact $(CONTACTS) --stringparam date $(DATE) +XSLTDEFS := --stringparam org $(ORG) --stringparam tou $(TOU) --stringparam rpi $(RPI) --stringparam defaultContact $(CONTACTS) --stringparam date $(DATE) --stringparam now $(NOW) all: update clean sign clean @@ -26,7 +27,7 @@ MXML=$(shell echo *.mxml) sign: keys swamid swamid-testing swamid-testing-idp upstream projects swamid-ki-sll %.sig: %.mxml - xsltproc $(XSLTDEFS) --xinclude $(TRANSFORM) $< > $*.n + xsltproc $(XSLTDEFS) --stringparam target "http://md.swamid.se/md/$*.xml" --xinclude $(TRANSFORM) $< > $*.n xsltproc $(XSLTDEFS) --xinclude xslt/sign.xsl $*.n > $*.tbs xmlsec1 --sign --privkey-pem $(KEY),$(CERT) --pwd $(PASS) --output $@ $*.tbs xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $@ diff --git a/xslt/normalize.xsl b/xslt/normalize.xsl index 2ae8a1e1..e24907d1 100644 --- a/xslt/normalize.xsl +++ b/xslt/normalize.xsl @@ -40,6 +40,9 @@ If You do not accept these Terms, then You must not continue to use this Metadat + + + @@ -61,7 +64,7 @@ If You do not accept these Terms, then You must not continue to use this Metadat - + @@ -78,12 +81,12 @@ If You do not accept these Terms, then You must not continue to use this Metadat - + - + http://www.swamid.se/download/18.248ad5af12aa8136533800012293/SWAMID+Metadata+Registration+Practice+Statement-20110714.pdf @@ -91,6 +94,14 @@ If You do not accept these Terms, then You must not continue to use this Metadat + + + + + https://www.sunet.se/wp-content/uploads/2015/12/SWAMID-Terms-of-Use-20110714.pdf + + + -- cgit v1.2.3