Kim Alvefur <zash@zash.se> [Wed, 19 Apr 2023 11:42:36 +0200] rev 13083
Merge 0.12->trunk
Kim Alvefur <zash@zash.se> [Wed, 19 Apr 2023 11:32:53 +0200] rev 13082
util.error: Fix error on conversion of invalid error stanza, fix #1805
Error stanzas should have an <error> element, but if you pass a
stanza without one to util.error.from_stanza() it triggers an attempt to
index a nil value, which this patch avoids.
In the conditional, it should be safe to assume error_tag is non-nil
since condition can't have those values then.
Kim Alvefur <zash@zash.se> [Thu, 06 Apr 2023 17:09:03 +0200] rev 13081
mod_admin_shell: Fix display of remote cert status when expired etc
Looks like autocomplete unhelpfully capitalized this word, but it's
lowercase where it is set in mod_s2s_auth_certs
Kim Alvefur <zash@zash.se> [Wed, 19 Apr 2023 11:14:11 +0200] rev 13080
mod_tls: Drop request for client certificates on outgoing connections
It is the other end who should request client certificates for these
connections, we only need to send ours. Hopefully this was treated as a
noop, so probably no harm in keeping it. But hey, spring cleaning? :)
Kim Alvefur <zash@zash.se> [Sun, 16 Apr 2023 12:47:55 +0200] rev 13079
mod_csi: Always advertise feature
Was previously supposed to be conditionally advertised based on
availability of a module handling the actual optimizations, which was
removed in be9ac41f1619
Kim Alvefur <zash@zash.se> [Wed, 12 Apr 2023 11:43:32 +0200] rev 13078
mod_tokenauth: Fix parsing binary part of tokens
Fixes parsing of tokens that happen to have a `;` in their secret part,
otherwise it splits there and the later bit goes into the username and
hitting the "Invalid token in storage" condition.
Kim Alvefur <zash@zash.se> [Wed, 12 Apr 2023 10:21:32 +0200] rev 13077
mod_tokenauth: Only check if expiry of expiring tokens
Some tokens, e.g. OAuth2 refresh tokens, might not have their lifetime
explicitly bounded here, but rather be bounded by the lifetime of
something else, like the OAuth2 client.
Open question: Would it be better to enforce a lifetime on all tokens?
Kim Alvefur <zash@zash.se> [Mon, 10 Apr 2023 14:24:39 +0200] rev 13076
mod_admin_shell: Use same wildcard matching in other s2s command
Consistency is nice.
Kim Alvefur <zash@zash.se> [Mon, 10 Apr 2023 14:12:48 +0200] rev 13075
mod_admin_shell: Factor apart wildcard matching into function for reuse
Applying this for s2s:close[all]() would also be nice.
Kim Alvefur <zash@zash.se> [Mon, 10 Apr 2023 13:50:09 +0200] rev 13074
mod_csi: Remove module status, doesn't work because of mod_smacks
This was meant to warn in case you had only mod_csi without a logic
handling module like mod_csi_simple by checking if anything hooked this
event, however mod_smacks also hooks this event and so this isn't really
a useful way of detecting this condition.