Commit graph

70 commits

Author SHA1 Message Date
Adam Ierymenko
1f79a2a707
A bunch of reorg and other cleanup. 2022-04-29 16:19:21 -04:00
Adam Ierymenko
6d232f817c
Some renaming to be logical. 2022-04-28 14:03:48 -04:00
Adam Ierymenko
b1f67b13f9
Fix a weird little bug (actually incompatibility with the old code) in x25519 handling in identity, and more cleanup. 2022-04-28 13:52:00 -04:00
Adam Ierymenko
0397440022
Add serde support to Endpoint. 2022-04-27 17:17:36 -04:00
Adam Ierymenko
b53dc62aba
docs 2022-04-27 16:02:37 -04:00
Adam Ierymenko
85b5f0c5e0
Network ID object and some more cleanup. 2022-04-27 16:02:10 -04:00
Adam Ierymenko
6e55419581
Cleanup and implement some serde handlers for some common core data structures. 2022-04-27 15:09:21 -04:00
Adam Ierymenko
b346f3ff07
A bunch of nit-picky cleanup. 2022-04-27 12:54:58 -04:00
Adam Ierymenko
3bdefc1d83
Add a bunch of stuff to InetAddress, clean up, fix some build errors in service. 2022-04-26 16:19:10 -04:00
Erik Hollensbe
6d59dd77c4
blanket types Into<IpAddr> and Debug for InetAddress
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-22 02:52:15 -07:00
Erik Hollensbe
187b78b367
add debug impl for MAC type
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-21 18:04:08 -07:00
Erik Hollensbe
a453b25606
Support derives for Serialize/Deserialize for identity and address
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-20 19:12:25 -07:00
Erik Hollensbe
112d1be84d
various cleanups to get the full project closer to compiling
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 15:48:27 -07:00
Erik Hollensbe
c5b9036b9e
rustfmt tree
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 14:22:57 -07:00
Erik Hollensbe
a7272f5cba
initial test fixing on linux
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 10:54:02 -07:00
Adam Ierymenko
a1ed223dd1
Cleanup. 2022-04-08 09:23:54 -04:00
Adam Ierymenko
27389825da
syncwhole 2022-03-01 12:26:49 -05:00
Adam Ierymenko
4ca9e49b4a
Build fixes. 2022-02-21 17:06:24 -05:00
Adam Ierymenko
99b283651a
Peer stuff, and do not include signatures in identity in fingerprint in case signatures can be malleable. Fingerprint should be address and keys only. 2022-02-21 16:44:44 -05:00
Adam Ierymenko
c01581d316
Trim junk off test IDs. 2022-02-18 12:08:56 -05:00
Adam Ierymenko
d5be872491
Implement a hybrid key, rev identity again to make it upgradable. 2022-02-18 12:03:45 -05:00
Adam Ierymenko
a60e4838fe
Remove some premature optimization. 2022-02-17 11:59:15 -05:00
Adam Ierymenko
ca823e5fa3
Attic some stuff, cleanup. 2022-02-17 11:33:13 -05:00
Adam Ierymenko
4a6e88344c
(1) switch NIST curve to P-384 since there is no point in 521 and NSA may not even accept it, (2) simplify ephemeral key stuff, (3) toss some stuff in the attic. 2022-02-16 18:22:20 -05:00
Adam Ierymenko
06c0d452f4
Fix IBLT read/write and remove some warnings. 2022-01-29 15:04:26 -08:00
Adam Ierymenko
1a3d9a28a0
Build fixes. 2022-01-29 14:23:28 -08:00
Adam Ierymenko
700855424c
Move IBLT into core. It will probably get used there. 2022-01-29 13:36:33 -08:00
Adam Ierymenko
b15ecfd163
More renaming. 2022-01-14 17:52:55 -05:00
Adam Ierymenko
0ba8573177
Renaming, warning removal, and other boring things. 2022-01-14 17:49:55 -05:00
Adam Ierymenko
99611f8781
A bunch of simplification of logic. 2022-01-14 17:14:35 -05:00
Adam Ierymenko
07cfd12620
More cleanup and one more tweak to ephemeral keys. Add a ratchet counter to prevent replay attacks. 2022-01-13 13:01:44 -05:00
Adam Ierymenko
c39f38d818
Some cleanup and more testing for ephemeral ratchet. 2022-01-12 18:13:59 -05:00
Adam Ierymenko
5fb5c76694
Future proof the signature format. 2022-01-12 12:03:45 -05:00
Adam Ierymenko
7c4ad3ecbc
One more tweak to new identity format to rationalize it some more. 2022-01-12 11:40:14 -05:00
Adam Ierymenko
0aecf8ee22
Build fixes, remove some code, make new identity format a little cleaner. 2022-01-12 11:25:54 -05:00
Adam Ierymenko
6672257465
Clean up eq() and cmp(). 2022-01-11 15:16:28 -05:00
Adam Ierymenko
d8512181f7
More identity tests. 2022-01-11 14:24:42 -05:00
Adam Ierymenko
ca252cae74
Build fixes, more testing for identity. 2022-01-11 14:03:09 -05:00
Adam Ierymenko
95951ed14e
Replicator P2P code, and build fixes. 2022-01-10 16:17:40 -05:00
Adam Ierymenko
86c366f1bd
Much more Rust work on sync and hypervisor. 2022-01-07 11:26:12 -05:00
Adam Ierymenko
734e86dfed
Replicator code, and cleanup. 2021-12-16 15:39:18 -05:00
Adam Ierymenko
5fd0e2998b
Build fixes. 2021-12-13 15:45:02 -05:00
Adam Ierymenko
4a9938dfd3
Implement identity V1 so as to make it backward compatibile with old versions, and tons of build fixes. 2021-12-10 21:57:50 -05:00
Adam Ierymenko
018889d3b4
Rust edition bump. 2021-12-07 11:31:31 -05:00
Adam Ierymenko
9b71b354b0
More Rust stuff, cleanup, rework identity, add array concat convenience functions. 2021-12-07 11:20:39 -05:00
Adam Ierymenko
810a1fb229
Just a whole bucket of Rust. 2021-12-06 09:40:41 -05:00
Adam Ierymenko
c99fc2f36e
A few simplifications. 2021-11-30 16:52:22 -05:00
Adam Ierymenko
cf6ffdb894
docs 2021-11-29 16:56:30 -05:00
Adam Ierymenko
ea8b05fa65
Lots of reorganization of hypervisor, renaming, build fixes, more fixes and tweaks to ephemeral ratchet. 2021-11-18 13:10:52 -05:00
Adam Ierymenko
532d709b88
Simplify. 2021-11-17 15:56:41 -05:00