Skip to content

fed239/eidas-tsp-certificates-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eIDAS TSP Certificates extractor

This repository contains the script for extracting CA certificates from XML files available through eIDAS Trusted List.

The script uses the API of the eIDAS Trusted List, which is described at https://eidas.ec.europa.eu/efda/swagger-ui/index.html.

The code is written mainly using the ChatGPT language model from OpenAI.

Prerequisites

  • Python 3.6 or higher
  • lxml library
  • requests library

Usage

python eidas_tl.py [-h] {QWAC,QSealC} country [--target_folder TARGET_FOLDER]

Positional Arguments

  • {QWAC,QSealC}: Type of service to retrieve certificate for. QWAC - Qualified certificate for website authentication; QSealC - Qualified certificate for electronic seal.
  • country: ISO 3166-1 alpha-2 country code (only EEA countries are supported).

Optional Arguments

  • --target_folder: Target folder to save certificate files in.

Example

To extract QWAC CA certificates for QTSPs based in Austria and save them in the certs folder, run:

python eidas_tl.py QWAC AT --target_folder certs

About

Script extracting CA certificates from eIDAS Trusted List

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages