Skip to content
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

kong require string issue #169

Closed
phisco opened this issue May 4, 2019 · 1 comment
Closed

kong require string issue #169

phisco opened this issue May 4, 2019 · 1 comment
Labels

Comments

@phisco
Copy link

phisco commented May 4, 2019

I'm trying to develop a Kong plugin and I need to parse some ASN.1 x509 certificates, however Kong internally uses luaossl package, which as said in #72 uses the same require string, resulting in my plugin loading luaossl instead of this library and crashing as soon as it executes a require'openssl'.x509.read("...cert...").
I did not find any clear solution to be able to load the right library, I understand perfectly none of the two projects wants to rename their projects, but I'd like to know if you have any suggestion to solve this issue.

@phisco
Copy link
Author

phisco commented May 13, 2019

For future reference https://github.com/phisco/lua-openssl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants