mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
www/mod_auth_mellon: Add another key block to generated metadata for encryption
Bump PORTREVISION
This commit is contained in:
parent
c943a5c42e
commit
9507308f89
@ -1,5 +1,6 @@
|
||||
PORTNAME= mod_auth_mellon
|
||||
PORTVERSION= 0.18.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
||||
DISTVERSIONPREFIX= v
|
||||
|
16
www/mod_auth_mellon/files/patch-mellon__create__metadata.sh
Normal file
16
www/mod_auth_mellon/files/patch-mellon__create__metadata.sh
Normal 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>
|
Loading…
Reference in New Issue
Block a user