Commit Graph

  • 998d523127 Build updated for upstream libaegis 0.9.0 simplified API with matching changes on Python side. Set lower MacOS build target (11.0). Build abi3 version for all supported Python versions, reducing the number of wheels. Other build cleanup. v0.9.0 Leo Vasanko 2026-01-10 20:23:37 +00:00
  • a1bfeb2434 Build updated for upstream libaegis 0.9.0 simplified API with matching changes on Python side. Set lower MacOS build target (11.0). Build abi3 version for all supported Python versions, reducing the number of wheels. Other build cleanup. main LeoVasanko 2026-01-10 20:23:37 +00:00
  • ddd0331771 Considered stable from here onwards. Leo Vasanko 2026-01-10 20:22:44 +00:00
  • a26ce6a9fb Considered stable from here onwards. LeoVasanko 2026-01-10 20:22:44 +00:00
  • 8a5e342905 Allow the cipher() function also work without prefix aegis Leo Vasanko 2026-01-04 14:25:39 +00:00
  • 7e6a5bf52a Allow the cipher() function also work without prefix aegis LeoVasanko 2026-01-04 14:25:39 +00:00
  • 70f64fe288 Add nonce_increment and wipe functions on typing. Leo Vasanko 2026-01-04 14:19:01 +00:00
  • 8018e68274 Add nonce_increment and wipe functions on typing. LeoVasanko 2026-01-04 14:19:01 +00:00
  • eb0d281b5f README: Add the new aeg.cipher() function for fetching variants. Leo Vasanko 2025-12-31 22:51:19 +00:00
  • ccccfd7918 README: Add the new aeg.cipher() function for fetching variants. LeoVasanko 2025-12-31 22:51:19 +00:00
  • ebdfa9e0a9 [packaging] Release script: Fix further problems with freethreaded wheels and a variable name overlap. Leo Vasanko 2025-12-31 22:30:28 +00:00
  • 4de66b6bc6 [packaging] Release script: Fix further problems with freethreaded wheels and a variable name overlap. LeoVasanko 2025-12-31 22:30:28 +00:00
  • 5a99a52af9 [packaging] Fix wheel curing for pypy-linux. v0.4.3 Leo Vasanko 2025-12-31 21:59:37 +00:00
  • 66338ef416 [packaging] Fix wheel curing for pypy-linux. LeoVasanko 2025-12-31 21:59:37 +00:00
  • 1ecf0d306f Make tool scripts executable. v0.4.2 Leo Vasanko 2025-12-31 21:43:25 +00:00
  • 509898ac73 Make tool scripts executable. LeoVasanko 2025-12-31 21:43:25 +00:00
  • 5824df28cb Add aeg.cipher(alg) for loading modules by name in str. Added aeg.CIPHERS mapping of the nominal names to module names and Cipher for typing literals. Leo Vasanko 2025-12-31 21:38:30 +00:00
  • 67ec091bc5 Add aeg.cipher(alg) for loading modules by name in str. Added aeg.CIPHERS mapping of the nominal names to module names and Cipher for typing literals. LeoVasanko 2025-12-31 21:38:30 +00:00
  • 938239ef72 Added free-threaded non-GIL Python and PyPy wheels, up to 3.15 now. Leo Vasanko 2025-12-31 21:24:56 +00:00
  • 4977a7e79d Added free-threaded non-GIL Python and PyPy wheels, up to 3.15 now. LeoVasanko 2025-12-31 21:24:56 +00:00
  • f3c0b2b85d [release script] Auditwheel only on Linux. v0.4.1 Leo Vasanko 2025-12-23 19:38:59 +00:00
  • d7acf7a315 [release script] Auditwheel only on Linux. LeoVasanko 2025-12-23 19:38:59 +00:00
  • dd0c0bc0a0 Add README for PyPI. Leo Vasanko 2025-12-23 19:33:00 +00:00
  • 7f01de8327 Add README for PyPI. LeoVasanko 2025-12-23 19:33:00 +00:00
  • 40560d2deb Make manylinux wheels. Leo Vasanko 2025-12-23 19:20:17 +00:00
  • 9294fba86d Make manylinux wheels. LeoVasanko 2025-12-23 19:20:17 +00:00
  • 6fc3098650 Clean up for release. v0.4.0 Leo Vasanko 2025-12-23 19:09:59 +00:00
  • 348812e750 Clean up for release. LeoVasanko 2025-12-23 19:09:59 +00:00
  • ff97bf42a8 Clean up for release. Leo Vasanko 2025-12-23 19:08:10 +00:00
  • 22dff32b22 Clean up for release. LeoVasanko 2025-12-23 19:08:10 +00:00
  • ba2179e827 Clean up for release. Leo Vasanko 2025-12-23 18:54:03 +00:00
  • 178b689a35 Clean up for release. LeoVasanko 2025-12-23 18:54:03 +00:00
  • 640e812908 Project renamed to aeg, preparing for PyPI release. Leo Vasanko 2025-12-23 18:25:03 +00:00
  • bd8b183e32 Project renamed to aeg, preparing for PyPI release. LeoVasanko 2025-12-23 18:25:03 +00:00
  • daba717ebb Add tools/release.py script for automatic release process. LeoVasanko 2025-11-12 23:47:26 +00:00
  • 5b74bcb683 Always generate LF line endings (even on broken OS). LeoVasanko 2025-11-12 23:43:25 +00:00
  • d9a18f43d5 Ruff formatting. LeoVasanko 2025-11-12 23:43:04 +00:00
  • 98ee4ab7b3 Fixed Windows build, cleaned up messages during build, using SCM version numbering, added ruff. LeoVasanko 2025-11-12 22:59:21 +00:00
  • a644d27b56 Add tools/release.py script for automatic release process. Leo Vasanko 2025-11-12 11:47:26 -06:00
  • 4445c256b1 Always generate LF line endings (even on broken OS). Leo Vasanko 2025-11-12 11:43:25 -06:00
  • 04f1c3067c Ruff formatting. Leo Vasanko 2025-11-12 11:43:04 -06:00
  • 39e5f00f42 Fixed Windows build, cleaned up messages during build, using SCM version numbering, added ruff. Leo Vasanko 2025-11-12 10:59:21 -06:00
  • c6148806dd Update pyproject, bump version. LeoVasanko 2025-11-10 08:41:40 +00:00
  • 6e6bc49466 README tuning. New benchmark results (a bit slower than initial versions were). LeoVasanko 2025-11-10 08:40:04 +00:00
  • c2ac2e2790 Use a much faster method to wipe buffers. LeoVasanko 2025-11-10 08:38:28 +00:00
  • c6e77cac66 Cleanup. LeoVasanko 2025-11-10 08:00:12 +00:00
  • 88efc4cabc Update pyproject, bump version. v0.3.1 Leo Vasanko 2025-11-09 20:41:40 -06:00
  • 04b11e9925 README tuning. New benchmark results (a bit slower than initial versions were). Leo Vasanko 2025-11-09 20:40:04 -06:00
  • d8a9a7ee9d Use a much faster method to wipe buffers. Leo Vasanko 2025-11-09 20:38:28 -06:00
  • f5430a6ad4 Cleanup. Leo Vasanko 2025-11-09 20:00:12 -06:00
  • df1acadb1f Bump version LeoVasanko 2025-11-09 21:47:08 +00:00
  • cb0f9956c3 Convert all input buffers to memoryview before use and use .nbytes, because len() doesn't work correctly with some buffers. Update docs with a Numpy example. LeoVasanko 2025-11-09 21:19:50 +00:00
  • a29405455a Cleanup benchmark LeoVasanko 2025-11-09 20:59:53 +00:00
  • 0d63844201 Make Mac class prevent further updates or final after finalisation. Keep cached values for hashlib API. LeoVasanko 2025-11-09 20:53:19 +00:00
  • f84ef727d3 Bump version v0.3.0 Leo Vasanko 2025-11-09 09:47:08 -06:00
  • bb9d11842a Convert all input buffers to memoryview before use and use .nbytes, because len() doesn't work correctly with some buffers. Update docs with a Numpy example. Leo Vasanko 2025-11-09 09:19:50 -06:00
  • 20e0ed8c5f Cleanup benchmark Leo Vasanko 2025-11-09 08:59:53 -06:00
  • 62fc8fa855 Make Mac class prevent further updates or final after finalisation. Keep cached values for hashlib API. Leo Vasanko 2025-11-09 08:53:19 -06:00
  • 7682d5bc8b Cleanup LeoVasanko 2025-11-09 08:39:41 +00:00
  • 26b883ecbc Simplify implementation: remove bytes_in and bytes_out counters from all classes. LeoVasanko 2025-11-09 08:09:26 +00:00
  • 87d9a07868 Wipe state structs automatically after use. Simplified aligned allocator and its use via a single handle. LeoVasanko 2025-11-09 08:04:00 +00:00
  • eed36e2463 API updates: - Mac class follows hashlib API: digest functions added and finalization no longer modifies state. - Encryptor and Decryptor now raise RuntimeError if still used after final. LeoVasanko 2025-11-09 06:53:27 +00:00
  • 46bc05f547 Add human-readable algorithm name as NAME constant. LeoVasanko 2025-11-09 04:01:05 +00:00
  • 56d304a82e Constants renamed and values extracted from C code rather than function call at runtime. Documentation update. LeoVasanko 2025-11-09 03:43:01 +00:00
  • 67c2958384 Cleanup Leo Vasanko 2025-11-08 20:39:41 -06:00
  • a6faaf9f62 Simplify implementation: remove bytes_in and bytes_out counters from all classes. Leo Vasanko 2025-11-08 20:09:26 -06:00
  • 75cbc76845 Wipe state structs automatically after use. Simplified aligned allocator and its use via a single handle. Leo Vasanko 2025-11-08 20:04:00 -06:00
  • 28ee0e1314 Combine the two generator scripts into one that also reads ALIGNMENT and RATE from C sources. LeoVasanko 2025-11-09 01:20:15 +00:00
  • 95563a43d1 API updates: - Mac class follows hashlib API: digest functions added and finalization no longer modifies state. - Encryptor and Decryptor now raise RuntimeError if still used after final. Leo Vasanko 2025-11-08 18:53:27 -06:00
  • e58990a1c2 Add human-readable algorithm name as NAME constant. Leo Vasanko 2025-11-08 16:01:05 -06:00
  • 13445887e9 Constants renamed and values extracted from C code rather than function call at runtime. Documentation update. Leo Vasanko 2025-11-08 15:43:01 -06:00
  • 751a929836 Combine the two generator scripts into one that also reads ALIGNMENT and RATE from C sources. Leo Vasanko 2025-11-08 13:20:15 -06:00
  • 1f506806d4 Bump version LeoVasanko 2025-11-08 00:51:40 +00:00
  • 17fba3c2f2 README LeoVasanko 2025-11-07 22:30:23 +00:00
  • d04c593766 Move the build_backend script to tools folder. LeoVasanko 2025-11-07 22:26:03 +00:00
  • fce6324ae5 Documentation updates, added BUILD.md LeoVasanko 2025-11-07 22:20:27 +00:00
  • b35dc75513 Use uv in the commands. LeoVasanko 2025-11-07 22:00:36 +00:00
  • 1da3000a22 README formatting LeoVasanko 2025-11-07 21:59:20 +00:00
  • f983cbe4c5 util.nonce_increment and util.wipe functions, also exported by each module for convenience. LeoVasanko 2025-11-07 21:53:39 +00:00
  • f0b4373c0e README updated LeoVasanko 2025-11-07 21:52:28 +00:00
  • 0efc2595d8 Make random_key and random_nonce return bytearray, and add a nonce_increment utility function. LeoVasanko 2025-11-07 19:43:33 +00:00
  • d4f8be69ed Bump version v0.2.0 Leo Vasanko 2025-11-07 12:51:40 -06:00
  • 77601d7f57 README Leo Vasanko 2025-11-07 10:30:23 -06:00
  • 4356e57ace Move the build_backend script to tools folder. Leo Vasanko 2025-11-07 10:26:03 -06:00
  • 5e19bd980e Documentation updates, added BUILD.md Leo Vasanko 2025-11-07 10:20:27 -06:00
  • 63ccef577d Use uv in the commands. Leo Vasanko 2025-11-07 10:00:36 -06:00
  • 555bbcf2a5 README formatting Leo Vasanko 2025-11-07 09:59:20 -06:00
  • 1dcdafa008 util.nonce_increment and util.wipe functions, also exported by each module for convenience. Leo Vasanko 2025-11-07 09:53:39 -06:00
  • 96ce7867de README updated Leo Vasanko 2025-11-07 09:52:28 -06:00
  • b15174af8b Make random_key and random_nonce return bytearray, and add a nonce_increment utility function. Leo Vasanko 2025-11-07 07:43:33 -06:00
  • a78f5c4ea3 README LeoVasanko 2025-11-07 09:11:38 +00:00
  • fc1025f56d Do not return True from MAC verify function on success. LeoVasanko 2025-11-07 09:11:24 +00:00
  • 3d75cc7e55 Add random_key and random_nonce functions to each submodule. Update docstrings to show the correct lengths for keys and nonces. LeoVasanko 2025-11-07 08:03:56 +00:00
  • 5b49422cb7 Remove examples folder, keep benchmark as pyaegis.benchmark that becomes part of the install. LeoVasanko 2025-11-07 07:55:51 +00:00
  • cca78f4224 API cleanup for simplified update/final. Returns bytearrays when into is not used. Allows into buffers larger than needed. Misc other changes. LeoVasanko 2025-11-07 07:38:18 +00:00
  • 2e460b5796 Cleanup. LeoVasanko 2025-11-07 07:36:43 +00:00
  • 407cedc7a9 More informative build error message when Zig is not installed. LeoVasanko 2025-11-07 05:02:01 +00:00
  • b5b939cffe Another approach to use zig build with setuptools. LeoVasanko 2025-11-07 04:56:39 +00:00
  • 5c04940525 Include zig build in the build process. LeoVasanko 2025-11-07 04:43:54 +00:00
  • e644f1b2ca Switch from hatch to setuptools/CFFI build to produce wheels correctly. LeoVasanko 2025-11-07 04:34:32 +00:00