10000 GitHub - clarin-eric/pyFF_config: Configuration for PyFF, a utility used for SPF SAML metadata processing.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Configuration for PyFF, a utility used for SPF SAML metadata processing.

Notifications You must be signed in to change notification settings

clarin-eric/pyFF_config

Repository files navigation

Scope

This repository holds the configuration for the CLARIN SPF SAML metadata pipelines. It provides definitions for:

Beware!!! Changes to the master branch of this repository should be done only to modify the SAML production feeds.

These files are fetched before each run of the SPF metadata pipelines, so changes to the master branch will be automatically reflected in the production SAML feeds.

Usage

The files in this project are designed to be used by the CLARIN SPF control.sh script, which can be sourced and used to run the various job_X.fd files.

  • job_a.fd - publish preproduction SAML metadata about the SPF’s SPs

    This job selects all Entity Descriptors from the CLARIN SPs Metadata File and publishes them as the SPF pre-production SPs feed. Normally no changes are needed to this file but it can be useful e.g. to exclude certain SPs from the pre-production feed.

  • job_b.fd - publish production SAML metadata about the SPF’s SPs

    Selects the specified Entity Descriptors ('entityID=') from the CLARIN SPs Metadata File and publishes them as the SPF production SPs feed. This file is used to mark the SPs as part of the production feed. To bring a new SP into production, edit this file and insert the new "or @entityID='https://example.tdl/saml/metadata'" element into the 'select' section.

  • job_c.fd - publish production SAML metadata about each identity federation’s IdPs

    Aggregates all IdPs' metadata from the eduGAIN and the various identity federations and publishes it as the CLARIN SPF IdP metadata feed. Edit this file to blacklist undesired specific IdPs. When adding a new identity federation, this file must also e edited in conjunction with the control.sh script.

  • job_e.fd - publish production SAML metadata about CLARIN IdP (unity)

    Publishes the metadata for the CLARIN Central IdP. With the current setup, this file doesn’t need to be changed.

  • about_identity_federations_md.xrd - public certificates used by various identity federations

    This file is used to verify the metadata batches downloaded from the various identity federations. Edit this file only when the certificate from an identity federation changes.

  • input/idp-metadata.xml - CLARIN central IdP metadata file.

    The metadata file of the CLARIN central IdP.

Currently the control.sh script which pushes these definitions into production, is executed every hour between 7:00 and 19:00. See [cronjob 1] of the CLARIN SPF pipelines.

Requirements

Suggested requirements

To run

  • Clone this repository (once).

  • cd to its root directory within a POSIX-compatible shell (e.g. first issue /bin/sh).

  • Download and source control.sh script

    . control.sh
  • Call one of the sourced shell functions. E.g., issue pyff_fetch_md ;. The relevant functions are discussed under the following headings. They should be run in this order: 'pyff_fetch_md' && 'pyff_run' '…​' && 'pyff_sign' && 'pyff_verify_signatures' && 'pyff_publish' && 'pyff_validate'.

pyff_fetch_md

To fetch SAML metadata batches from identity federations that are connected to the CLARIN SPF to output/.

pyff_run job_name

To run a certain PyFF job declaration. job_name can be job_a, job_b, job_c or job_d.

PyFF jobs process (aggregate/split/filter) SAML metadata. Please study the job declarations to learn about them and their interdependencies. Running them in alphabetical order should be safe.

pyff_sign

To sign the SPF SAML metadata batches. Dependent on XmlSecTool.

pyff_verify_signatures

To sign the SPF SAML metadata batches. Dependent on XmlSecTool.

pyff_publish

To publish the final SAML metadata batches, as on infra.clarin.eu/aai.

pyff_validate

To run SAML_metadata_QA_validator SAML met 5264 adata validation suite on the relevant final SAML metadata batches.

Dependent on SAML_metadata_QA_validator.

About

Configuration for PyFF, a utility used for SPF SAML metadata processing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

0