]>
Cypherpunks repositories - keks.git/log
Sergey Matveev [Thu, 16 Jan 2025 11:34:41 +0000 (14:34 +0300)]
Remove unused variable
Sergey Matveev [Thu, 16 Jan 2025 08:05:30 +0000 (11:05 +0300)]
Rename to shorter understandable names
Sergey Matveev [Thu, 16 Jan 2025 08:07:46 +0000 (11:07 +0300)]
Fix item names
Sergey Matveev [Thu, 16 Jan 2025 09:32:56 +0000 (12:32 +0300)]
Fix typo in name
Sergey Matveev [Tue, 14 Jan 2025 12:03:44 +0000 (15:03 +0300)]
textdump-tester
Sergey Matveev [Tue, 14 Jan 2025 12:33:16 +0000 (15:33 +0300)]
Additional TAI64NA generation strategy
Sergey Matveev [Tue, 14 Jan 2025 11:42:29 +0000 (14:42 +0300)]
Additional BLOB generation won't hurt
Sergey Matveev [Tue, 14 Jan 2025 10:20:34 +0000 (13:20 +0300)]
Slightly shorter big.Int initialisation
Sergey Matveev [Tue, 14 Jan 2025 10:20:55 +0000 (13:20 +0300)]
Do not modify big.Int during encoding
Sergey Matveev [Tue, 14 Jan 2025 10:19:54 +0000 (13:19 +0300)]
Simplify ≥0 check
Sergey Matveev [Tue, 14 Jan 2025 08:38:11 +0000 (11:38 +0300)]
Ability to skip UTC→TAI conversion during encoding
Sergey Matveev [Tue, 14 Jan 2025 08:22:38 +0000 (11:22 +0300)]
Honest bytewise map's key ordering
Sergey Matveev [Tue, 14 Jan 2025 08:10:22 +0000 (11:10 +0300)]
Ability to skip TAI→UTC conversion
Sergey Matveev [Fri, 10 Jan 2025 14:11:17 +0000 (17:11 +0300)]
Less stateful BLOB decoding
Replace NIL-prefixed BLOB's chunks encoding with ordinary BIN-encoding.
That way the whole file can be decoded by only calling atom decode
functions, without the need of keeping special inside-blob state.
Sergey Matveev [Fri, 10 Jan 2025 14:20:11 +0000 (17:20 +0300)]
Add missing anchors
Sergey Matveev [Fri, 10 Jan 2025 13:26:00 +0000 (16:26 +0300)]
Fix pki/cer.c workability
Sergey Matveev [Wed, 8 Jan 2025 16:02:22 +0000 (19:02 +0300)]
Add optional offsets storage
Sergey Matveev [Fri, 27 Dec 2024 12:31:50 +0000 (15:31 +0300)]
Unify Go and C printers output
Sergey Matveev [Fri, 27 Dec 2024 09:14:23 +0000 (12:14 +0300)]
Go implementation has fewer limitations
Sergey Matveev [Wed, 18 Dec 2024 14:27:43 +0000 (17:27 +0300)]
Highly optimised and revised Go's decoding/encoding
Much higher decoding performance.
Simplified encoding/decoding interfaces.
Get rid off atom/ and mapstruct/ packages.
Sergey Matveev [Wed, 25 Dec 2024 09:00:42 +0000 (12:00 +0300)]
Minor trivial changes to documentation
Sergey Matveev [Wed, 18 Dec 2024 08:02:55 +0000 (11:02 +0300)]
No need in Raw's tag separation from the body
Sergey Matveev [Mon, 16 Dec 2024 15:23:59 +0000 (18:23 +0300)]
Static linking is good
Sergey Matveev [Mon, 16 Dec 2024 15:23:37 +0000 (18:23 +0300)]
Include run time in totals
Sergey Matveev [Mon, 16 Dec 2024 15:21:42 +0000 (18:21 +0300)]
Explicitly set items initial capacity
Sergey Matveev [Mon, 16 Dec 2024 13:39:26 +0000 (16:39 +0300)]
Decode context options
Sergey Matveev [Mon, 16 Dec 2024 08:22:10 +0000 (11:22 +0300)]
Add missing copyright information
Sergey Matveev [Sun, 15 Dec 2024 17:57:09 +0000 (20:57 +0300)]
Great renaming
Sergey Matveev [Sun, 15 Dec 2024 16:55:54 +0000 (19:55 +0300)]
Check mk-fuzz-inputs output
Sergey Matveev [Sun, 15 Dec 2024 16:26:37 +0000 (19:26 +0300)]
Streaming BLOBs
Sergey Matveev [Sun, 15 Dec 2024 16:24:59 +0000 (19:24 +0300)]
Hexadecimal encoding is easier to read
Sergey Matveev [Sun, 15 Dec 2024 13:30:24 +0000 (16:30 +0300)]
Streaming encoding/decoding
Sergey Matveev [Sun, 15 Dec 2024 10:01:05 +0000 (13:01 +0300)]
Cover ErrInvalid in switches
Sergey Matveev [Sun, 15 Dec 2024 09:49:56 +0000 (12:49 +0300)]
Less panics
Sergey Matveev [Sun, 15 Dec 2024 08:58:26 +0000 (11:58 +0300)]
Remove excess expectEOC state
Sergey Matveev [Fri, 13 Dec 2024 18:04:07 +0000 (21:04 +0300)]
Unroll loops
Sergey Matveev [Sun, 15 Dec 2024 08:32:21 +0000 (11:32 +0300)]
Add invalid item type for zeroed memory
Sergey Matveev [Sun, 15 Dec 2024 08:32:18 +0000 (11:32 +0300)]
Remove unneeded code
Sergey Matveev [Fri, 13 Dec 2024 17:44:55 +0000 (20:44 +0300)]
Missing quotes
Sergey Matveev [Thu, 12 Dec 2024 18:07:29 +0000 (21:07 +0300)]
Remove excess "pki" prefix from the namespace
Sergey Matveev [Thu, 12 Dec 2024 17:59:48 +0000 (20:59 +0300)]
Leave -algo default value for convenience
Sergey Matveev [Thu, 12 Dec 2024 14:19:51 +0000 (17:19 +0300)]
Make clean scripts source directory agnostic
Sergey Matveev [Thu, 12 Dec 2024 13:29:14 +0000 (16:29 +0300)]
Missing clean call
Sergey Matveev [Thu, 12 Dec 2024 13:25:21 +0000 (16:25 +0300)]
Missing break
Sergey Matveev [Thu, 12 Dec 2024 13:00:58 +0000 (16:00 +0300)]
Refactor and reorganise yacpki
Mainly move cryptography-related code outside.
Sergey Matveev [Thu, 12 Dec 2024 09:55:40 +0000 (12:55 +0300)]
Prettier panic output
Sergey Matveev [Thu, 12 Dec 2024 09:55:28 +0000 (12:55 +0300)]
Non exportable const
Sergey Matveev [Thu, 12 Dec 2024 10:14:16 +0000 (13:14 +0300)]
Properly regrouped imports
Sergey Matveev [Thu, 12 Dec 2024 09:55:15 +0000 (12:55 +0300)]
More docstrings
Sergey Matveev [Thu, 12 Dec 2024 09:40:33 +0000 (12:40 +0300)]
Less pointers
Item, Raw, Blob are rather small structures, so an additional pointer
may hurt performance.
Sergey Matveev [Thu, 12 Dec 2024 09:35:37 +0000 (12:35 +0300)]
Leave less junk after creating testdata
Sergey Matveev [Wed, 11 Dec 2024 15:46:04 +0000 (18:46 +0300)]
Big code reorganisation
Much more clearer separated types.
Sergey Matveev [Wed, 11 Dec 2024 13:51:04 +0000 (16:51 +0300)]
Fuzz program for cyac
Sergey Matveev [Wed, 11 Dec 2024 13:41:13 +0000 (16:41 +0300)]
Consider possible tail existence
Sergey Matveev [Wed, 11 Dec 2024 13:27:17 +0000 (16:27 +0300)]
Wider code fuzz coverage
Sergey Matveev [Wed, 11 Dec 2024 13:26:39 +0000 (16:26 +0300)]
Fix an endless cycle
Sergey Matveev [Wed, 11 Dec 2024 13:09:37 +0000 (16:09 +0300)]
Fix reflected value type
Sergey Matveev [Wed, 11 Dec 2024 13:00:58 +0000 (16:00 +0300)]
Combine single error
Sergey Matveev [Wed, 11 Dec 2024 12:59:21 +0000 (15:59 +0300)]
Simpler encode API
Sergey Matveev [Wed, 11 Dec 2024 12:50:58 +0000 (15:50 +0300)]
Do not allow lonely EOC
Sergey Matveev [Wed, 11 Dec 2024 11:43:34 +0000 (14:43 +0300)]
Missing buffer size check
Found immediately by fuzz test.
Sergey Matveev [Wed, 11 Dec 2024 11:15:17 +0000 (14:15 +0300)]
Keep test-related code in tests
Sergey Matveev [Mon, 9 Dec 2024 12:28:13 +0000 (15:28 +0300)]
Hasher field must be publicly accessible
So external library users can use its GOSTSigner.
Sergey Matveev [Thu, 5 Dec 2024 12:12:57 +0000 (15:12 +0300)]
Protection from recursion DoS
Sergey Matveev [Thu, 5 Dec 2024 10:43:41 +0000 (13:43 +0300)]
Yet another tiny optimisation
Sergey Matveev [Thu, 5 Dec 2024 09:57:38 +0000 (12:57 +0300)]
Fuzzing related scripts
Sergey Matveev [Thu, 5 Dec 2024 09:56:37 +0000 (12:56 +0300)]
Trivial tiny performance optimisations
Sergey Matveev [Thu, 5 Dec 2024 09:39:00 +0000 (12:39 +0300)]
Ability to set leapsecUTCAllow from CLI
Sergey Matveev [Wed, 4 Dec 2024 16:14:46 +0000 (19:14 +0300)]
Prevent uncaught recursion limits during decoding
Sergey Matveev [Wed, 4 Dec 2024 16:02:44 +0000 (19:02 +0300)]
Check that leapsecUTCAllow is propagated everywhere
Sergey Matveev [Wed, 4 Dec 2024 13:17:07 +0000 (16:17 +0300)]
Simpler and more robust datetime overflow check
Sergey Matveev [Wed, 4 Dec 2024 12:26:23 +0000 (15:26 +0300)]
Monocypher-based cyac
ed25519 -blake2b cer-verify
Sergey Matveev [Sat, 30 Nov 2024 14:54:44 +0000 (17:54 +0300)]
Add various suggested hash algorithms and
Ed25519 -BLAKE2b scheme
Sergey Matveev [Tue, 3 Dec 2024 10:17:50 +0000 (13:17 +0300)]
Fix terminology
There is no general view on how to count the bit indexes.
Usually people use most/least significant bit terminology.
Sergey Matveev [Mon, 2 Dec 2024 16:00:37 +0000 (19:00 +0300)]
Dummy test for Raw-encoding coverage
Sergey Matveev [Mon, 2 Dec 2024 16:00:16 +0000 (19:00 +0300)]
More set-related coverage
Sergey Matveev [Sun, 1 Dec 2024 10:02:06 +0000 (13:02 +0300)]
Pure hex (non escaped) encoding is easier to read and more compact
Sergey Matveev [Sun, 1 Dec 2024 09:17:50 +0000 (12:17 +0300)]
Missing invalid UTF-8 strategies
Sergey Matveev [Sat, 30 Nov 2024 22:29:00 +0000 (01:29 +0300)]
Another compare optimisation
Instead of always checking of the length, do it only when error happens.
Sergey Matveev [Sat, 30 Nov 2024 20:10:32 +0000 (23:10 +0300)]
Add pyac-related tests
Sergey Matveev [Sat, 30 Nov 2024 20:10:18 +0000 (23:10 +0300)]
Note what exact version hypothesis was used
Sergey Matveev [Sat, 30 Nov 2024 20:08:11 +0000 (23:08 +0300)]
Add copyright information
Sergey Matveev [Sat, 30 Nov 2024 20:02:05 +0000 (23:02 +0300)]
Unify returned NotEnoughData sizes
NotEnoughData.n is decided to show how many *more* bytes we require,
not how many bytes at least at all is needed.
Sergey Matveev [Sat, 30 Nov 2024 19:37:13 +0000 (22:37 +0300)]
Add missing known TAI64 values
Sergey Matveev [Sat, 30 Nov 2024 19:26:04 +0000 (22:26 +0300)]
Slight optimisation, reduce calls to .keys()
Sergey Matveev [Sat, 30 Nov 2024 19:23:55 +0000 (22:23 +0300)]
Fix grammar
Key can not "contain" the string, but key can be the string.
Sergey Matveev [Sat, 30 Nov 2024 19:23:35 +0000 (22:23 +0300)]
Split TAI-related tests for each separate type
Sergey Matveev [Sat, 30 Nov 2024 19:02:51 +0000 (22:02 +0300)]
Missing non-minimal TAI64 testing
Sergey Matveev [Sat, 30 Nov 2024 18:58:02 +0000 (21:58 +0300)]
Replace hard-coded tests with symmetric ones
Sergey Matveev [Sat, 30 Nov 2024 18:46:13 +0000 (21:46 +0300)]
Split long lines
Sergey Matveev [Sat, 30 Nov 2024 18:44:11 +0000 (21:44 +0300)]
We can easily check exact Raw's value
Sergey Matveev [Sat, 30 Nov 2024 18:42:29 +0000 (21:42 +0300)]
Move Leapsec-related tests outside common ones
Because they are not directly involved in TAI-testing, but the
correctness of our database.
Sergey Matveev [Sat, 30 Nov 2024 18:37:13 +0000 (21:37 +0300)]
Explicitly check that length sorting works
Sergey Matveev [Sat, 30 Nov 2024 18:35:15 +0000 (21:35 +0300)]
Combine encode/decode tests
Because output data of the encode test is the input for the decode one.
Actually tests separation could be useful to determine where we are
failing, but verbose assertEqual failed message will show exactly where
we failed (either during encode or decode).
Sergey Matveev [Sat, 30 Nov 2024 18:34:54 +0000 (21:34 +0300)]
Move everything-strategy as it will be used
Sergey Matveev [Sat, 30 Nov 2024 18:24:43 +0000 (21:24 +0300)]
Rename test for clearness
Sergey Matveev [Sat, 30 Nov 2024 18:24:02 +0000 (21:24 +0300)]
More symmetric tests
Sergey Matveev [Sat, 30 Nov 2024 18:15:37 +0000 (21:15 +0300)]
Split long strings tests
Sergey Matveev [Sat, 30 Nov 2024 18:01:35 +0000 (21:01 +0300)]
Split strings testing
Binary and Unicode strings are two distinct data types.
However, of course, sharing big amount of code.
Sergey Matveev [Sat, 30 Nov 2024 18:01:13 +0000 (21:01 +0300)]
Single-test cases can omit test name