parallaxsecond / parsec-openssl-provider

Parsec OpenSSL Provider
Apache License 2.0
1 stars 1 forks source link

Unit tests: Add a parsec_provider_init test with pre-generated parsec keys #30

Closed tgonzalezorlandoarm closed 5 months ago

tgonzalezorlandoarm commented 5 months ago

Use parsec-tool to generate a key out of bands

Add a parsec_provider_init test

The test checks if pre-generated keys can be accessed through the parsec client after initializing the provider.

This guarantees that:

 1) The parsec_provider_init function correctly initializes the
    parsec client.
 2) The parsec_provider_init function returns the correct pointer
    with the provider context.
 3) The parsec client is reachable through the provider context
    and is able to contact the parsec service.
 4) The pre-generated keys have been correctly stored through the
    parsec-tool
tgonzalezorlandoarm commented 5 months ago

Please check https://github.com/parallaxsecond/parsec-openssl-provider/actions/runs/8540977558

for the CI run with the newly built docker image

tgonzalezorlandoarm commented 5 months ago

https://github.com/parallaxsecond/parsec-openssl-provider/actions/runs/8541933970

tgonzalezorlandoarm commented 5 months ago

https://github.com/parallaxsecond/parsec-openssl-provider/actions/runs/8552530259