Skip to content

Commit

Permalink
feat(domain): changed IPS to IPS-PILGRIMAGE (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
tence authored May 17, 2024
1 parent b98fefe commit a9d2494
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Supported Domains:
- SHC
- CRED
- RACSEL-DDVC
- IPS
- IPS-PILGRIMAGE

## Adding a new trust domain

Expand Down
11 changes: 10 additions & 1 deletion scripts/certgen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@ cd scripts/certgen
./gen_all_certs.sh
```

Windows plattform you may use gen_all_certs.ps1 instead. Please note that you need to have OpenSSL installed and added to your PATH environment variable.
## Execution On Windows
Windows plattform you can use [gen_all_certs.ps1](gen_all_certs.ps1) instead.
Please note that you need to have OpenSSL installed and added to your PATH environment variable.
Also you may need allow the execution by setting an execution policy

```
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
```

# Prepare Folders

Note: keep your private keys safe and secure. Do not share them with anyone.

Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/folder_mandatory_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_folder_mandatory_files(country_folder):

# Testing folder structure
for domain in ofiles.keys():
assert domain in ('DCC','DDCC','DIVOC','ICAO','SHC','CRED','RACSEL-DDVC','IPS'), 'Invalid domain: '+domain
assert domain in ('DCC','DDCC','DIVOC','ICAO','SHC','CRED','RACSEL-DDVC','IPS-PILGRIMAGE'), 'Invalid domain: '+domain

# Check if certificates are present in the current domain
if ('TLS', 'TLS.pem') in ofiles[domain]:
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/groups_domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ def test_valid_domain(cert):

domain = cert.pathinfo.get('domain')
assert domain, 'Certificate at incorrect location'
assert domain.upper() in ('DCC','DDCC','DIVOC','ICAO','SHC','CRED','RACSEL-DDVC','IPS'), 'Invalid domain: ' + domain
assert domain.upper() in ('DCC','DDCC','DIVOC','ICAO','SHC','CRED','RACSEL-DDVC','IPS-PILGRIMAGE'), 'Invalid domain: ' + domain

0 comments on commit a9d2494

Please sign in to comment.