blob: 624aaf952dd0f6fa9c8f5a7c0ef18bb396a34d92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
KEY=signer.key
CERT=signer.crt
PASS=$(shell cat /local/swamid-signer-pass.txt)
all: update sign
update:
@svn up -q
keys: $(KEY) $(CERT)
sign: keys swamid nya
swamid-compat:
@test -s /local/saml-metadata/swamid-1.0.xml && sed 's/md:Name=\"http://md.swamid.se/md/swamid-1.0.xml\"/md:Name=\"urn:mace:swami.se:swamid:test-1.0\"/g < /local/saml-metadata/swamid-1.0.xml > /tmp/foo.metadata
swamid:
@saml-md-tool swamid-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)
@test -s swamid-1.0.xml && mv swamid-1.0.xml /local/saml-metadata
nya:
@saml-md-tool nya-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)
@test -s nya-1.0.xml && mv nya-1.0.xml /local/saml-metadata
|