Skip to content

Commit ec6d47e

Browse files
committed
deps: update lua-resty-openssl to v1.6.2
1 parent 932fdc9 commit ec6d47e

File tree

7 files changed

+20
-8
lines changed

7 files changed

+20
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- [DOCS] Add multi-language support to the documentation, including French
66
- [DEPS] Update lua-resty-session version to v4.1.4
7+
- [DEPS] Update lua-resty-openssl version to v1.6.2
78

89
## v1.6.5-rc1 - 2025/08/30
910

src/deps/deps.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@
125125
},
126126
{
127127
"id": "lua-resty-openssl",
128-
"name": "lua-resty-openssl v1.6.1",
128+
"name": "lua-resty-openssl v1.6.2",
129129
"url": "https://github.com/fffonion/lua-resty-openssl.git",
130-
"commit": "e0f52762fef5c31532e60c7d58c7a6d9ae5a6905",
130+
"commit": "61512f0aea40559997051009fccc2c4d95192607",
131131
"post_install": "rm -r src/deps/src/lua-resty-openssl/t"
132132
},
133133
{

src/deps/src/lua-resty-openssl/.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ jobs:
294294
run: |
295295
git clone https://github.com/spacewander/lua-resty-rsa ../lua-resty-rsa
296296
297-
wget https://luarocks.org/releases/luarocks-3.9.2.tar.gz
297+
wget https://luarocks.org/releases/luarocks-3.12.2.tar.gz
298298
tar zxf luarocks-*.tar.gz
299299
pushd luarocks-*/
300300
./configure --with-lua=$LUAJIT_PREFIX \

src/deps/src/lua-resty-openssl/CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
## [Unreleased]
33

44

5+
<a name="1.6.2"></a>
6+
## [1.6.2] - 2025-09-02
7+
### bug fixes
8+
- **ci:** bump luarocks [e2f97c2](https://github.com/fffonion/lua-resty-openssl/commit/e2f97c223e465fee38c97d3c1fd5ddc2e17f8341)
9+
- **jwk:** fix endianess when loading JWK ECX keys [5a2aad1](https://github.com/fffonion/lua-resty-openssl/commit/5a2aad134262bd38b036e0e1494c4b7e0fb85df0)
10+
11+
512
<a name="1.6.1"></a>
613
## [1.6.1] - 2025-04-16
714
### bug fixes
@@ -645,7 +652,8 @@
645652
- **x509:** export pubkey [ede4f81](https://github.com/fffonion/lua-resty-openssl/commit/ede4f817cb0fe092ad6f9ab5d6ecdcde864a9fd8)
646653

647654

648-
[Unreleased]: https://github.com/fffonion/lua-resty-openssl/compare/1.6.1...HEAD
655+
[Unreleased]: https://github.com/fffonion/lua-resty-openssl/compare/1.6.2...HEAD
656+
[1.6.2]: https://github.com/fffonion/lua-resty-openssl/compare/1.6.1...1.6.2
649657
[1.6.1]: https://github.com/fffonion/lua-resty-openssl/compare/1.6.0...1.6.1
650658
[1.6.0]: https://github.com/fffonion/lua-resty-openssl/compare/1.5.2...1.6.0
651659
[1.5.2]: https://github.com/fffonion/lua-resty-openssl/compare/1.5.1...1.5.2

src/deps/src/lua-resty-openssl/lib/resty/openssl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ try_require_modules()
2424

2525

2626
local _M = {
27-
_VERSION = '1.6.1',
27+
_VERSION = '1.6.2',
2828
}
2929

3030
function _M.load_modules()

src/deps/src/lua-resty-openssl/lib/resty/openssl/auxiliary/jwk.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,10 @@ function _M.load_jwk_ex(txt, ptyp, properties)
397397
if not v then
398398
return nil, "jwk:load_jwk: cannot decode parameter \"" .. kfrom .. "\" from base64 " .. tbl[kfrom]
399399
end
400-
v = v:reverse() -- endian switch
400+
-- reverse endian expect for OKP keys
401+
if kty ~= "OKP" or (kfrom ~= "x" and kfrom ~= "d") then
402+
v = v:reverse()
403+
end
401404
end
402405

403406
params_t[kto] = v

src/deps/src/lua-resty-openssl/lua-resty-openssl-1.6.1-1.rockspec renamed to src/deps/src/lua-resty-openssl/lua-resty-openssl-1.6.2-1.rockspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package = "lua-resty-openssl"
2-
version = "1.6.1-1"
2+
version = "1.6.2-1"
33
source = {
44
url = "git+https://github.com/fffonion/lua-resty-openssl.git",
5-
tag = "1.6.1"
5+
tag = "1.6.2"
66
}
77
description = {
88
detailed = "FFI-based OpenSSL binding for LuaJIT.",

0 commit comments

Comments
 (0)