Skip to content
Permalink
Browse files

chore(*) move openssl library into seperate repo

  • Loading branch information...
fffonion committed Sep 25, 2019
1 parent fee21a7 commit d97737e5a3cb6df99688fc3cfd5a115005fb42c8
Showing with 51 additions and 2,057 deletions.
  1. +3 −1 .travis.yml
  2. +1 −0 README.md
  3. +1 −1 dist.ini
  4. +1 −1 lib/resty/acme/autossl.lua
  5. +2 −2 lib/resty/acme/client.lua
  6. +0 −5 lib/resty/acme/crypto/README.md
  7. +0 −27 lib/resty/acme/crypto/openssl.lua
  8. +0 −42 lib/resty/acme/crypto/openssl/asn1.lua
  9. +0 −20 lib/resty/acme/crypto/openssl/bio.lua
  10. +0 −74 lib/resty/acme/crypto/openssl/bn.lua
  11. +0 −61 lib/resty/acme/crypto/openssl/digest.lua
  12. +0 −40 lib/resty/acme/crypto/openssl/ec.lua
  13. +0 −89 lib/resty/acme/crypto/openssl/evp.lua
  14. +0 −16 lib/resty/acme/crypto/openssl/objects.lua
  15. +0 −53 lib/resty/acme/crypto/openssl/ossl_typ.lua
  16. +0 −27 lib/resty/acme/crypto/openssl/pem.lua
  17. +0 −328 lib/resty/acme/crypto/openssl/pkey.lua
  18. +0 −56 lib/resty/acme/crypto/openssl/rsa.lua
  19. +0 −78 lib/resty/acme/crypto/openssl/stack.lua
  20. +0 −45 lib/resty/acme/crypto/openssl/util.lua
  21. +0 −25 lib/resty/acme/crypto/openssl/version.lua
  22. +0 −114 lib/resty/acme/crypto/openssl/x509/altname.lua
  23. +0 −154 lib/resty/acme/crypto/openssl/x509/csr.lua
  24. +0 −152 lib/resty/acme/crypto/openssl/x509/init.lua
  25. +0 −59 lib/resty/acme/crypto/openssl/x509/name.lua
  26. +0 −51 lib/resty/acme/crypto/openssl/x509v3.lua
  27. +33 −0 lib/resty/acme/openssl.lua
  28. +2 −2 lib/resty/acme/util.lua
  29. +0 −56 lua-resty-acme-0.1.1-0.rockspec
  30. +0 −64 t/crypto/openssl/bn.t
  31. +0 −91 t/crypto/openssl/digest.t
  32. +0 −247 t/crypto/openssl/pkey.t
  33. +0 −68 t/crypto/openssl/x509.t
  34. +1 −1 t/e2e.t
  35. +3 −3 t/{crypto → }/openssl.t
  36. +4 −4 t/util.t
@@ -50,7 +50,9 @@ install:
- git clone https://github.com/openresty/lua-resty-lrucache.git ../lua-resty-lrucache
- git clone -b v0.15 https://github.com/ledgetech/lua-resty-http ../lua-resty-http
- git clone -b 1.0.0 https://github.com/fffonion/lua-resty-worker-events ../lua-resty-worker-events
- cp -r ../lua-resty-lrucache/lib/* ../lua-resty-http/lib/* ../lua-resty-worker-events/lib/* ../lib/
- git clone https://github.com/fffonion/lua-resty-openssl ../lua-resty-openssl
- cp -r ../lua-resty-lrucache/lib/* ../lua-resty-http/lib/* ../lua-resty-worker-events/lib/* ../lua-resty-openssl/lib/* ../lib/
- find ../lib
# luajit
- git clone -b v2.1-agentzh https://github.com/openresty/luajit2.git
- pushd luajit2/
@@ -315,6 +315,7 @@ See Also
* [Automatic Certificate Management Environment (ACME)](https://tools.ietf.org/html/rfc8555)
* [haproxytech/haproxy-lua-acme](https://github.com/haproxytech/haproxy-lua-acme) The ACME Lua implementation used in HAProxy.
* [GUI/lua-resty-auto-ssl](https://github.com/GUI/lua-resty-auto-ssl)
* [lua-resty-openssl](https://github.com/fffonion/lua-resty-openssl)
* [Let's Encrypt API rate limits](https://letsencrypt.org/docs/rate-limits/)

[Back to TOC](#table-of-contents)
@@ -7,5 +7,5 @@ lib_dir = lib
doc_dir = lib
repo_link = https://github.com/fffonion/lua-resty-acme
main_module = lib/resty/acme/client.lua
requires = luajit, openresty/lua-resty-lrucache >= 0.08, pintsized/lua-resty-http >= 0.12, fffonion/lua-resty-worker-events >= 0.3.3
requires = luajit, openresty/lua-resty-lrucache >= 0.08, pintsized/lua-resty-http >= 0.12, fffonion/lua-resty-worker-events >= 0.3.3, fffonion/lua-resty-openssl >= 0.1.0
exclude_files=*.rock, *.rockspec
@@ -1,7 +1,7 @@
local lrucache = require "resty.lrucache"
local acme = require "resty.acme.client"
local util = require "resty.acme.util"
local openssl = require("resty.acme.crypto.openssl")
local openssl = require("resty.acme.openssl")
local json = require "cjson"
local ssl = require "ngx.ssl"

@@ -1,7 +1,7 @@
local http = require("resty.http")
local json = require("cjson")
local util = require("resty.acme.util")
local openssl = require("resty.acme.crypto.openssl")
local openssl = require("resty.acme.openssl")

local encode_base64url = util.encode_base64url

@@ -11,7 +11,7 @@ local ngx_INFO = ngx.INFO
local ngx_DEBUG = ngx.DEBUG

local _M = {
_VERSION = '0.1.1'
_VERSION = '0.1.2'
}
local mt = {__index = _M}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit d97737e

Please sign in to comment.
You can’t perform that action at this time.