Skip to content

no validation against CAP root CA ?  #4

@maaikelimper

Description

@maaikelimper

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions