aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix CILibravatar Rutger Broekhoff2023-12-041-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.0Libravatar Rutger Broekhoff2023-11-013-15/+15
|
* Make compatible with Zig devLibravatar Rutger Broekhoff2022-11-011-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.0Libravatar Rutger Broekhoff2022-10-311-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.1Libravatar Rutger Broekhoff2021-09-201-4/+4
|
* Remove unused parameters and variablesLibravatar Rutger Broekhoff2021-07-021-6/+4
|
* Use `.{ ... }` for struct init where possibleLibravatar Rutger Broekhoff2021-05-281-7/+7
|
* Fix commentLibravatar Rutger Broekhoff2021-05-281-1/+1
|
* Prevent overflow calculating Base32-decoded sizeLibravatar Rutger Broekhoff2021-05-281-2/+11
|
* Move src/lib.zig to src/main.zig, release 0.2.00.2.0Libravatar Rutger Broekhoff2021-05-261-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-16Libravatar Rutger Broekhoff2021-05-261-2/+2
|
* Allow generating seeds with custom entropyLibravatar Rutger Broekhoff2021-05-261-1/+8
|
* Prepare for 0.1.0 release0.1.0Libravatar Rutger Broekhoff2021-05-251-0/+0
|
* Give all tests namesLibravatar Rutger Broekhoff2021-05-251-2/+2
|
* Update formatting slightlyLibravatar Rutger Broekhoff2021-05-251-27/+6
|
* Put the znk tool into a different directoryLibravatar Rutger Broekhoff2021-05-251-507/+0
|
* Clean up a few small-ish thingsLibravatar Rutger Broekhoff2021-05-252-13/+11
|
* Clean up janky prefix byte APILibravatar Rutger Broekhoff2021-05-252-131/+134
|
* snake_case for fields of tagged unionsLibravatar Rutger Broekhoff2021-05-251-16/+16
|
* Reorder src/nkeys.zigLibravatar Rutger Broekhoff2021-05-251-47/+47
|
* Rename tagged union fields in znkLibravatar Rutger Broekhoff2021-05-252-18/+30
|
* Write a few more testsLibravatar Rutger Broekhoff2021-05-252-54/+90
|
* Write a few more tests, rename a few functionsLibravatar Rutger Broekhoff2021-05-252-36/+234
|
* Rename things once againLibravatar Rutger Broekhoff2021-05-242-28/+34
|
* Support private keys in znkLibravatar Rutger Broekhoff2021-05-241-27/+27
|
* Add PrivateKey, use Ed25519.KeyPair in SeedKeyPairLibravatar Rutger Broekhoff2021-05-242-135/+160
|
* Validate output of parseDecorated* in testLibravatar Rutger Broekhoff2021-05-241-7/+23
|
* Remove some unnecessary codeLibravatar Rutger Broekhoff2021-05-242-17/+6
|
* Remove unnecessary call to @setEvalBranchQuotaLibravatar Rutger Broekhoff2021-05-241-2/+0
|
* Clean up moreLibravatar Rutger Broekhoff2021-05-243-107/+88
| | | | | Clean up unnecessary error unions, generate allowed characters table for credentials file sections at compile time.
* Run zig fmtLibravatar Rutger Broekhoff2021-05-221-1/+1
|
* Generate CRC-16 table at compile timeLibravatar Rutger Broekhoff2021-05-221-38/+22
|
* Simplify znk mainLibravatar Rutger Broekhoff2021-05-221-19/+4
|
* Clean upLibravatar Rutger Broekhoff2021-05-223-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 decoderLibravatar Rutger Broekhoff2021-05-221-5/+15
|
* Document the Base32 decoderLibravatar Rutger Broekhoff2021-05-221-43/+67
|
* Rewrite Base32 decoderLibravatar Rutger Broekhoff2021-05-222-58/+87
|
* Add comments to the Base32 encoder codeLibravatar Rutger Broekhoff2021-05-221-13/+53
|
* Make Base32 encoder more like the standard libraryLibravatar Rutger Broekhoff2021-05-222-25/+33
|
* Make Base32 encoder an iteratorLibravatar Rutger Broekhoff2021-05-222-36/+72
|
* Partially test parseDecoratedJwtLibravatar Rutger Broekhoff2021-05-211-0/+4
|
* Make creds file parsing workLibravatar Rutger Broekhoff2021-05-211-3/+11
|
* Initial commitLibravatar Rutger Broekhoff2021-05-214-0/+1157