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

TKSS-681: SM2E key exchange should not call SM2PublicKey directly #682

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

johnshajiang
Copy link
Collaborator

Generally, the classes in one provider should not invoke the classes in another provider.
So, SM2EServerKeyExchange and SM2ClientKeyExchange should not create SM2PublicKey instances directly.
Instead, they should use SM2 key factory to generate the public key.

This PR will resolves #681.

@johnshajiang johnshajiang added the bug Something isn't working label Feb 18, 2024
@johnshajiang johnshajiang self-assigned this Feb 18, 2024
@johnshajiang johnshajiang merged commit 76c593a into Tencent:master Feb 18, 2024
9 checks passed
@johnshajiang johnshajiang deleted the TKSS-681 branch February 18, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SM2E key exchange should not call SM2PublicKey directly
1 participant