Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test autofirma-truststore #110

Open
4 tasks done
nilp0inter opened this issue Feb 1, 2025 · 1 comment · May be fixed by #123
Open
4 tasks done

Test autofirma-truststore #110

nilp0inter opened this issue Feb 1, 2025 · 1 comment · May be fixed by #123
Assignees
Labels
autofirma enhancement New feature or request tests

Comments

@nilp0inter
Copy link
Collaborator

nilp0inter commented Feb 1, 2025

Add some checks to test de validity of the truststore.

  • The trusted provider list is not empty.
  • All trusted providers have a CA file.
  • All CA files belong to a trusted provider.
  • All CA files have at least one entry.
@nilp0inter nilp0inter added autofirma enhancement New feature or request help wanted Extra attention is needed tests labels Feb 1, 2025
@nilp0inter nilp0inter self-assigned this Feb 1, 2025
@nilp0inter
Copy link
Collaborator Author

I reduced the test set to two tests: 1) check that the provider list and the list of ca files are the same. 2) check that the provider list is not empty.
Additionally I added tests to check that the list of fetch links is the same as the list of providers and that all fetch link entries have an url field.

@nilp0inter nilp0inter removed the help wanted Extra attention is needed label Feb 5, 2025
@nilp0inter nilp0inter linked a pull request Feb 9, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autofirma enhancement New feature or request tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant