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

Investigate and generate the test certs dynamically instead of storing them in the repository #249

Open
prkalle opened this issue May 2, 2023 · 0 comments
Assignees
Labels
kind/bug PR/issue related to a bug needs-triage

Comments

@prkalle
Copy link
Contributor

prkalle commented May 2, 2023

Bug description
The certs used for testing may cause security vulnerability alerts though they are only used for testing. To avoid these alerts, we should investigate and implement the changes to generate the test certs (for both cosign keys and also localhost CA cert) locally and use them for testing

One possible solution would be :
While user chooses to start the local test central repository

  • Generate the the local test central repository endpoint CA cert could be generate dynamically with make target
  • Generate the co-sign key pair dynamically and just sign the only the repository that is being used instead of signing them before hand and storing in the registry content

Expected behavior
Certs used for testing should be generated locally instead of storing them in github.

Steps to reproduce the bug / Relevant debug output

Output of tanzu version

Environment where the bug was observed (cloud, OS, etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug PR/issue related to a bug needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants
@prkalle and others