Closed sahilnxp closed 3 years ago
Hey @sahilnxp 👋!
Good question! Actually what you ran are only the Parsec unit tests. There is indeed a large base of tests that we call the end-to-end tests that are available in the e2e_tests
folder. Those are crypto and key management tests that are executed against a running Parsec version.
To execute them, have a Parsec service running and then execute:
cargo test --features pkcs11-provider --manifest-path ./e2e_tests/Cargo.toml normal_tests
Let us know if that does not work, or if you need any help! Hopefully they all pass 🙏
You can find more information about testing in the book. We have a list of all of our tests in the subpage.
Hi,
I have just integrated the Parsec PKCS#11 Provider with NXP PKCS#11 Library and ran already available tests in the PARSEC only and all of them gets passed. From below dump it looks like there are only 15 tests done, and there is no cryptography tests like key generation/encryption/decryption tests. I am curious to know if currently only these tests are supported with PKCS#11 or we can do more testing with some other commands ?
Tested this on LS1046 board.
Thanks in advance. Sahil