]> Cypherpunks repositories - keks.git/log
keks.git
2 months agoTests fixes, refactoring, additions
Anton Rudenko [Fri, 31 Jan 2025 07:51:13 +0000 (10:51 +0300)]
Tests fixes, refactoring, additions

2 months agotest changes
Anton Rudenko [Thu, 30 Jan 2025 12:39:08 +0000 (15:39 +0300)]
test changes

2 months agoadd new error types
Anton Rudenko [Thu, 30 Jan 2025 12:31:31 +0000 (15:31 +0300)]
add new error types

2 months agoUnify copyright notice in tests
Sergey Matveev [Tue, 21 Jan 2025 09:01:54 +0000 (12:01 +0300)]
Unify copyright notice in tests

2 months agogo fmt
Sergey Matveev [Tue, 21 Jan 2025 08:55:10 +0000 (11:55 +0300)]
go fmt

2 months agoadd tests
RudenkoAD [Mon, 20 Jan 2025 08:32:15 +0000 (11:32 +0300)]
add tests

2 months agoTiny optimisation of bad map keys check
Sergey Matveev [Tue, 21 Jan 2025 08:40:14 +0000 (11:40 +0300)]
Tiny optimisation of bad map keys check

2 months agocheck for bad keys when encoding map
Anton Rudenko [Mon, 20 Jan 2025 14:30:08 +0000 (17:30 +0300)]
check for bad keys when encoding map

2 months agoMove unscoped variable to condition check
Sergey Matveev [Tue, 21 Jan 2025 08:15:51 +0000 (11:15 +0300)]
Move unscoped variable to condition check

That will also check ctx.opts only if this is Str.

2 months agocheck utf8 by default
RudenkoAD [Mon, 20 Jan 2025 08:30:56 +0000 (11:30 +0300)]
check utf8 by default

3 months agoOptional "when"
Sergey Matveev [Sun, 26 Jan 2025 17:43:25 +0000 (20:43 +0300)]
Optional "when"

3 months agoDraft -merkle hashing modes
Sergey Matveev [Sun, 26 Jan 2025 15:01:13 +0000 (18:01 +0300)]
Draft -merkle hashing modes

3 months agoAbility to get bind value conveniently
Sergey Matveev [Fri, 24 Jan 2025 13:33:17 +0000 (16:33 +0300)]
Ability to get bind value conveniently

3 months agoProperly prehashed signatures
Sergey Matveev [Fri, 24 Jan 2025 08:55:22 +0000 (11:55 +0300)]
Properly prehashed signatures

3 months agoRevised detached signatures
Sergey Matveev [Thu, 23 Jan 2025 08:55:35 +0000 (11:55 +0300)]
Revised detached signatures

3 months agoReinitialise items every time
Sergey Matveev [Thu, 23 Jan 2025 10:46:53 +0000 (13:46 +0300)]
Reinitialise items every time

3 months agoStrip long tail
Sergey Matveev [Thu, 23 Jan 2025 08:05:59 +0000 (11:05 +0300)]
Strip long tail

3 months agoAbility to limit number of parse cycles
Sergey Matveev [Thu, 23 Jan 2025 07:47:24 +0000 (10:47 +0300)]
Ability to limit number of parse cycles

3 months agoTry pp till EOF
Sergey Matveev [Thu, 23 Jan 2025 07:19:22 +0000 (10:19 +0300)]
Try pp till EOF

3 months ago"begin" is better sounding
Sergey Matveev [Thu, 23 Jan 2025 07:06:51 +0000 (10:06 +0300)]
"begin" is better sounding

3 months agoLong strings are seldom needed in output
Sergey Matveev [Thu, 23 Jan 2025 07:05:59 +0000 (10:05 +0300)]
Long strings are seldom needed in output

3 months agoLess @anchors
Sergey Matveev [Wed, 22 Jan 2025 14:56:40 +0000 (17:56 +0300)]
Less @anchors

3 months agoAdd Magic
Sergey Matveev [Wed, 22 Jan 2025 12:07:32 +0000 (15:07 +0300)]
Add Magic

3 months agoStrip off "keks" from utilities names
Sergey Matveev [Wed, 22 Jan 2025 09:59:19 +0000 (12:59 +0300)]
Strip off "keks" from utilities names

3 months agoHKDF in gost3410-kexp15
Sergey Matveev [Wed, 22 Jan 2025 09:11:45 +0000 (12:11 +0300)]
HKDF in gost3410-kexp15

3 months agoenveloped-data
Sergey Matveev [Sat, 18 Jan 2025 14:48:43 +0000 (17:48 +0300)]
enveloped-data

3 months agoMove KEKSAtom definition to apropriate header
Sergey Matveev [Thu, 16 Jan 2025 12:55:24 +0000 (15:55 +0300)]
Move KEKSAtom definition to apropriate header

3 months agoRemove unused variable
Sergey Matveev [Thu, 16 Jan 2025 11:34:41 +0000 (14:34 +0300)]
Remove unused variable

3 months agoRename to shorter understandable names
Sergey Matveev [Thu, 16 Jan 2025 08:05:30 +0000 (11:05 +0300)]
Rename to shorter understandable names

3 months agoFix item names
Sergey Matveev [Thu, 16 Jan 2025 08:07:46 +0000 (11:07 +0300)]
Fix item names

3 months agoFix typo in name
Sergey Matveev [Thu, 16 Jan 2025 09:32:56 +0000 (12:32 +0300)]
Fix typo in name

3 months agotextdump-tester
Sergey Matveev [Tue, 14 Jan 2025 12:03:44 +0000 (15:03 +0300)]
textdump-tester

3 months agoAdditional TAI64NA generation strategy
Sergey Matveev [Tue, 14 Jan 2025 12:33:16 +0000 (15:33 +0300)]
Additional TAI64NA generation strategy

3 months agoAdditional BLOB generation won't hurt
Sergey Matveev [Tue, 14 Jan 2025 11:42:29 +0000 (14:42 +0300)]
Additional BLOB generation won't hurt

3 months agoSlightly shorter big.Int initialisation
Sergey Matveev [Tue, 14 Jan 2025 10:20:34 +0000 (13:20 +0300)]
Slightly shorter big.Int initialisation

3 months agoDo not modify big.Int during encoding
Sergey Matveev [Tue, 14 Jan 2025 10:20:55 +0000 (13:20 +0300)]
Do not modify big.Int during encoding

3 months agoSimplify ≥0 check
Sergey Matveev [Tue, 14 Jan 2025 10:19:54 +0000 (13:19 +0300)]
Simplify ≥0 check

3 months agoAbility to skip UTC→TAI conversion during encoding
Sergey Matveev [Tue, 14 Jan 2025 08:38:11 +0000 (11:38 +0300)]
Ability to skip UTC→TAI conversion during encoding

3 months agoHonest bytewise map's key ordering
Sergey Matveev [Tue, 14 Jan 2025 08:22:38 +0000 (11:22 +0300)]
Honest bytewise map's key ordering

3 months agoAbility to skip TAI→UTC conversion
Sergey Matveev [Tue, 14 Jan 2025 08:10:22 +0000 (11:10 +0300)]
Ability to skip TAI→UTC conversion

3 months agoLess stateful BLOB decoding
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.

3 months agoAdd missing anchors
Sergey Matveev [Fri, 10 Jan 2025 14:20:11 +0000 (17:20 +0300)]
Add missing anchors

3 months agoFix pki/cer.c workability
Sergey Matveev [Fri, 10 Jan 2025 13:26:00 +0000 (16:26 +0300)]
Fix pki/cer.c workability

3 months agoAdd optional offsets storage
Sergey Matveev [Wed, 8 Jan 2025 16:02:22 +0000 (19:02 +0300)]
Add optional offsets storage

4 months agoUnify Go and C printers output
Sergey Matveev [Fri, 27 Dec 2024 12:31:50 +0000 (15:31 +0300)]
Unify Go and C printers output

4 months agoGo implementation has fewer limitations
Sergey Matveev [Fri, 27 Dec 2024 09:14:23 +0000 (12:14 +0300)]
Go implementation has fewer limitations

4 months agoHighly optimised and revised Go's decoding/encoding
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.

4 months agoMinor trivial changes to documentation
Sergey Matveev [Wed, 25 Dec 2024 09:00:42 +0000 (12:00 +0300)]
Minor trivial changes to documentation

4 months agoNo need in Raw's tag separation from the body
Sergey Matveev [Wed, 18 Dec 2024 08:02:55 +0000 (11:02 +0300)]
No need in Raw's tag separation from the body

4 months agoStatic linking is good
Sergey Matveev [Mon, 16 Dec 2024 15:23:59 +0000 (18:23 +0300)]
Static linking is good

4 months agoInclude run time in totals
Sergey Matveev [Mon, 16 Dec 2024 15:23:37 +0000 (18:23 +0300)]
Include run time in totals

4 months agoExplicitly set items initial capacity
Sergey Matveev [Mon, 16 Dec 2024 15:21:42 +0000 (18:21 +0300)]
Explicitly set items initial capacity

4 months agoDecode context options
Sergey Matveev [Mon, 16 Dec 2024 13:39:26 +0000 (16:39 +0300)]
Decode context options

4 months agoAdd missing copyright information
Sergey Matveev [Mon, 16 Dec 2024 08:22:10 +0000 (11:22 +0300)]
Add missing copyright information

4 months agoGreat renaming
Sergey Matveev [Sun, 15 Dec 2024 17:57:09 +0000 (20:57 +0300)]
Great renaming

4 months agoCheck mk-fuzz-inputs output
Sergey Matveev [Sun, 15 Dec 2024 16:55:54 +0000 (19:55 +0300)]
Check mk-fuzz-inputs output

4 months agoStreaming BLOBs
Sergey Matveev [Sun, 15 Dec 2024 16:26:37 +0000 (19:26 +0300)]
Streaming BLOBs

4 months agoHexadecimal encoding is easier to read
Sergey Matveev [Sun, 15 Dec 2024 16:24:59 +0000 (19:24 +0300)]
Hexadecimal encoding is easier to read

4 months agoStreaming encoding/decoding
Sergey Matveev [Sun, 15 Dec 2024 13:30:24 +0000 (16:30 +0300)]
Streaming encoding/decoding

4 months agoCover ErrInvalid in switches
Sergey Matveev [Sun, 15 Dec 2024 10:01:05 +0000 (13:01 +0300)]
Cover ErrInvalid in switches

4 months agoLess panics
Sergey Matveev [Sun, 15 Dec 2024 09:49:56 +0000 (12:49 +0300)]
Less panics

4 months agoRemove excess expectEOC state
Sergey Matveev [Sun, 15 Dec 2024 08:58:26 +0000 (11:58 +0300)]
Remove excess expectEOC state

4 months agoUnroll loops
Sergey Matveev [Fri, 13 Dec 2024 18:04:07 +0000 (21:04 +0300)]
Unroll loops

4 months agoAdd invalid item type for zeroed memory
Sergey Matveev [Sun, 15 Dec 2024 08:32:21 +0000 (11:32 +0300)]
Add invalid item type for zeroed memory

4 months agoRemove unneeded code
Sergey Matveev [Sun, 15 Dec 2024 08:32:18 +0000 (11:32 +0300)]
Remove unneeded code

4 months agoMissing quotes
Sergey Matveev [Fri, 13 Dec 2024 17:44:55 +0000 (20:44 +0300)]
Missing quotes

4 months agoRemove excess "pki" prefix from the namespace
Sergey Matveev [Thu, 12 Dec 2024 18:07:29 +0000 (21:07 +0300)]
Remove excess "pki" prefix from the namespace

4 months agoLeave -algo default value for convenience
Sergey Matveev [Thu, 12 Dec 2024 17:59:48 +0000 (20:59 +0300)]
Leave -algo default value for convenience

4 months agoMake clean scripts source directory agnostic
Sergey Matveev [Thu, 12 Dec 2024 14:19:51 +0000 (17:19 +0300)]
Make clean scripts source directory agnostic

4 months agoMissing clean call
Sergey Matveev [Thu, 12 Dec 2024 13:29:14 +0000 (16:29 +0300)]
Missing clean call

4 months agoMissing break
Sergey Matveev [Thu, 12 Dec 2024 13:25:21 +0000 (16:25 +0300)]
Missing break

4 months agoRefactor and reorganise yacpki
Sergey Matveev [Thu, 12 Dec 2024 13:00:58 +0000 (16:00 +0300)]
Refactor and reorganise yacpki

Mainly move cryptography-related code outside.

4 months agoPrettier panic output
Sergey Matveev [Thu, 12 Dec 2024 09:55:40 +0000 (12:55 +0300)]
Prettier panic output

4 months agoNon exportable const
Sergey Matveev [Thu, 12 Dec 2024 09:55:28 +0000 (12:55 +0300)]
Non exportable const

4 months agoProperly regrouped imports
Sergey Matveev [Thu, 12 Dec 2024 10:14:16 +0000 (13:14 +0300)]
Properly regrouped imports

4 months agoMore docstrings
Sergey Matveev [Thu, 12 Dec 2024 09:55:15 +0000 (12:55 +0300)]
More docstrings

4 months agoLess pointers
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.

4 months agoLeave less junk after creating testdata
Sergey Matveev [Thu, 12 Dec 2024 09:35:37 +0000 (12:35 +0300)]
Leave less junk after creating testdata

4 months agoBig code reorganisation
Sergey Matveev [Wed, 11 Dec 2024 15:46:04 +0000 (18:46 +0300)]
Big code reorganisation

Much more clearer separated types.

4 months agoFuzz program for cyac
Sergey Matveev [Wed, 11 Dec 2024 13:51:04 +0000 (16:51 +0300)]
Fuzz program for cyac

4 months agoConsider possible tail existence
Sergey Matveev [Wed, 11 Dec 2024 13:41:13 +0000 (16:41 +0300)]
Consider possible tail existence

4 months agoWider code fuzz coverage
Sergey Matveev [Wed, 11 Dec 2024 13:27:17 +0000 (16:27 +0300)]
Wider code fuzz coverage

4 months agoFix an endless cycle
Sergey Matveev [Wed, 11 Dec 2024 13:26:39 +0000 (16:26 +0300)]
Fix an endless cycle

4 months agoFix reflected value type
Sergey Matveev [Wed, 11 Dec 2024 13:09:37 +0000 (16:09 +0300)]
Fix reflected value type

4 months agoCombine single error
Sergey Matveev [Wed, 11 Dec 2024 13:00:58 +0000 (16:00 +0300)]
Combine single error

4 months agoSimpler encode API
Sergey Matveev [Wed, 11 Dec 2024 12:59:21 +0000 (15:59 +0300)]
Simpler encode API

4 months agoDo not allow lonely EOC
Sergey Matveev [Wed, 11 Dec 2024 12:50:58 +0000 (15:50 +0300)]
Do not allow lonely EOC

4 months agoMissing buffer size check
Sergey Matveev [Wed, 11 Dec 2024 11:43:34 +0000 (14:43 +0300)]
Missing buffer size check

Found immediately by fuzz test.

4 months agoKeep test-related code in tests
Sergey Matveev [Wed, 11 Dec 2024 11:15:17 +0000 (14:15 +0300)]
Keep test-related code in tests

4 months agoHasher field must be publicly accessible
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.

4 months agoProtection from recursion DoS
Sergey Matveev [Thu, 5 Dec 2024 12:12:57 +0000 (15:12 +0300)]
Protection from recursion DoS

5 months agoYet another tiny optimisation
Sergey Matveev [Thu, 5 Dec 2024 10:43:41 +0000 (13:43 +0300)]
Yet another tiny optimisation

5 months agoFuzzing related scripts
Sergey Matveev [Thu, 5 Dec 2024 09:57:38 +0000 (12:57 +0300)]
Fuzzing related scripts

5 months agoTrivial tiny performance optimisations
Sergey Matveev [Thu, 5 Dec 2024 09:56:37 +0000 (12:56 +0300)]
Trivial tiny performance optimisations

5 months agoAbility to set leapsecUTCAllow from CLI
Sergey Matveev [Thu, 5 Dec 2024 09:39:00 +0000 (12:39 +0300)]
Ability to set leapsecUTCAllow from CLI

5 months agoPrevent uncaught recursion limits during decoding
Sergey Matveev [Wed, 4 Dec 2024 16:14:46 +0000 (19:14 +0300)]
Prevent uncaught recursion limits during decoding

5 months agoCheck that leapsecUTCAllow is propagated everywhere
Sergey Matveev [Wed, 4 Dec 2024 16:02:44 +0000 (19:02 +0300)]
Check that leapsecUTCAllow is propagated everywhere

5 months agoSimpler and more robust datetime overflow check
Sergey Matveev [Wed, 4 Dec 2024 13:17:07 +0000 (16:17 +0300)]
Simpler and more robust datetime overflow check

5 months agoMonocypher-based cyac ed25519-blake2b cer-verify
Sergey Matveev [Wed, 4 Dec 2024 12:26:23 +0000 (15:26 +0300)]
Monocypher-based cyac ed25519-blake2b cer-verify

5 months agoAdd various suggested hash algorithms and Ed25519-BLAKE2b scheme
Sergey Matveev [Sat, 30 Nov 2024 14:54:44 +0000 (17:54 +0300)]
Add various suggested hash algorithms and Ed25519-BLAKE2b scheme