Skip to content

fix(pkey): use EVP_PKEY_fromdata to load JWK #206

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

Merged
merged 3 commits into from
Apr 13, 2025
Merged

Conversation

fffonion
Copy link
Owner

This fixes the key not able to be called get/set_params later.

Also feat(pkey) add pkey:get_size and allow only return NID of key type

@fffonion fffonion requested a review from Copilot April 13, 2025 03:08
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 9 changed files in this pull request and generated 2 comments.

Files not reviewed (8)
  • lib/resty/openssl/auxiliary/jwk.lua: Language not supported
  • lib/resty/openssl/include/evp.lua: Language not supported
  • lib/resty/openssl/include/evp/pkey.lua: Language not supported
  • lib/resty/openssl/param.lua: Language not supported
  • lib/resty/openssl/pkey.lua: Language not supported
  • lib/resty/openssl/version.lua: Language not supported
  • t/openssl/aux/jwk.t: Language not supported
  • t/openssl/pkey.t: Language not supported

@fffonion fffonion force-pushed the evp-pkey-fromdata branch 4 times, most recently from c726bac to 283184b Compare April 13, 2025 07:28
@fffonion fffonion force-pushed the evp-pkey-fromdata branch from 283184b to 8dead74 Compare April 13, 2025 07:31
@fffonion fffonion merged commit 39ab2d6 into master Apr 13, 2025
10 checks passed
@fffonion fffonion deleted the evp-pkey-fromdata branch April 13, 2025 08:55
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.

1 participant