-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fix: The hmac-auth plugin support HMAC-SM3 algorithm. Resolved #11927 #11930
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
base: master
Are you sure you want to change the base?
Conversation
@fanchangjifen Can you add some tests. here please? |
What kind of example? I might not be very good at automated test cases. Could you provide an implementation of HAMC-SM3 based on Tencent Kona Crypto, similar to this one: #11929 @Revolyssup |
for java
|
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.
Please add test case and doc.
|
另外我需要通过其他语言来佐证signature的一致性,不太清楚如何下手 |
You can refer to https://apisix.apache.org/docs/apisix/internal/testing-framework/ |
Description
The current version of APISIX is built based on OpenSSL 3.x and includes the lua-resty-openssl module. On this basis, the dependency of the HMAC algorithm in the hmac-auth plugin has been modified to enable the plugin to support the HMAC-SM3 message authentication code algorithm.
Fixes #11927
Checklist