Skip to content

add caching for public key#14443

Merged
alex merged 1 commit intopyca:mainfrom
abbra:perf/public-key
Mar 8, 2026
Merged

add caching for public key#14443
alex merged 1 commit intopyca:mainfrom
abbra:perf/public-key

Conversation

@abbra
Copy link
Contributor

@abbra abbra commented Mar 8, 2026

Store the public key object in a PyOnceLock so that repeated accesses avoid re-parsing the SubjectPublicKeyInfo DER bytes.

Store the public key object in a PyOnceLock so that repeated accesses
avoid re-parsing the SubjectPublicKeyInfo DER bytes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
@abbra
Copy link
Contributor Author

abbra commented Mar 8, 2026

Second part of #14441

@alex alex enabled auto-merge (squash) March 8, 2026 13:33
@alex alex merged commit 29cd7a8 into pyca:main Mar 8, 2026
67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants