Adds random_bytes function to pgmoon.crypto compatibility layer and makes use of it in pgmoon.init
Adds x509_digest function to pgmoon.crypto compatibility layer and makes use of it in pgmoon.init
Adds resty.openssl support to hmac_sha256
Adds resty.openssl and resty.string support to digest_sha256
We don't anymore ship luaossl with Kong and this causes our users issues with scram-sha-256 authentication as reported in: https://github.com/Kong/kong/issues/8259
This PR fixes it so that it works with resty.openssl library too (the one that is shipped with Kong).
Summary
random_bytes
function topgmoon.crypto
compatibility layer and makes use of it inpgmoon.init
x509_digest
function topgmoon.crypto
compatibility layer and makes use of it inpgmoon.init
resty.openssl
support tohmac_sha256
resty.openssl
andresty.string
support todigest_sha256
We don't anymore ship
luaossl
with Kong and this causes our users issues withscram-sha-256
authentication as reported in: https://github.com/Kong/kong/issues/8259This PR fixes it so that it works with
resty.openssl
library too (the one that is shipped with Kong).