Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `lua-resty-session` will be documented in this file.

## [4.1.3] - 2025-07-29
### Fixed
- fix(utils): disable the SP800-132 compliance checks (on FIPS mode, but doesn't violate FIPS)


## [4.1.2] - 2025-06-11
### Fixed
- fix(sesssion): revert caching hmac instance (fix #194, #196)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,7 @@ The `PBKDF2` settings:
- password: `<key>`
- salt: `"encryption:<sid>"`
- iterations: `<1000|10000|100000|1000000>`
- pkcs5: `1` (FIPS compliant in our use case, but is needed to disable `SP800-132` based verifications, such as iteration count, see: https://docs.openssl.org/master/man7/provider-kdf/#kdf-parameters)

Iteration counts are based on `remember_safety` setting (`"Low"`, `"Medium"`, `"High"`, `"Very High"`),
if `remember_safety` is set to `"None"`, we will use the HDKF as above.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h2>Modules</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.dshm.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.file.html
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.file.thread.html
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.file.utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.html
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.memcached.html
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.mysql.html
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.postgres.html
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.redis.cluster.html
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.redis.common.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.redis.html
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.redis.sentinel.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.shm.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.session.utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2025-06-10 17:17:38 </i>
<i style="float:right;">Last updated 2025-07-29 12:02:00 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/session.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2294,7 +2294,7 @@ end


local session = {
_VERSION = "4.1.2",
_VERSION = "4.1.3",
metatable = metatable,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package = "lua-resty-session"
version = "4.1.2-1"
version = "4.1.3-1"
source = {
url = "git+https://github.com/bungle/lua-resty-session.git",
tag = "v4.1.2",
tag = "v4.1.3",
}
description = {
summary = "Session Library for OpenResty - Flexible and Secure",
Expand Down