I have implemented a first version of the Nist Policy rust library, at the moment I have only implemented the policy check for if a manufacturer should be trusted.
The function takes 2 arguments an X509 Certificate (the idevid) and the path to the sqlite database which contains the current state of the information received by the registrar.
I have attached multiple databases as part of the tests which you should be able to use to test integrating with your code when you're ready @jr7g19.
I've now added the functions (and unit tests) to check if device is trusted, as well as to check if device is vulnerable (has any high or critical severity vulnerabilities)
I have implemented a first version of the Nist Policy rust library, at the moment I have only implemented the policy check for if a manufacturer should be trusted.
The function takes 2 arguments an X509 Certificate (the idevid) and the path to the sqlite database which contains the current state of the information received by the registrar.
I have attached multiple databases as part of the tests which you should be able to use to test integrating with your code when you're ready @jr7g19.