www/mod_auth_mellon: Add another key block to generated metadata for encryption

Bump PORTREVISION
This commit is contained in:
Ryan Steinmetz 2022-11-02 07:58:12 -04:00
parent c943a5c42e
commit 9507308f89
No known key found for this signature in database
GPG Key ID: D2C3D2B2FEF36DD7
2 changed files with 17 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= mod_auth_mellon
PORTVERSION= 0.18.0
PORTREVISION= 1
CATEGORIES= www
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
DISTVERSIONPREFIX= v

View File

@ -0,0 +1,16 @@
--- mellon_create_metadata.sh.orig 2022-11-02 11:48:53 UTC
+++ mellon_create_metadata.sh
@@ -75,6 +75,13 @@ CERT="$(grep -v '^-----' "$OUTFILE.cert")"
cat >"$OUTFILE.xml" <<EOF
<EntityDescriptor entityID="$ENTITYID" xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" AuthnRequestsSigned="true">
+ <KeyDescriptor use="encryption">
+ <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+ <ds:X509Data>
+ <ds:X509Certificate>$CERT</ds:X509Certificate>
+ </ds:X509Data>
+ </ds:KeyInfo>
+ </KeyDescriptor>
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>