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

How to import hmac to lua script? #126

Open
yukha-dw opened this issue Jun 24, 2022 · 0 comments
Open

How to import hmac to lua script? #126

yukha-dw opened this issue Jun 24, 2022 · 0 comments

Comments

@yukha-dw
Copy link

Hello, is there any way to install and import lua modules?

I want to import hmac module inside lua script so I can create a new signature for every request, but i got this error instead

./script.lua: ./extension.lua:1: module 'hmac' not found:
        no field package.preload['hmac']
        no file './hmac.lua'
        no file '/usr/local/share/luajit-2.0.3/hmac.lua'
        no file '/usr/local/share/lua/5.1/hmac.lua'
        no file '/usr/local/share/lua/5.1/hmac/init.lua'
        no file './hmac.so'
        no file '/usr/local/lib/lua/5.1/hmac.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant