Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: The hmac-auth plugin supports HMAC authentication with the SM3 national cryptographic algorithm. #11927

Open
fanchangjifen opened this issue Jan 21, 2025 · 1 comment · May be fixed by #11930
Labels
enhancement New feature or request

Comments

@fanchangjifen
Copy link

Description

Currently, the hmac-auth plugin supports Hmac-sha1, Hmac-sha256, and Hmac-sha512 algorithms. We hope to support the Hmac-sm3 national cryptographic hash-based message authentication code algorithm.Meanwhile, openssl3.x already supports the implementation of the SM algorithm.

@dosubot dosubot bot added the enhancement New feature or request label Jan 21, 2025
fanchangjifen added a commit to fanchangjifen/apisix-private that referenced this issue Jan 21, 2025
@fanchangjifen
Copy link
Author

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

1 participant