Skip to content

Instantly share code, notes, and snippets.

Marek Sebera smarek

Block or report user

Report or block smarek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mkowsiak
mkowsiak / Makefile
Created Mar 1, 2019 — forked from joostd/Makefile
Use xmllint to validate SAML 2.0 metadata (or similarly, any other SAML document) using an XML Catalog file
View Makefile
all: saml-2.0-os xsd/xenc-schema.xsd xsd/xmldsig-core-schema.xsd xsd/xml.xsd xcatalog/saml-metadata.xml
saml-2.0-os:
mkdir -p saml-2.0-os
curl -O http://docs.oasis-open.org/security/saml/v2.0/saml-2.0-os.zip
unzip -d saml-2.0-os saml-2.0-os.zip *.xsd
xcatalog/saml-metadata.xml:
mkdir -p xcatalog
xmlcatalog --noout --create xcatalog/saml-metadata.xml
You can’t perform that action at this time.