David Vennik
d0accd1f80
Massive restructure of message addressing scheme and eliminating cruft from packet
2022-12-11 22:55:17 +01:00
David Vennik
924190ef78
Changed all fixed length bytes into arrays
2022-12-11 21:50:35 +01:00
David Vennik
b3b470014b
Switched everything to include faster derived key instead of signature
2022-12-10 13:20:31 +01:00
David Vennik
545482e950
Added message type byte and changed ECDH parameter to a pubkey instead of sig
2022-12-10 10:34:32 +01:00
David Vennik
bbefa3dcb4
Created separate encoder for messages
2022-12-09 11:29:44 +01:00
David Vennik
b4ac407e6e
Split packet and segmenting library
2022-11-24 09:26:44 +01:00
David Vennik
c4677f8bf6
Removed return key to generalise the message encoding for message subtypes
2022-11-24 09:02:05 +01:00
David Vennik
d8539e3a1e
Moved client and relay together with onion, starting Circuit
2022-11-20 11:55:36 +01:00
David Vennik
806b383160
Added godoc headers to all repo packages
2022-11-18 23:57:19 +01:00
David Vennik
2166a7d0c2
Made key roller and signing benchmarks
2022-11-14 16:16:24 +01:00
David Vennik
3851146536
Messages now have return public key embedded
2022-11-14 08:21:11 +01:00
David Vennik
fba254fe06
eliminated slice side effect from cloaked keys
2022-11-12 11:23:02 +01:00
David Vennik
dedbc78080
Now updated To field to addressbytes
2022-11-11 21:32:08 +01:00
David Vennik
1b19fb1db4
removed seen stuff
2022-11-11 20:59:56 +01:00
David Vennik
274f410023
reverted message to working state
2022-11-11 20:47:48 +01:00
David Vennik
4e97db1326
Created packet frame protocol specification
...
explanation of addresses and signers
2022-11-11 06:42:37 +01:00
David Vennik
b5c3e1c6eb
Now fully working join and split with encrypted metadata
2022-11-10 14:17:22 +01:00
David Vennik
506b003a0a
Fully working segmenter correctly handles any parity ratio
2022-11-10 07:21:21 +01:00
David Vennik
294224935a
Changed message packet format to encrypt metadata
2022-11-09 08:23:38 +01:00
David Vennik
5292345b74
Cleaning up commented out code and log prints
2022-11-08 11:26:08 +01:00
David Vennik
2865f46497
fixed segmentation bug related to a segment precisely filling one segment
2022-11-07 17:10:00 +01:00
David Vennik
eb6aba20f0
fixed mutation of original data packet in split function
2022-11-03 16:33:32 +01:00
David Vennik
320b97bf6b
Part way done with joiner, need to revise header for segmenter
2022-11-02 16:09:12 +01:00
David Vennik
fcc8edbe57
Nice splitter using new segment calculator done
2022-10-31 15:41:25 +01:00
David Vennik
eee5a5d6b2
Beginning with the 8 bit redundancy scale scheme
2022-10-25 09:24:56 +02:00
David Vennik
b31151172e
Changed splitter to pad out to multiples of 4
2022-10-24 09:51:18 +02:00
David Vennik
fd114c8485
completed working segmenter
2022-10-23 19:57:03 +02:00
David Vennik
43c054afdd
Adding padding
2022-10-23 13:57:49 +02:00
David Vennik
410ba2c5ca
Drafted segmenter, rejigged packet data sizes
...
needed to get extra 2 bytes for payload length value, shortened data/parity shard spec to bytes, payload length before nonce so nonce is on 16 byte boundary as well as payload
2022-10-23 10:50:13 +02:00
David Vennik
17a766502d
starting on segmenter
2022-10-22 20:19:04 +02:00
David Vennik
dad5abeb5c
Added Tot for Seq and RS params
2022-10-22 17:03:00 +02:00
David Vennik
fff3b54114
Should be stable encrypted packet format now
...
ready to create segmentation/RS api
2022-10-22 12:12:02 +02:00
David Vennik
eb3cda0166
Working tests for encryption/signing
2022-10-21 16:34:07 +02:00
David Vennik
e4633df63e
Total revision of everything to consistency
...
all functions nicely commented, utility functions to be more DRY
2022-10-21 11:37:21 +02:00