-
Notifications
You must be signed in to change notification settings - Fork 0
no validation against CAP root CA ? #4
Copy link
Copy link
Open
Description
According to README.md self-signed certificates should not pass validation:
https://github.com/wmo-im/capvalidator/blob/main/README.md?plain=1#L14-L19
However, when testing the signature check I noticed that my test-XML did pass validation despite using a locally generated certificate.
I've checked the code and I note that the signature checks against the embedded certificate and I do not see any reference to a root CA:
https://github.com/wmo-im/capvalidator/blob/main/src/capvalidator/validate.py#L55-L71
What is the CAP root CA and/or how does the signature ensure that the certificate was not self-signed ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels