Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update code for Zig dev | Rutger Broekhoff | 2023-12-04 | 1 | -5/+5 |
| | | | | This code was tested on zig-dev-bin-1:0.12.0_dev.1773+8a8fd47d2-1 (AUR) | ||||
* | Fix CI | Rutger Broekhoff | 2023-12-04 | 1 | -8/+8 |
| | | | | | | 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. | ||||
* | Update for Zig 0.11.0 | Rutger Broekhoff | 2023-11-01 | 3 | -15/+15 |
| | |||||
* | 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 | 1 | -41/+44 |
| | | | | | | | 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. | ||||
* | Make compatible with Zig master0.3.1 | Rutger Broekhoff | 2021-09-20 | 1 | -4/+4 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -0/+0 |
| | | | | | | 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. | ||||
* | Consistent spelling of CRC-16 | Rutger Broekhoff | 2021-05-26 | 1 | -2/+2 |
| | |||||
* | Allow generating seeds with custom entropy | Rutger Broekhoff | 2021-05-26 | 1 | -1/+8 |
| | |||||
* | Prepare for 0.1.0 release0.1.0 | Rutger Broekhoff | 2021-05-25 | 1 | -0/+0 |
| | |||||
* | Give all tests names | Rutger Broekhoff | 2021-05-25 | 1 | -2/+2 |
| | |||||
* | Update formatting slightly | Rutger Broekhoff | 2021-05-25 | 1 | -27/+6 |
| | |||||
* | Put the znk tool into a different directory | Rutger Broekhoff | 2021-05-25 | 1 | -507/+0 |
| | |||||
* | 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 | 1 | -7/+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 |
| | |||||
* | Rewrite Base32 decoder | Rutger Broekhoff | 2021-05-22 | 2 | -58/+87 |
| | |||||
* | Add comments to the Base32 encoder code | Rutger Broekhoff | 2021-05-22 | 1 | -13/+53 |
| | |||||
* | Make Base32 encoder more like the standard library | Rutger Broekhoff | 2021-05-22 | 2 | -25/+33 |
| | |||||
* | Make Base32 encoder an iterator | Rutger Broekhoff | 2021-05-22 | 2 | -36/+72 |
| | |||||
* | Partially test parseDecoratedJwt | Rutger Broekhoff | 2021-05-21 | 1 | -0/+4 |
| | |||||
* | Make creds file parsing work | Rutger Broekhoff | 2021-05-21 | 1 | -3/+11 |
| | |||||
* | Initial commit | Rutger Broekhoff | 2021-05-21 | 4 | -0/+1157 |