{"id":16777821,"url":"https://github.com/falcosuessgott/saml2-metadata-verifier","last_synced_at":"2026-03-18T22:11:51.930Z","repository":{"id":53521704,"uuid":"303665403","full_name":"FalcoSuessgott/saml2-metadata-verifier","owner":"FalcoSuessgott","description":"Verify and lint SAML2.0 Metadata ","archived":false,"fork":false,"pushed_at":"2021-03-26T08:35:41.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T05:44:35.560Z","etag":null,"topics":["libxml2","metadata","saml","saml2"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FalcoSuessgott.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-13T10:21:53.000Z","updated_at":"2023-07-03T21:12:16.000Z","dependencies_parsed_at":"2022-09-02T03:00:49.930Z","dependency_job_id":null,"html_url":"https://github.com/FalcoSuessgott/saml2-metadata-verifier","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalcoSuessgott%2Fsaml2-metadata-verifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalcoSuessgott%2Fsaml2-metadata-verifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalcoSuessgott%2Fsaml2-metadata-verifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalcoSuessgott%2Fsaml2-metadata-verifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FalcoSuessgott","download_url":"https://codeload.github.com/FalcoSuessgott/saml2-metadata-verifier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243918631,"owners_count":20368745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["libxml2","metadata","saml","saml2"],"created_at":"2024-10-13T07:25:58.701Z","updated_at":"2026-01-02T19:42:47.601Z","avatar_url":"https://github.com/FalcoSuessgott.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# saml2-metadata-verifier \n\u003e verify SAML SP and IDP  metadata \n\n![CI](https://github.com/FalcoSuessgott/saml2-metadata-verifier/workflows/CI/badge.svg)\n![docker](https://img.shields.io/docker/pulls/falcosuessgott/saml2-metadata-verifier)\n\nTable of Contents\n=================\n\n   * [saml2-metadata-verifier](#saml2-metadata-verifier)\n   * [Table of Contents](#table-of-contents)\n      * [How it works](#how-it-works)\n      * [Dependencies](#dependencies)\n         * [libxml2 from sources](#libxml2-from-sources)\n         * [CentOS/RHEL](#centosrhel)\n         * [Debian/Ubuntu](#debianubuntu)\n      * [Installation](#installation)\n      * [Usage](#usage)\n      * [Usage with Docker](#usage-with-docker)\n      * [Example](#example)\n      * [Credits](#credits)\n\n## How it works\n`saml2-metadata-verifier` parses the provided metadata-xml-file and validates it to the SAML2.0 xsd-files using `xmllint`. If the metadata file has values or options that are invalid for the SAML2.0 standard it prints out the errors. \n\n## Dependencies\nYou will need `xmllint`. You can install the dependency from sources, rpm or apt packages:\n\n###  libxml2 from sources\n```bash\ncurl -L ftp://xmlsoft.org/libxml2/LATEST_LIBXML2 -o ./LIBXML2_LATEST.tar.gz\ntar -xf ./LIBXML2_LATEST.tar.gz\ncd ./libxml2*\n./configure --prefix=/usr  --enable-static --with-threads --with-history\nmake\nsudo make install\n```\n\n### CentOS/RHEL\n```\nyum install libxml2-devel\n```\n\n### Debian/Ubuntu\n```\napt-get install libxml2-utils\n```\n\n## Installation\n```bash\ngit clone https://github.com/FalcoSuessgott/saml2-metadata-verifier.git\nmake\n```\n\n## Usage\n```bash\nsaml2-metadata-verifier -h                             \nUsage: saml2-metadata-verifier [OPTIONS...]\n\nOPTIONS:\n  -f, --file               path to metadata file\n  -v, --verbose            verbos\n```\n\n## Usage with Docker\n```bash\ndocker run --rm -v ${PWD}/metadata.xml:/saml/metadata.xml gottziehtalles/saml2-metadata-verifier metadata.xml \n# change -v ${PWD}/metadata.xml to your metadata file\n```\n\n## Example\n```bash\n./saml2-metadata-verifier.sh -f test/invalid_metadata.xml\n-:77: element ContactPerson: Schemas validity error : Element '{urn:oasis:names:tc:SAML:2.0:metadata}ContactPerson', attribute 'contactType': [facet 'enumeration'] The value 'developer' is not an element of the set {'technical', 'support', 'administrative', 'billing', 'other'}.\n- fails to validate\n```\n\n## Credits\nShotouts to [@joostd](https://gist.github.com/joostd)\n\nhttps://gist.github.com/joostd/6057099\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalcosuessgott%2Fsaml2-metadata-verifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalcosuessgott%2Fsaml2-metadata-verifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalcosuessgott%2Fsaml2-metadata-verifier/lists"}