diff options
author | Leif Johansson <leifj@sunet.se> | 2011-12-01 12:16:18 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-12-01 12:16:18 +0100 |
commit | 690c114b5299bea7c6e047ee1f605750353aed09 (patch) | |
tree | 5de88ea9607b9ad841839574bdb88fd55e184710 /Makefile | |
parent | eb58972e5c764b1b3f6c21319909f8220bbeccc5 (diff) |
signature xsl
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -23,13 +23,11 @@ MXML=$(shell echo *.mxml) sign: keys swamid nya nya-testing swamid-testing swamid-testing-idp upstream projects swamid-ki-sll %.sig: %.mxml - xsltproc $(XSLTDEFS) --xinclude $(TRANSFORM) $< > $*.tbs - #xsltproc $(XSLTDEFS) --xinclude xslt/swamid-sign.xsl $< > $*.tbs - samlsign -s -c $(CERT) -k $(KEY) -f $*.tbs > $@ - #xmlsec1 --sign --privkey-pem $(KEY),$(CERT) --pwd $(PASS) --output $@ $*.tbs + xsltproc $(XSLTDEFS) --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 $@ - samlsign -c $(CERT) -f $@ - rm -f $*.tbs + rm -f $*.tbs $*.n %.pub: %.sig samlsign -c $(CERT) -f $< && xmllint --c14 $< > $(DEST)/$*.xml |