fffonion / fffonion/lua-resty-openssl

API change in OpenSSL 3.x

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
170
Forks
52
PR merge metrics
No merged PRs in 30d

Description

https://www.openssl.org/docs/manmaster/man7/migration_guide.html

- [x] Library context (for non-global provider)

- [ ] EVP_PKEY_get_x_params to replace TYPE_get0_PRARM, EVP_PKEY_fromdata to replace TYPE_set0_x (pkey:get_parameters/pkey:set_parameters)
- [ ] RSA_get0_x, RSA_set0_x
- [ ] DH_get0_x
- [ ] EC_KEY_get0_x, EC_KEY_set0_x
- [x] EVP_PKEY_new to replace TYPE_new (load_jwk)
- [x] RSA_new
- [x] EC_KEY_new
- [x] DH_new_by_id
- [x] EVP_PKEY_from_data to replace EVP_PKEY_assign (load_jwk)
- [x] BN_check_prime to replace BN_is_prime_ex
- [x] EC_POINT_bn2point, EC_POINT_point2bn were not particularly useful, since EC point serialization formats are not individual big-endian integers. (load_jwk)
- [ ] EC_POINT_get_affine_coordinates to replace EC_POINT_get_affine_coordinates_x (dump_jwk)
- [x] ERR_get_error_line, ERR_peek_last_error_line?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.