Skip to content

Instantly share code, notes, and snippets.

@lelesrc
Created July 4, 2020 12:08
Show Gist options
  • Save lelesrc/dc26c6d19c9d874c2035c331cc32b4a3 to your computer and use it in GitHub Desktop.
Save lelesrc/dc26c6d19c9d874c2035c331cc32b4a3 to your computer and use it in GitHub Desktop.
luajwtjitsi using luaossl
package = "luajwtjitsi"
version = "1.3-7"
source = {
-- Use fork from ASolomatin which uses luaossl
url = "git://github.com/ASolomatin/luajwt/",
tag = "replace_luacrypto"
}
description = {
summary = "JSON Web Tokens for Lua",
detailed = "Very fast and compatible with pyjwt, php-jwt, ruby-jwt, node-jwt-simple and others",
homepage = "https://github.com/jitsi/luajwt/",
license = "MIT <http://opensource.org/licenses/MIT>"
}
dependencies = {
-- Prosody uses lua 5.2
"lua >= 5.2",
"luaossl >= 20190731-0",
-- Use exact version 2.1, see https://github.com/mpx/lua-cjson/issues/56
"lua-cjson = 2.1.0",
"lbase64 >= 20120807-3"
}
build = {
type = "builtin",
modules = {
luajwtjitsi = "luajwtjitsi.lua"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment