Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Feature] Add rspamadm secretbox command | Ivan Stakhov | 2024-09-18 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [Minor] Small fix for error messages * [Feature] Create rspamadm util to decrypt header * [Feature] Create python example to encrypt/decrypt header * [Minor] Small clean up * [Minor] Change c-rspamadm util to lua-rspamadm util * [Minor] Small clean up * [Minor] Add some debug * [Feature] Add secretbox command * [Minor] Debug * [Minor] Add additional return for encrypted string(noce + encrypted string * [Minor] Small debug * [Minor] Add a way to provide encrypted text concatenated with nonce * [Minor] Add nonce to encrypt text * [Minor] Clean up * [Minor] Clean up unused variable * [Minor] Small fix * [Minor] Fix return issue * [Minor] Add blake2b for key derivation * [Minor] Small upgrade to debug * [Minor] Small clean up * [Minor] Change return to more convenient form * [Minor] Change print to test form * [Test] Provide tests for encrypt/decrypt with rspamadm util and python script * [Minor] Change python to python3 * [Minor] Add stderr check * [Minor] Make the function return nonce+text * [Minor] Change unit tests to new return format * [Minor] Add flag to manage encodings * [Minor] Add --encoding argument to manage encodings * [Minor] Change tests for new input format * [Minor] Fix lua format * [Minor] Small fix * [Minor] Provide full support for new return format of maybe_encrypt_header * [Test] Test small fix * [Test] Small fix * [Minor] Clean up * [Minor] Small fix for name of variable * [Minor] Small clean up * [Minor] Change format of command to a mre convenient * [Minor] Change tests to be same as a format of a command * [Minor] Change description of flags * [Minor] Small fix --------- Co-authored-by: Ivan Stakhov <50211739+LeftTry@users.noreply.github.com> | ||||
* | [Feature] Add tooling to encrypt strings in Lua | Ivan Stakhov | 2024-09-05 | 1 | -0/+78 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [Fix] Provide support for OpenSSL 3.0 * [Feature] Provide function to encode header with configured public key * [Feature] Provide function to decode header with configured public key * [Test] Add tests for maybe encode/decode header * [Minor] Fix tests for encode/decode header * [Minor] Small clean up * [Minor] Small clean up * [Minor] Small fix for OpenSSL 3.0 support * [Minor] Provide logging * [Minor] Small fix * [Fix] Fix typo error * [Fix] Another typo * [Minor] Little clean up * [Minor] Little fix * [Minor] Small fix * [Minor] Small fix * [Minor] Rewrite the arguments of secretbox:encrypt/decrypt functions to a more understandable format * [Fix] Fix problem with nonce was not provided * [Test] Add test for nonce * [Minor] Little clean up * [Minor] Little clean up * [Test] Test * [Test] Test * [Test] Test * [Minor] Little fix * [Minor] Small fix * [Minor] Small fix * [Test] Small fix * [Test] Test * [Test] Test * [Test] Test * [Test] Test * [Minor] Small fix for fips provider * [Minor] Change provider apply logic * [Test] Little fix for provider * [Minor] Provide OpenSSL <3.0 support * [Test] Possible provider fix * [Test] Possible provider fix * [Test] Little fix * [Minor] Fix provider issue * [Minor] Small clean up * [Minor] Change logging errors * Update lualib/lua_util.lua --------- Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com> | ||||
* | deduplicate url_encode_string | Tarmo Oja | 2024-09-04 | 1 | -0/+3 |
| | |||||
* | handle nil | Tarmo Oja | 2024-08-23 | 1 | -0/+3 |
| | |||||
* | [PATCH] Encode constructed path to be URL safe. | Tarmo Oja | 2024-08-22 | 1 | -0/+18 |
| | | | | fix #4643 | ||||
* | [Minor] Add support for transparent ucl in override_defaults | Vsevolod Stakhov | 2024-08-16 | 1 | -4/+24 |
| | |||||
* | [Minor] Fix uitil.unpack function | Vsevolod Stakhov | 2024-06-10 | 1 | -2/+2 |
| | |||||
* | [Minor] Escape liquid | Vsevolod Stakhov | 2024-02-26 | 1 | -2/+2 |
| | |||||
* | [Rework] Allow custom filters in `jinja_template` | Vsevolod Stakhov | 2024-02-25 | 1 | -6/+44 |
| | |||||
* | [Fix] Allow different template expansion parameters | Vsevolod Stakhov | 2024-02-21 | 1 | -38/+46 |
| | | | | Probably one of the most dirty hacks I've used in the Lua code in Rspamd... | ||||
* | Revert "[Fix] Fix history key, as we use `{=` and not `{{` in templates" | Vsevolod Stakhov | 2024-02-21 | 1 | -2/+2 |
| | |||||
* | [Fix] Fix history key, as we use `{=` and not `{{` in templates | Vsevolod Stakhov | 2024-02-21 | 1 | -2/+2 |
| | |||||
* | [Fix] Fix merge table utility | Vsevolod Stakhov | 2023-08-07 | 1 | -2/+15 |
| | |||||
* | [Minor] Move config stuff out | Vsevolod Stakhov | 2023-08-07 | 1 | -46/+4 |
| | |||||
* | [Minor] Allow to log configuration errors from plugins | Vsevolod Stakhov | 2023-08-07 | 1 | -0/+20 |
| | |||||
* | [Minor] Distinguish failures from unknown errors | Vsevolod Stakhov | 2023-08-07 | 1 | -93/+136 |
| | |||||
* | fix: redis schema parsing | Simon Hauser | 2023-08-04 | 1 | -0/+13 |
| | |||||
* | [Minor] Load redis scripts from the prefix to simplify calls | Vsevolod Stakhov | 2023-03-25 | 1 | -0/+7 |
| | |||||
* | [Minor] Add a utility to join path components | Vsevolod Stakhov | 2023-03-24 | 1 | -0/+18 |
| | |||||
* | [Minor] Add a simple function to strip Lua comments | Vsevolod Stakhov | 2023-03-23 | 1 | -0/+24 |
| | |||||
* | [Rework] Reiterate on priorities | Vsevolod Stakhov | 2022-09-10 | 1 | -0/+8 |
| | |||||
* | [Minor] Register some more timeouts | Vsevolod Stakhov | 2022-09-10 | 1 | -0/+11 |
| | |||||
* | [Feature] Add function to store upstreams for HTTP urls | Vsevolod Stakhov | 2022-07-03 | 1 | -0/+33 |
| | |||||
* | [Minor] Fix issues found by the new luacheck version | Vsevolod Stakhov | 2022-04-14 | 1 | -1/+1 |
| | |||||
* | [Minor] Update my email and the copyright year | Vsevolod Stakhov | 2022-03-25 | 1 | -1/+1 |
| | |||||
* | [Minor] Microoptimize lua_util.str_endswith | Anton Yuzhaninov | 2022-02-26 | 1 | -1/+1 |
| | | | | | | | | Use find to check string suffix instead of sub (which involves string interning of a returned string). Benchmarks with LuaJIT 2.1.0 shows that an option with find is significantly faster. While here added unit test for this function. | ||||
* | Spelling (#4086) | Josh Soref | 2022-02-22 | 1 | -4/+4 |
| | | | [Rework] Massive spelling fix from @jsoref | ||||
* | [Minor] Add unhex utility | Vsevolod Stakhov | 2021-12-21 | 1 | -0/+15 |
| | |||||
* | [Minor] Pet luacheck | Vsevolod Stakhov | 2021-08-24 | 1 | -2/+0 |
| | |||||
* | [Minor] Detect logger's debug level in lua debug utilities | Vsevolod Stakhov | 2021-08-24 | 1 | -13/+12 |
| | |||||
* | [Minor] Add lua_util.shuffle | Vsevolod Stakhov | 2021-08-06 | 1 | -0/+15 |
| | |||||
* | [Minor] Allow to enable specific module debug | Vsevolod Stakhov | 2021-08-04 | 1 | -0/+6 |
| | |||||
* | [Minor] Improve the default sort function in deep_sort function | Vsevolod Stakhov | 2020-11-13 | 1 | -1/+9 |
| | |||||
* | [Minor] Exclude '@' from quote character | Vsevolod Stakhov | 2020-10-12 | 1 | -1/+1 |
| | |||||
* | [Minor] Lua_util: Add maybe_smtp_quote_value | Vsevolod Stakhov | 2020-10-12 | 1 | -0/+16 |
| | |||||
* | [Minor] Lua_util: Fix round function | Vsevolod Stakhov | 2020-10-11 | 1 | -2/+6 |
| | |||||
* | [Minor] Fix cache key | Andrew Lewis | 2020-10-02 | 1 | -1/+7 |
| | |||||
* | [Feature] RBL: support matching content/image URLs only | Andrew Lewis | 2020-10-01 | 1 | -0/+2 |
| | |||||
* | [Minor] Add deepsort utility | Vsevolod Stakhov | 2020-09-14 | 1 | -1/+22 |
| | |||||
* | [Minor] Add Lua functions str_startswith and str_endswith | Anton Yuzhaninov | 2020-08-19 | 1 | -0/+20 |
| | |||||
* | [Minor] Allow to get content urls in extract_specific routine | Vsevolod Stakhov | 2020-05-05 | 1 | -3/+30 |
| | |||||
* | [Feature] Spf: Add external_relay option | Vsevolod Stakhov | 2019-12-02 | 1 | -1/+1 |
| | |||||
* | [Minor] Add generic methods to deal with check_local/check_authed flags | Vsevolod Stakhov | 2019-12-02 | 1 | -0/+58 |
| | |||||
* | [Minor] Add `lua_util.nkeys` utility | Vsevolod Stakhov | 2019-11-26 | 1 | -0/+24 |
| | |||||
* | [Feature] Add verdict library in lua | Vsevolod Stakhov | 2019-11-04 | 1 | -28/+2 |
| | |||||
* | [Minor] Adopt lua_util.extract_specific_urls | Vsevolod Stakhov | 2019-09-20 | 1 | -1/+1 |
| | |||||
* | [Minor] Add str_trim alias | Vsevolod Stakhov | 2019-09-09 | 1 | -1/+9 |
| | |||||
* | [Minor] Lua_util: Allow to enable debug logging by a single method | Vsevolod Stakhov | 2019-09-05 | 1 | -0/+8 |
| | |||||
* | [Minor] Another fix to extract_specific | Vsevolod Stakhov | 2019-08-30 | 1 | -9/+1 |
| | |||||
* | [Feature] Support images when extracting urls | Vsevolod Stakhov | 2019-08-29 | 1 | -2/+15 |
| |