-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
certificate-authority: validate identity CSRs against DB #926
certificate-authority: validate identity CSRs against DB #926
Conversation
0031d30
to
a031488
Compare
4f44f92
to
9c8efa3
Compare
if latest.GetCredential().GetDate() > toUpdate.GetCredential().GetDate() { | ||
toUpdate.Credential = latest.GetCredential() | ||
} | ||
if latest.GetCreationDate() < toUpdate.GetCreationDate() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lines 115-124 are not used according to Sonar, can't we add a test case that verifies that this works properly?
69b7fb8
to
46b7996
Compare
Is this part of our documentation? This behaviour should be documented there. |
A device or user with ill intent is unable to obtain the identity certificate that has already been signed for a different device.
46b7996
to
6cacc76
Compare
6cacc76
to
b378631
Compare
6039a03
to
b370a95
Compare
b370a95
to
1d4a97e
Compare
Kudos, SonarCloud Quality Gate passed! |
A device or user with ill intent is unable to obtain the identity certificate that has already been signed for a different device.