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

Add test for CA with RSA algorithm #4521

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Conversation

edewata
Copy link
Contributor

@edewata edewata commented Aug 1, 2023

A new test has been added to install CA with a non-default RSA algorithm verify that the system certs and admin cert use the same algorithm. The test will also issue an SSL server cert and verify that the cert uses the same algorithm.

The tests for CA with ECC and RSA/PSS algorithms have also been updated to perform the same validation.

Copy link
Contributor

@ckelleyRH ckelleyRH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! There is one readability issue I just noticed with these tests which is from before your change here though. The test names are of the format Check CA signing cert etc, but it doesn't say what you are checking for - you have to read the code to figure it out. Happy to merge as it is though, up to you.

@edewata
Copy link
Contributor Author

edewata commented Aug 1, 2023

@ckelleyRH Thanks! Let me add some comments in the test.

A new test has been added to install CA with a non-default RSA
algorithm verify that the system certs and admin cert use the
same algorithm. The test will also issue an SSL server cert
and verify that the cert uses the same algorithm.

The tests for CA with ECC and RSA/PSS algorithms have also
been updated to perform the same validation.
@sonarcloud
Copy link

sonarcloud bot commented Aug 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@edewata edewata merged commit 12d3d64 into dogtagpki:master Aug 1, 2023
140 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants