aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_cryptobox.c
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Fix for old OpenSSL, sighVsevolod Stakhov2025-01-251-0/+5
|
* [Minor] Add protection against infinite recursionVsevolod Stakhov2025-01-251-5/+12
|
* [Fix] Make table digests consistentVsevolod Stakhov2025-01-251-4/+76
|
* [Feature] Allow to hash any Lua typesVsevolod Stakhov2024-12-201-32/+84
|
* [Minor] Another compatibility fixVsevolod Stakhov2024-09-241-0/+4
|
* [Fix] Get rid of EVP_PKEY_CTX_set1_rsa_keygen_pubexpVsevolod Stakhov2024-09-231-14/+0
| | | | OpenSSL uses 65537 by default, no need in explicit set.
* [Rework] Allow more flexible keypair encodingvstakhov-keypair-encodingVsevolod Stakhov2024-09-211-4/+27
|
* [Minor] Fix some SSL issuesVsevolod Stakhov2024-09-101-16/+4
|
* [Feature] Add tooling to encrypt strings in LuaIvan Stakhov2024-09-051-28/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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>
* [Project] Remove NIST mode from everywhereVsevolod Stakhov2024-08-091-126/+28
|
* [Rework] Further types conversion (no functional changes)Vsevolod Stakhov2024-03-181-165/+165
|
* [Rework] Remove some of the GLib types in lieu of standard onesVsevolod Stakhov2024-03-181-12/+12
| | | | This types have constant conflicts with the system ones especially on OSX.
* [Project] Convert the remainingVsevolod Stakhov2024-03-051-41/+41
|
* [Rework] Use clang-format to unify formatting in all sourcesVsevolod Stakhov2023-07-261-976/+960
| | | | No meaningful changes.
* [Feature] Finish all features of dkim_keygen in LuaVsevolod Stakhov2023-04-071-0/+33
|
* [Minor] Allow different dump types for the keypairsVsevolod Stakhov2023-01-041-1/+1
|
* [Minor] Fix build with LibreSSL 3.5+Vsevolod Stakhov2022-05-161-3/+6
| | | | Submitted by: Bernard Spil
* [Minor] Add xxh3 support to lua_cryptoboxVsevolod Stakhov2021-12-051-0/+14
|
* [Rework] Use xxh3 as a default hash and fix memory/alignment issuesVsevolod Stakhov2021-12-051-6/+6
|
* [Minor] Rework to fix issues in Lua APIVsevolod Stakhov2021-09-251-1/+19
| | | | Found by: coverity scan
* [Minor] Fix some leaks on error pathsVsevolod Stakhov2021-09-191-8/+48
| | | | Found by: coverity scan
* [Feature] Lua_cryptobox: Add keyed ssl hash functions via HMACVsevolod Stakhov2021-08-101-29/+155
|
* [Fix] Fix types check and types usage in lua_cryptoboxVsevolod Stakhov2020-08-241-1/+1
|
* [Minor] Fix keyed blake2b creationVsevolod Stakhov2020-08-241-19/+23
|
* [Minor] Fix description: rspamd_cryptobox_pubkey.createAndrew Lewis2020-07-151-1/+1
|
* [Minor] Improve errors reportingVsevolod Stakhov2020-07-031-2/+7
|
* [Rework] Lua_cryptobox: Allow to store output of the hash functionVsevolod Stakhov2020-07-031-32/+60
|
* [Feature] Allow to specify nonces manuallyVsevolod Stakhov2020-05-061-21/+69
|
* [Minor] Fix some issues foundVsevolod Stakhov2020-05-051-2/+2
|
* [Feature] Lua_cryptobox: Add secretbox APIVsevolod Stakhov2020-05-041-0/+254
|
* [Minor] silence warnings about unused function resultsChristian Göttsche2020-04-111-2/+2
| | | | GCC does not respect `(void) func()`
* [Feature] Allow multiple base32 encodings in Lua APIVsevolod Stakhov2020-04-101-5/+26
|
* [Feature] Support multiple base32 alphabetsVsevolod Stakhov2020-04-091-4/+4
|
* [Minor] Sigh, use EVP_DigestInit_ex insteadVsevolod Stakhov2020-02-041-2/+2
|
* [Minor] Fix order when setting FIPS flagsVsevolod Stakhov2020-02-041-2/+2
| | | | Related to https://github.com/openssl/openssl/issues/10031
* [Minor] Further fixes for FIPS modeVsevolod Stakhov2020-01-311-0/+8
|
* [Minor] Fix compile warningsVsevolod Stakhov2019-10-101-0/+20
|
* [Rework] Lua core: Use lightuserdata to index classesVsevolod Stakhov2019-09-161-42/+8
|
* [Minor] Fight lost: alignof -> _AlignofVsevolod Stakhov2019-07-091-2/+2
|
* [Rework] Use libsodium instead of hand crafted crypto implementationsVsevolod Stakhov2019-07-081-5/+18
|
* [Minor] Fix various cases in Lua APIVsevolod Stakhov2019-06-281-2/+2
|
* [Minor] Lua_cryptobox: Allow to define output hash lengthVsevolod Stakhov2019-06-081-8/+52
|
* [Feature] Add cryptobox method to generate dkim keypairsVsevolod Stakhov2019-04-261-0/+135
|
* [Minor] Sigh, misprintVsevolod Stakhov2019-04-231-1/+1
|
* [Minor] Fix old openssl supportVsevolod Stakhov2019-04-231-1/+1
|
* [Minor] Improve IUF interface in cryptobox_hashVsevolod Stakhov2019-04-231-21/+41
|
* [Feature] Add fast hashes to lua cryptobox hashVsevolod Stakhov2019-04-231-86/+159
|
* [Minor] Lua_cryptobox: Add pbkdf() methodVsevolod Stakhov2019-03-281-0/+84
|
* [Minor] Fix some meaningful compile warningsVsevolod Stakhov2019-02-081-1/+1
|
* [Minor] Fix timestamp fillingVsevolod Stakhov2018-11-041-1/+1
|