Skip to content

Commit

Permalink
Merge pull request #14 from WorldHealthOrganization/feature/ips-domain
Browse files Browse the repository at this point in the history
feat(domains): added IPS as allowed domain
  • Loading branch information
ascheibal authored Feb 6, 2024
2 parents 06e0c57 + b3db35f commit 565a2a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,16 @@ gpg -k

For further domains, add a new folder under onboarding and copy the DCC folder structure.

Available Domains:
Available Domains:

- DCC
- DDCC
- DIVOC
- ICAO
- SHC
- CRED
- RACSEL-DDVC
- IPS

# Trusted Issuer

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 @@ -9,7 +9,7 @@ def test_folder_mandatory_files(country_folder):

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

assert ('TLS', 'TLS.pem') in ofiles[domain], f'TLS cert is missing in domain {domain}'
assert ('TLS', 'CA.pem') in ofiles[domain], f'TLS/CA cert is missing in domain {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'), 'Invalid domain: ' + domain
assert domain.upper() in ('DCC','DDCC','DIVOC','ICAO','SHC','CRED','RACSEL-DDVC','IPS'), 'Invalid domain: ' + domain

0 comments on commit 565a2a0

Please sign in to comment.