summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2017-04-07 10:01:17 +0200
committerLeif Johansson <leifj@sunet.se>2017-04-07 10:01:17 +0200
commit818eaeb7fbbc61162673dd4856d07da619f5d6fe (patch)
treea66dca62b7ab27fa36c36135bafcecabc023da65
parent86eab8abee42ef25d75a6d088897260dcc88958a (diff)
xmlsec1 instead of samlsign
-rwxr-xr-xscripts/pull-and-verify.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/pull-and-verify.sh b/scripts/pull-and-verify.sh
index 8798259a..df0871a9 100755
--- a/scripts/pull-and-verify.sh
+++ b/scripts/pull-and-verify.sh
@@ -17,7 +17,8 @@ if [ $? -ne 0 ]; then
exit 1
fi
if [ "x$CERT" != "x" ]; then
- samlsign -c $CERT -f $TMPF
+ xmlsec1 --verify --pubkey-cert-pem $CERT --id-attr:ID urn:oasis:names:tc:SAML:2.0:metadata:EntitiesDescriptor $TMPF
+ #samlsign -c $CERT -f $TMPF
if [ $? -ne 0 ]; then
echo "Unable to verify $URL with $CERT: $?"
exit 1