diff options
author | Leif Johansson <leifj@sunet.se> | 2016-11-16 10:13:55 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2016-11-16 10:13:55 +0100 |
commit | 47170551ffe3b1662e39e60199dfd6b0567dc8e3 (patch) | |
tree | 042fd100cf793c8bb58476750b57be0a4b9a83fa /Makefile | |
parent | 504d41eb76856c20834625ed86e081e3eed6a76c (diff) |
use a separate sign xslt for the pyXMLSecurity-based stuff
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,6 +17,7 @@ ID=$(shell perl scripts/unique_id.pl) XSLTDEFS := --stringparam org $(ORG) --stringparam ID $(ID) --stringparam tou $(TOU) --stringparam rpi $(RPI) --stringparam defaultContact $(CONTACTS) --stringparam date $(DATE) --stringparam now $(NOW) SIGNER := xmlsec1 --sign --privkey-pem $(KEY),$(CERT) --pwd $(PASS) --id-attr:ID urn:oasis:names:tc:SAML:2.0:metadata:EntitiesDescriptor BASEURL := http://md.swamid.se/md +SIGN := xslt/sign.xsl -include $(SWAMID_MK_CONFIG) @@ -28,7 +29,7 @@ sign: swamid upstream projects %.sig: %.mxml xsltproc $(XSLTDEFS) --stringparam target "$(BASEURL)/$*.xml" --xinclude $(TRANSFORM) $< > $*.n - xsltproc $(XSLTDEFS) --xinclude xslt/sign.xsl $*.n > $*.tbs + xsltproc $(XSLTDEFS) --xinclude $(SIGN) $*.n > $*.tbs $(SIGNER) --output $@ $*.tbs xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $@ rm -f $*.tbs $*.n |