Giter Site home page Giter Site logo

dv10den / verify_entcat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from its-dirg/verify_entcat

0.0 2.0 0.0 289 KB

A service that can verify that SAML2 IdPs understands entity categories

License: Other

Python 17.95% CSS 57.89% JavaScript 24.12% Shell 0.05%

verify_entcat's Introduction

============
verify_encat
============
This is a SAML IdP test utility for entity categories.

The service can verify how a IdP responds dependent on which
entity categories that are defined.

Start by installing pysaml2 and understand how to setup an SP with pysaml2.

Then start with the settings for verify_ecat.

1) Import the metadata this service should use.
    To do this you can use update_metadata.sh suitably modified

2) Change the name of conf.example to conf.py.
    Make any necessary changes (3)-(7)
3) In conf.py verify that the path in xmlsec_path is correct.
4) BASE should be the URL where you publish verify_encat. The port must be the same as in server_conf.py.
5) attribute_map_dir must point to the pysaml2 directory.
6) metadata must point to your metadata file.
7) key_file and cert_file must be initiated.

8) Rename the file server_conf.example to server_conf.py.
9) PORT must match with the settings for BASE in conf.py.
10) HTTPS should be True if you want to run the server as HTTPS, otherwise False.
  If you use HTTPS you need to do 12-14
11) POLICY contains the policies for the entity categories. View pysaml2 for more information.
12) SERVER_CERT contains the path the certificate
13) SERVER_KEY contains the path for the private key
14) CERT_CHAIN is the certificate chain that the HTTP server can use to
  verify server certificates. If it's empty (=None) no server certificate
  verification will be made.

15) Modify build.json so it reflects the combinations of entity categories
  you want to test
16) Build the SP configuration to cover all variants using build_conf.py
17) Build the metadata for all the SPs using build_metadata.py, you may
    want to change the name format.
18) Export your SPs metadata to you federation and you're ready to go

verify_entcat's People

Contributors

dv10den avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.