Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eduGAIN contacts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
eduGAIN contacts
Merge requests
!8
Master
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Master
davide.vaghetti/edugain-contacts:master
into
master
Overview
0
Commits
2
Pipelines
0
Changes
2
Merged
Davide Vaghetti
requested to merge
davide.vaghetti/edugain-contacts:master
into
master
4 months ago
Overview
0
Commits
2
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
8212b741
2 commits,
4 months ago
2 files
+
35
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
README.md
+
31
−
2
Options
@@ -10,7 +10,7 @@ Script name :`identity_federations_contacts.py`
This script consume the eduGAIN API to retrieve the details of all the eduGAIN identity
federations and parse it to create a list of contacts per each federation in CSV format. This list will be printed to stdout.
CSV Format:
Output (
CSV Format
)
:
```
FEDERATION,COUNTRIES,SECURITY CONTACT,FEDERATION CONTACT
@@ -40,7 +40,7 @@ Script: `entity_details.py`
This script will print out some details about a single entity or a list of entities
passed as a list of entityIDs.
CSV Format:
Output (
CSV Format
)
:
```
entityID,FederationName,RegistrationAuthority,OrganizationName,TechnicalContact,SupportContact,AdministrativeContact
@@ -73,4 +73,33 @@ Examples
./entity_details.py -e idp_list -f edugain-v2.xml
```
## Entities Search
Script:
`entity_search.py`
This script will search entities in a metadata aggregate by their certificates' SHA256 fingerprint
and it will output the entityID(s) in case of matches.
```
usage: entity_search.py [-h] [-s S] [-f F] [-u U]
Search for an entity in a metadata aggregate (default to eduGAIN metadata).
options:
-h, --help show this help message and exit
-s S search entity by the sha256 hash S
-f F load metadata from file F
-u U download metadata from url U (default to https://mds.edugain.org/edugain-v2.xml)
Output (String): `entityID`
Examples
- Search an entity by the SHA256 hash of its certificate in the eduGAIN metadata:
./entity_search.py -s SHA256HASH_STRING
- Search an entity by the SHA256 hash of its certificate using local metadata file:
./entity_details.py -s SHA256HASH_STRING -f edugain-v2.xml
```
Loading