lua-nginx-module
lua-nginx-module copied to clipboard
Add suport for deriving key from tls master secret
I hereby granted the copyright of the changes in this pull request to the authors of this lua-nginx-module project.
TLS has the support to derive key material from the TLS master secret that can be used on the application level. This is described in RFC8446 section 7-5. OpenSSL offers support for this here.
We would like to use these functions from lua. This PR adds the required functions for that.