No description
Find a file
Adam Ierymenko a7d1176bed
Merge work branch for Address and Identity re-work, controller simplification (#1945)
* Move some stuff around in prep for a VL2 rework and identity rework.

* Mix ephemeral keys into "h"

* More topology stuff for VL2.

* Simplify key queue, fix macOS issues with bindings, and no need to cache PSK forever.

* Some more merge fixes.

* A bunch of ZSSP cleanup and optimization. Runs a bit faster now.

* Remove some unused util code.

* scatter gather stuff

* The scatter/gather algorithm works.

* Make OpenSSL init get called automatically at process launch, and some more scatter gather work.

* added support for cloning on EcKey

* Scatter/gather, move SG into VL2 since that is where it will be used, add an array chunker to utils::memory

* Simplify some Rust generic madness.

* docs

* Some cleanup and reorg.

* Bring back AES-GMAC-SIV tests.

* Turns out a Mutex is not really any slower...

* A whole heap of changes including: addresses are now 48 bits, base64 is gone, and rewrote Identity for simplification.

* Almost done refactoring for long form addresses, etc.

* Add missing file.

* Loads more V2 work on address encoding, full vs partial addresses, WHOIS.

* Finish huge network hypervisor refactor.

* Build fixes, add more parsing and serialization to Identity.

* Updates to controller, get rid of compile errors w/Address and NetworkId changes.

* More build fixes.

* Split off VL1 API traits into a separate file, remove ?Sized from some traits as it is unnecessary and causes issues, cleanup.

* Merge vl1-service into service for simplicity and because they are parts of the same thing.

* Rewrite fileDB to be simpler in controller. Simplify controller. ZOMG IT BUILDS AND TESTS PASS.

---------

Co-authored-by: mamoniot <mamoniot@protonmail.com>
2023-03-29 12:48:39 -04:00
.github tweaking github build 2023-01-12 19:26:13 +01:00
artwork Some docs, assert AES IV is 96 bits since anything else has security issues. 2022-11-30 09:43:31 -05:00
attic Merge work branch for Address and Identity re-work, controller simplification (#1945) 2023-03-29 12:48:39 -04:00
ci initial test harness 2022-11-29 16:16:40 +01:00
controller Merge work branch for Address and Identity re-work, controller simplification (#1945) 2023-03-29 12:48:39 -04:00
crypto Merge work branch for Address and Identity re-work, controller simplification (#1945) 2023-03-29 12:48:39 -04:00
network-hypervisor Merge work branch for Address and Identity re-work, controller simplification (#1945) 2023-03-29 12:48:39 -04:00
openssl-sys cargo fmt 2023-03-10 09:40:26 +01:00
service Merge work branch for Address and Identity re-work, controller simplification (#1945) 2023-03-29 12:48:39 -04:00
utils Merge work branch for Address and Identity re-work, controller simplification (#1945) 2023-03-29 12:48:39 -04:00
zssp implemented better lookup 2023-03-23 13:34:28 -04:00
.drone.jsonnet removing mips64le (#1900) 2023-03-10 10:03:07 +01:00
.drone.yml removing mips64le (#1900) 2023-03-10 10:03:07 +01:00
.gitignore Ignore all subfolder Cargo.lock 2022-06-30 15:03:46 -04:00
Cargo.toml Merge work branch for Address and Identity re-work, controller simplification (#1945) 2023-03-29 12:48:39 -04:00
LICENSE.md Update license and copyright for a project not yet actually released. Final release license TBD. 2022-05-21 13:04:07 -04:00
Makefile initial test harness 2022-11-29 16:16:40 +01:00
README.md README cleanup 2023-01-13 12:23:02 +01:00
rustfmt.toml silence compiler warnings about _unused_variables (#1852) 2023-03-03 13:47:22 -05:00

tetanus: work-in-progress repo for ZeroTier v2

Rust

This repository contains the work-in-progress ZeroTier v2 code base, which is implemented in (almost) pure Rust.

DO NOT expect this code to work or be useful for anything yet. Also note that it does not yet have an open source license. We are planning on licensing it under one when it's released, but for now it's just copyright ZeroTier. (We're considering the MPL and a few other options.)

Eventually the plan is that this repository will be merged back into the main repo as a branch and then this branch will become the new release, replacing the current v1 code base. Until then, feel free to look around.

Once again: do not expect this to be done and do not try to post bug reports about it. It's very much under construction.