Commit graph

234 commits

Author SHA1 Message Date
Frank Denis
29a07eade0 Add compatibility with 32-bit targets (webassembly) 2025-01-16 13:36:56 +01:00
Frank Denis
90d46db240 Add the ability to override the libsodium install dirs 2025-01-16 12:55:52 +01:00
Frank Denis
101e90a668 Allow compilation with Zig 0.13 as well as 0.14
Fixes #150
2025-01-16 00:54:22 +01:00
Frank Denis
c165362385 Move libzodium files to a dedicated directory 2025-01-15 23:42:24 +01:00
Frank Denis
1c44ef601e Regen man page 2025-01-15 23:42:04 +01:00
Frank Denis
3c889ce7f3 Add a section title 2025-01-15 23:27:20 +01:00
Frank Denis
b85e15d45a Add build.zig.zon 2025-01-15 22:46:54 +01:00
Frank Denis
9896d072d4 Bump 2025-01-15 22:46:54 +01:00
Frank Denis
b393ff47b1 Let people compile with ReleaseFast if they want to 2025-01-15 22:46:54 +01:00
Frank Denis
c084f9ca38 without_libsodium -> without-libsodium 2025-01-15 22:46:54 +01:00
Frank Denis
c1c452560f Nits 2025-01-15 22:46:51 +01:00
Frank Denis
e0e86b4e4f Add -Dstatic 2025-01-15 22:46:51 +01:00
Frank Denis
12333fd7d1 Minisign is 10 years old 2025-01-15 22:46:51 +01:00
Frank Denis
952225f9b7 Import zodium.h 2025-01-15 22:46:51 +01:00
Frank Denis
e43b9ff13b Make libsodium optional 2025-01-15 22:11:52 +01:00
Frank Denis
e640be4b8f Indent 2025-01-15 22:07:37 +01:00
Frank Denis
a1c07cc277 Leverage root_module.linkSystemLibrary() 2025-01-15 21:03:56 +01:00
Frank Denis
285b53d52c Mention where the compiled binary is 2025-01-15 21:03:49 +01:00
Frank Denis
28612a431a Add issues.yml 2024-12-31 14:58:15 +01:00
Frank Denis
cbc79b3ece defineCMacro -> root_module.addCMacro 2024-12-20 12:21:03 +01:00
Frank Denis
55320cc84c 2024 2024-12-11 18:46:14 +01:00
Frank Denis
868785690f Add a Docker usage example
Fixes #132
2024-12-11 18:45:20 +01:00
Frank Denis
45478e1dd6 Udpate for Zig 0.13 2024-05-09 21:46:20 +02:00
Ryan Castellucci
996ea4fee3
exclude other unneeded code for VERIFY_ONLY (#139) 2024-04-02 08:11:27 +02:00
Frank Denis
573988d235 Update for zig-master 2024-01-04 12:24:31 +01:00
Isaac Yonemoto
5f96819f44
Add Elixir to minisign implementations (#138) 2023-12-18 18:50:08 +01:00
Frank Denis
ef2db96ae0 Breaking: wero-pad key identifiers
Fixes #137
2023-12-17 22:04:43 +01:00
Frank Denis
7d1116c5cc Zig 0.12 compat 2023-11-20 19:13:22 +01:00
Frank Denis
8aef018182 Update for Zig 0.11 2023-08-12 11:21:37 +02:00
Frank Denis
709fed6b73 Build script 2023-01-17 11:48:15 +01:00
Frank Denis
05a0cd435d Remove Travis 2023-01-17 11:40:20 +01:00
Frank Denis
444ef2dca9 Remove unused var 2023-01-16 22:42:27 +01:00
Frank Denis
ee46615226 Zeroize seckey_struct early 2023-01-16 21:24:08 +01:00
Frank Denis
12fd90b6fe Update man page 2023-01-16 21:18:39 +01:00
Frank Denis
ef445ab928 2023 2023-01-16 21:16:52 +01:00
Frank Denis
3f1df52db4 Warn about -C -W implications before it's too late 2023-01-16 21:16:38 +01:00
Frank Denis
506ac9ce3e Simplify usage without key encryption 2023-01-16 21:12:16 +01:00
Frank Denis
27bff8a1f5 Use CMAKE_BUILD_TYPE=MinSizeRel 2023-01-16 20:50:57 +01:00
Frank Denis
80defb2a99 Bump 2023-01-16 20:46:34 +01:00
Frank Denis
6040047c27 seckey_chk() actually computes chk 2023-01-16 20:46:34 +01:00
Frank Denis
16624abf2e Add the ability to change the password of a secret key
Fixes #110
2023-01-16 20:39:56 +01:00
Frank Denis
6ccd801dbc Allow seckey_load() to optionally return a copy of the key comment 2023-01-16 20:04:16 +01:00
Frank Denis
41938e99f5 Move key encryption/decryption code to dedicated functions 2023-01-16 19:45:00 +01:00
Frank Denis
a536c178ab Format 2023-01-16 19:40:34 +01:00
Frank Denis
94e18a72d8 Move variables to a local context 2023-01-16 19:38:39 +01:00
Frank Denis
d870938ae5 Reorder commands for clarity 2023-01-16 19:21:19 +01:00
Frank Denis
d2afa89fe7 Update usage 2023-01-16 19:15:53 +01:00
Frank Denis
c33051dec3 Update usage 2023-01-16 19:03:20 +01:00
Frank Denis
cb2fc2ce7c Add a flag to allow secret keys to be unencrypted
https://github.com/ziglang/zig/issues/4945
2023-01-16 18:50:36 +01:00
Frank Denis
0fccaf94e2 Require cmake 2.8.12 2023-01-16 18:43:18 +01:00