Sun, 04 Sep 2022 10:01:57 +0100 mod_http_file_share: Use correct variable name (thanks riau.sni)
Matthew Wild <mwild1@gmail.com> [Sun, 04 Sep 2022 10:01:57 +0100] rev 12726
mod_http_file_share: Use correct variable name (thanks riau.sni)
Sat, 03 Sep 2022 21:25:51 +0100 mod_saslauth: Fix incorrect variable name introduced in 27a4a7e64831
Matthew Wild <mwild1@gmail.com> [Sat, 03 Sep 2022 21:25:51 +0100] rev 12725
mod_saslauth: Fix incorrect variable name introduced in 27a4a7e64831
Sat, 03 Sep 2022 21:20:29 +0100 mod_smacks: Set session flag during successful enable
Matthew Wild <mwild1@gmail.com> [Sat, 03 Sep 2022 21:20:29 +0100] rev 12724
mod_smacks: Set session flag during successful enable
Sat, 03 Sep 2022 21:20:07 +0100 mod_smacks: Add type field to results so actions can be later distinguished
Matthew Wild <mwild1@gmail.com> [Sat, 03 Sep 2022 21:20:07 +0100] rev 12723
mod_smacks: Add type field to results so actions can be later distinguished
Sat, 03 Sep 2022 21:19:00 +0100 mod_saslauth: Only announce bind feature if no resource yet bound
Matthew Wild <mwild1@gmail.com> [Sat, 03 Sep 2022 21:19:00 +0100] rev 12722
mod_saslauth: Only announce bind feature if no resource yet bound It's now possible to bind during SASL2 negotiation.
Sat, 03 Sep 2022 21:17:38 +0100 semgrep: Catch stanza:text() (assuming it's meant to be :get_text())
Matthew Wild <mwild1@gmail.com> [Sat, 03 Sep 2022 21:17:38 +0100] rev 12721
semgrep: Catch stanza:text() (assuming it's meant to be :get_text())
Mon, 11 Jul 2022 18:48:57 +0200 util.paseto: Do strict type check in pae() function
Kim Alvefur <zash@zash.se> [Mon, 11 Jul 2022 18:48:57 +0200] rev 12720
util.paseto: Do strict type check in pae() function Fixes a test failure on Lua 5.4 where ipairs("") does not produce an error.
Mon, 11 Jul 2022 17:11:38 +0200 util.crypto: Use Lua 5.2 API for predictable buffer size
Kim Alvefur <zash@zash.se> [Mon, 11 Jul 2022 17:11:38 +0200] rev 12719
util.crypto: Use Lua 5.2 API for predictable buffer size In Lua 5.3 LUAL_BUFFERSIZE is a macro computed from sizeof and is thus not known at pre-processing time, so this does not work. Since Lua 5.1 is no longer supported, we can use luaL_prepbuffsize() which is available from Lua 5.2
Mon, 11 Jul 2022 17:01:55 +0200 util.crypto: Use stack space buffers
Kim Alvefur <zash@zash.se> [Mon, 11 Jul 2022 17:01:55 +0200] rev 12718
util.crypto: Use stack space buffers Removes assumption that LUAL_BUFFERSIZE is known at pre-processing time, which it is not in Lua 5.3 and 5.4, where it is a computed macro based on sizeof. Allocation of stack space is safer and faster, no need to worry about luaL_prepbuffer failing to allocate memory and skipping free()
Mon, 11 Jul 2022 14:30:39 +0100 util.paseto: Drop custom wrappers around key objects
Matthew Wild <mwild1@gmail.com> [Mon, 11 Jul 2022 14:30:39 +0100] rev 12717
util.paseto: Drop custom wrappers around key objects The PASETO spec recommends - no, *requires* - that implementations enforce type safety for keys, and e.g. do not pass them around as arbitrary byte strings. Typed wrapper objects are recommended. I originally followed this advice when starting the lib. However, key wrapping and type safety is now also a feature of util.crypto. All we're doing is duplicating it unnecessarily with this additional wrapper code.
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 tip