Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor updates for Zig 0.12.0HEAD0.6.0main | Rutger Broekhoff | 2024-04-27 | 2 | -12/+8 |
| | |||||
* | Update code for Zig dev | Rutger Broekhoff | 2023-12-04 | 4 | -9/+9 |
| | | | | This code was tested on zig-dev-bin-1:0.12.0_dev.1773+8a8fd47d2-1 (AUR) | ||||
* | Third time might be the charm0.5.1 | Rutger Broekhoff | 2023-12-04 | 1 | -1/+1 |
| | |||||
* | Fix CI | Rutger Broekhoff | 2023-12-04 | 4 | -16/+16 |
| | | | | | | I am aware that changing these variables to be constants is not required for the next Zig release, but thought it would be nice to already have it done and clean in general. | ||||
* | Version 0.5.00.5.0 | Rutger Broekhoff | 2023-12-04 | 2 | -3/+14 |
| | |||||
* | Remove zigmod, Gyro support | Rutger Broekhoff | 2023-11-01 | 3 | -23/+0 |
| | |||||
* | Update for Zig 0.11.0 | Rutger Broekhoff | 2023-11-01 | 5 | -34/+49 |
| | |||||
* | Prepare for 0.4.0 release0.4.0 | Rutger Broekhoff | 2022-11-02 | 1 | -1/+1 |
| | | | | | | With the updated Zig Ed25519 API, the API of this package has also changed a bit. The package needed to be updated for Zig 0.10.0 in the first place, and builds with Zig master (ebf9ffd) now. | ||||
* | Make compatible with Zig dev | Rutger Broekhoff | 2022-11-01 | 1 | -7/+7 |
| | | | | | This library can be compiled again, now that ziglang/zig#13378 has been closed by ziglang/zig#13386. | ||||
* | Make compatible with Zig 0.10.0 | Rutger Broekhoff | 2022-10-31 | 2 | -50/+55 |
| | | | | | | | This does not build on unpatched Zig 0.10.0, as there is still an issue with the revamped Ed25519 implementation in the standard library. I will report an issue which should make this program buildable. There is still some cleanup work to perform. | ||||
* | Update for Zig dev | Rutger Broekhoff | 2022-03-17 | 1 | -29/+47 |
| | |||||
* | Format tool/znk.zig | Rutger Broekhoff | 2021-09-20 | 1 | -1/+1 |
| | |||||
* | Make compatible with Zig master0.3.1 | Rutger Broekhoff | 2021-09-20 | 4 | -14/+17 |
| | |||||
* | Prepare for 0.3.0 release0.3.0 | Rutger Broekhoff | 2021-07-02 | 1 | -1/+1 |
| | | | | | The API for findKeySection was broken, so a minor (0.) release is in order. | ||||
* | Remove unused parameters and variables in znk | Rutger Broekhoff | 2021-07-02 | 1 | -11/+11 |
| | |||||
* | Remove unused parameters and variables | Rutger Broekhoff | 2021-07-02 | 1 | -6/+4 |
| | |||||
* | Use `.{ ... }` for struct init where possible | Rutger Broekhoff | 2021-05-28 | 1 | -7/+7 |
| | |||||
* | Prepare for 0.2.1 release0.2.1 | Rutger Broekhoff | 2021-05-28 | 2 | -2/+2 |
| | |||||
* | Fix comment | Rutger Broekhoff | 2021-05-28 | 1 | -1/+1 |
| | |||||
* | Prevent overflow calculating Base32-decoded size | Rutger Broekhoff | 2021-05-28 | 1 | -2/+11 |
| | |||||
* | Move src/lib.zig to src/main.zig, release 0.2.00.2.0 | Rutger Broekhoff | 2021-05-26 | 4 | -6/+6 |
| | | | | | | Rationale: `zig init-lib` generates src/main.zig, not src/lib.zig. Also, libraries like hzzp (https://github.com/truemedian/hzzp) use src/main.zig instead of src/lib.zig. This is a breaking change. | ||||
* | Prepare for 0.1.1 release0.1.1 | Rutger Broekhoff | 2021-05-26 | 1 | -1/+1 |
| | |||||
* | Consistent spelling of CRC-16 | Rutger Broekhoff | 2021-05-26 | 1 | -2/+2 |
| | |||||
* | Allow generating seeds with custom entropy | Rutger Broekhoff | 2021-05-26 | 2 | -60/+105 |
| | |||||
* | Simplify build.zig | Rutger Broekhoff | 2021-05-25 | 1 | -2/+2 |
| | |||||
* | Prepare for 0.1.0 release0.1.0 | Rutger Broekhoff | 2021-05-25 | 6 | -28/+35 |
| | |||||
* | Give all tests names | Rutger Broekhoff | 2021-05-25 | 2 | -3/+3 |
| | |||||
* | Rename build steps | Rutger Broekhoff | 2021-05-25 | 3 | -6/+6 |
| | |||||
* | Update formatting slightly | Rutger Broekhoff | 2021-05-25 | 1 | -27/+6 |
| | |||||
* | Put the znk tool into a different directory | Rutger Broekhoff | 2021-05-25 | 3 | -17/+24 |
| | |||||
* | Clean up a few small-ish things | Rutger Broekhoff | 2021-05-25 | 2 | -13/+11 |
| | |||||
* | Clean up janky prefix byte API | Rutger Broekhoff | 2021-05-25 | 2 | -131/+134 |
| | |||||
* | snake_case for fields of tagged unions | Rutger Broekhoff | 2021-05-25 | 1 | -16/+16 |
| | |||||
* | Reorder src/nkeys.zig | Rutger Broekhoff | 2021-05-25 | 1 | -47/+47 |
| | |||||
* | Rename tagged union fields in znk | Rutger Broekhoff | 2021-05-25 | 2 | -18/+30 |
| | |||||
* | Write a few more tests | Rutger Broekhoff | 2021-05-25 | 2 | -54/+90 |
| | |||||
* | Write a few more tests, rename a few functions | Rutger Broekhoff | 2021-05-25 | 2 | -36/+234 |
| | |||||
* | Rename things once again | Rutger Broekhoff | 2021-05-24 | 2 | -28/+34 |
| | |||||
* | Support private keys in znk | Rutger Broekhoff | 2021-05-24 | 1 | -27/+27 |
| | |||||
* | Add PrivateKey, use Ed25519.KeyPair in SeedKeyPair | Rutger Broekhoff | 2021-05-24 | 2 | -135/+160 |
| | |||||
* | Validate output of parseDecorated* in test | Rutger Broekhoff | 2021-05-24 | 2 | -21/+23 |
| | |||||
* | Remove some unnecessary code | Rutger Broekhoff | 2021-05-24 | 2 | -17/+6 |
| | |||||
* | Remove unnecessary call to @setEvalBranchQuota | Rutger Broekhoff | 2021-05-24 | 1 | -2/+0 |
| | |||||
* | Clean up more | Rutger Broekhoff | 2021-05-24 | 3 | -107/+88 |
| | | | | | Clean up unnecessary error unions, generate allowed characters table for credentials file sections at compile time. | ||||
* | Run zig fmt | Rutger Broekhoff | 2021-05-22 | 1 | -1/+1 |
| | |||||
* | Generate CRC-16 table at compile time | Rutger Broekhoff | 2021-05-22 | 1 | -38/+22 |
| | |||||
* | Simplify znk main | Rutger Broekhoff | 2021-05-22 | 1 | -19/+4 |
| | |||||
* | Clean up | Rutger Broekhoff | 2021-05-22 | 3 | -145/+151 |
| | | | | | | | | | | | | | | `NKey` has been replaced with `Nkey` in all Zig source files, even though this capitalization is technically incorrect. The standard library also uses 'strict' camel/PascalCase everywhere, meaning that abbreviations like CRC, AES and GUID are spelled like Crc, Aes and Guid respectively. `var` has been replaced with `const` where applicable. Also, the `Key` type has been moved from src/nkeys.zig to src/znk.zig for now - it's still a little bit lacking and might not need to be included in the library. | ||||
* | Add some more tests for Base32 encoder and decoder | Rutger Broekhoff | 2021-05-22 | 1 | -5/+15 |
| | |||||
* | Document the Base32 decoder | Rutger Broekhoff | 2021-05-22 | 1 | -43/+67 |
| |