Commit graph

5878 commits

Author SHA1 Message Date
Erik Hollensbe
7f5de4c2e5
Merge pull request #4 from zerotier/rustfmt
Rustfmt entire tree
2022-04-18 14:24:10 -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
f1439980e3
reduce iblt merge_sets CAPACITY to 4096 so tests pass
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 14:21:40 -07:00
Erik Hollensbe
61c00edd5c
remove nightly requirements from rustfmt.toml
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 14:21:10 -07:00
Erik Hollensbe
ef6512cbea
make fmt make task
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 14:21:10 -07:00
Erik Hollensbe
17ea66f255
Merge pull request #3 from zerotier/fix-tests-on-linux
Fix tests on linux
2022-04-18 14:16:10 -07:00
Erik Hollensbe
17594ca5e1
Add a make test target
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 10:57:11 -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
d8ea29319a
docs 2022-04-12 15:27:59 -04:00
Adam Ierymenko
d1d44d1d81
Minor fix 2022-04-12 15:09:22 -04:00
Adam Ierymenko
2dd2bb86d9
docs 2022-04-12 14:39:53 -04:00
Adam Ierymenko
725972bb54
Make IBLT take items of any size and make it more general so it can be a good stand alone library. 2022-04-12 14:32:04 -04:00
Adam Ierymenko
58f13680e4
clean up 2022-04-12 09:32:53 -04:00
Adam Ierymenko
536d046e16
Fixes... 2022-04-11 17:13:54 -04:00
Adam Ierymenko
ce75466aff
Merge branch 'master' of github.com:zerotier/tetanus 2022-04-11 16:33:07 -04:00
Adam Ierymenko
29beb39d94
commit changes before merge 2022-04-11 16:32:58 -04:00
Adam Ierymenko
6d40f7924b
Merge pull request #1 from zerotier/library-iblt
Move iblt routines to a separate library
2022-04-11 16:32:23 -04:00
Erik Hollensbe
65489ee06f
Move iblt routines to a separate library
I was hoping to try this out a bit; hope the patch is welcome. I made
the necessary additions to move it, but tried to not jostle around too
much otherwise.

Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-09 20:05:36 -07:00
Adam Ierymenko
e22afcd23b
Docs and cleanup. 2022-04-08 11:01:17 -04:00
Adam Ierymenko
1fa5a0dc5e
Git ignore cleanup. 2022-04-08 09:24:31 -04:00
Adam Ierymenko
a1ed223dd1
Cleanup. 2022-04-08 09:23:54 -04:00
Adam Ierymenko
6f7901a508
Lots more sync work. 2022-04-08 09:22:31 -04:00
Adam Ierymenko
aba212fd87
Loads of syncwhole work. 2022-03-30 15:46:17 -04:00
Adam Ierymenko
1913d956b3
sync 2022-03-11 14:25:33 -05:00
Adam Ierymenko
2158675fd2
A bunch more syncwhole work and self test code. 2022-03-08 18:40:09 -05:00
Adam Ierymenko
44f42ef608
More sync stuff. 2022-03-02 16:15:34 -05:00
Adam Ierymenko
ee6fc671e4
Sync stuff. 2022-03-01 16:24:49 -05: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
92372799aa
More moving out of repo 2022-01-14 17:15:19 -05:00
Adam Ierymenko
a956dbd4be
Move sync library out of this repo. 2022-01-14 17:15:01 -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