Closed daurnimator closed 3 years ago
For future reference, this fixes a bad argument #2 to 'final' (string expected, got light userdata) error when you require"openssl.cipher".new("AES-128-GCM"):encrypt(key, iv):final("x") on Lua 5.4 after https://github.com/lua/lua/commit/cf23a93d820558acdb8b1f0db85fdb94e709fee2
bad argument #2 to 'final' (string expected, got light userdata)
require"openssl.cipher".new("AES-128-GCM"):encrypt(key, iv):final("x")
I observe that this is a year old and not yet in a release and is affecting users in the wild.
For future reference, this fixes a
bad argument #2 to 'final' (string expected, got light userdata)
error when yourequire"openssl.cipher".new("AES-128-GCM"):encrypt(key, iv):final("x")
on Lua 5.4 after https://github.com/lua/lua/commit/cf23a93d820558acdb8b1f0db85fdb94e709fee2I observe that this is a year old and not yet in a release and is affecting users in the wild.