Comments (2)
2021/11/22 04:53:31 [warn] 29930#29930: *2 [lua] _G write guard:12: __newindex(): writing a global Lua variable ('size') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables
stack traceback:
/usr/local/openresty/lualib/resty/des.lua:106: in function 'cipher'
/usr/local/openresty/lualib/resty/des.lua:127: in function 'new'
lua_func_test.lua:10: in function 'file_gen'
init_worker_by_lua:45: in function <init_worker_by_lua:43>
[C]: in function 'xpcall'
init_worker_by_lua:52: in function <init_worker_by_lua:50>, context: ngx.timer
ERROR: /usr/local/openresty/lualib/resty/des.lua:173: /usr/local/openresty/luajit/lib/libluajit-5.1.so.2: undefined symbol: EVP_CIPHER_CTX_cleanup
stack traceback:
/usr/local/openresty/lualib/resty/des.lua:173: in function 'new'
lua_func_test.lua:10: in function 'file_gen'
init_worker_by_lua:45: in function <init_worker_by_lua:43>
[C]: in function 'xpcall'
init_worker_by_lua:52: in function <init_worker_by_lua:50>
from lua-resty-des.
2021/11/22 04:53:31 [warn] 29930#29930: *2 [lua] _G write guard:12: __newindex(): writing a global Lua variable ('size') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables stack traceback: /usr/local/openresty/lualib/resty/des.lua:106: in function 'cipher' /usr/local/openresty/lualib/resty/des.lua:127: in function 'new' lua_func_test.lua:10: in function 'file_gen' init_worker_by_lua:45: in function <init_worker_by_lua:43> [C]: in function 'xpcall' init_worker_by_lua:52: in function <init_worker_by_lua:50>, context: ngx.timer ERROR: /usr/local/openresty/lualib/resty/des.lua:173: /usr/local/openresty/luajit/lib/libluajit-5.1.so.2: undefined symbol: EVP_CIPHER_CTX_cleanup stack traceback: /usr/local/openresty/lualib/resty/des.lua:173: in function 'new' lua_func_test.lua:10: in function 'file_gen' init_worker_by_lua:45: in function <init_worker_by_lua:43> [C]: in function 'xpcall' init_worker_by_lua:52: in function <init_worker_by_lua:50>
我也遇到的同样的问题,我换了个openssl 1.0.x 的版本是可以的,但是1.1.x版本就不行了,我尝试着将"des.lua" 中所有的 EVP_CIPHER_CTX_cleanup
修改为 EVP_CIPHER_CTX_reset
之后,就可以成功执行了
from lua-resty-des.
Related Issues (2)
- des不加密 解密返回nil HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua-resty-des.