EVerest / libevse-security

Apache License 2.0
7 stars 5 forks source link

When veryfing a certificate the intermediary subcas #71

Closed AssemblyJohn closed 5 months ago

AssemblyJohn commented 5 months ago

Describe your changes

There was an issue during certificate verification, that presumed that intermediary certificates presented during either a leaf update or on a car certificate validation were trusted, which is not the case. The function 'x509_verify_certificate_chain' has been updated to reflect the correct functionality.

Issue ticket number and link

Checklist before requesting a review

AssemblyJohn commented 5 months ago

Comments were resolved, please re-review.

AssemblyJohn commented 5 months ago

If everything was resolved, please approve.