Skip to content

Conversation

@mrts
Copy link
Member

@mrts mrts commented Mar 4, 2025

Make SubjectCertificateNotRevokedValidator thread-safe by creating a new DigestCalculator each time SubjectCertificateNotRevokedValidator.getCertificateId() is called.

WE2-1068

Signed-off-by: Mart Somermaa mrts@users.noreply.github.com

…tCertificateNotRevokedValidator.getCertificateId() is called

WE2-1068

Signed-off-by: Mart Somermaa <mrts@users.noreply.github.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 4, 2025

@mrts mrts linked an issue Mar 4, 2025 that may be closed by this pull request
@mrts mrts changed the title Fix thread-safety by creating a new DigestCalculator each time SubjectCertificateNotRevokedValidator.getCertificateId() is called Fix SubjectCertificateNotRevokedValidator thread-safety by creating a new DigestCalculator each time SubjectCertificateNotRevokedValidator.getCertificateId() is called Mar 4, 2025
@mrts mrts changed the title Fix SubjectCertificateNotRevokedValidator thread-safety by creating a new DigestCalculator each time SubjectCertificateNotRevokedValidator.getCertificateId() is called Make SubjectCertificateNotRevokedValidator thread-safe Mar 4, 2025
@mrts mrts merged commit 38ddbc5 into main Mar 10, 2025
8 checks passed
@mrts mrts deleted the make-digestcalculator-threadsafe branch March 10, 2025 08:35
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.

SubjectCertificateNotRevokedValidator is not thread safe

3 participants