leafo / pgmoon

A pure Lua Postgres driver for use in OpenResty & more
MIT License
390 stars 93 forks source link

pgmoon.crypto better support for resty.openssl / resty.string libraries #117

Closed bungle closed 2 years ago

bungle commented 2 years ago

Summary

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).

bungle commented 2 years ago

Hi @leafo, if you have time, could you give some eye to this? I can make changes as requested.

leafo commented 2 years ago

Thanks, looks good

leafo commented 2 years ago

Sorry about the delay publishing, 1.14 is now out on luarocks and opm