Commit graph

61 commits

Author SHA1 Message Date
Adam Ierymenko
f898029241
formatting, aes-gmac-siv crate 2021-07-14 15:38:37 -04:00
Adam Ierymenko
c3dd3bb7fc
... a bunch of stuff that has been sitting here for too long ... 2021-07-06 16:35:20 -04:00
Adam Ierymenko
0290446000
Clang-format changes. 2021-05-18 12:43:13 -04:00
Adam Ierymenko
a8e3cffd16
Some cleanup, certificate self-signing fixes, test fixes, test full certificate life cycle including CSR. 2021-05-17 23:40:13 -04:00
Adam Ierymenko
ec2919ac2e
Add a subject signature to the certificate to ensure no CRL tampering has occurred, even by the signer. 2021-04-27 19:10:48 -04:00
Adam Ierymenko
76244f0474
Turn off wrapping as it makes things hard to follow in some cases. 2021-04-26 20:33:38 -04:00
Adam Ierymenko
cd68474e47
More formatting stuff.... 2021-04-26 20:28:30 -04:00
Adam Ierymenko
12e7546ebc
ZeroTier standard .clang-format -- switch to spaces, match indentation of Rust, mostly based on LLVM format. 2021-04-26 08:55:28 -04:00
Adam Ierymenko
251cc082f2
Implement usage flags in certificate, make root sets require a usage flag and a more general local trust flag, and clean up Identity return in Rust Node. 2021-04-23 18:16:49 -04:00
Adam Ierymenko
e7b7d7444e
Stub out certificate revocations and harden certificate structure verification to make sure there are no dangling pointers. 2021-04-20 17:32:56 -04:00
Adam Ierymenko
0acc731bf4
Simplify Locator slightly. 2021-04-19 17:13:05 -04:00
Adam Ierymenko
8153211b26
Plumb cert changes through to Rust. 2021-04-19 16:17:31 -04:00
Adam Ierymenko
e7ed8051c6
Refactor certificates to have their own keys instead of being signed by identities, and fix certificate chain validation to be like how X509 certs are validated. 2021-04-15 23:20:02 -04:00
Adam Ierymenko
c9dc715389
Rust build fixes. 2021-04-06 17:51:04 -04:00
Adam Ierymenko
89e9eb755e
Big core refactor to create a CallContext to carry several annoying state variables through the call chain. Also remove some warnings. 2021-04-06 17:33:00 -04:00
Adam Ierymenko
7ad660c3ef
Break out certificate trust store into a separate object and simplify and clean up certificate verification code. 2021-03-31 22:15:26 -04:00
Adam Ierymenko
11d367d5ec
Attic cleaning, some work on certs, etc. 2021-03-31 15:33:31 -04:00
Adam Ierymenko
f5331b5bb9
More code cleanup, making earlier Rust code more rustic. 2021-03-18 16:00:24 -04:00
Adam Ierymenko
a708433146
Cleanup. 2021-03-14 11:46:16 -04:00
Adam Ierymenko
0f49c7510b
Swap out warp for simple hyper web server in Rust, and we will use web sockets for webby-style communication since WebRTC is a mess. 2021-02-25 10:49:35 -05:00
Adam Ierymenko
26e8859d99
Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Adam Ierymenko
411373dd2c
Tons of service work including trace events, etc. 2021-02-19 00:32:47 -05:00
Adam Ierymenko
a321ee6c28
Bunch more Rust work, and it builds again. 2021-02-04 23:20:30 -05:00
Adam Ierymenko
c29a64602a
CLI parser stuff... 2021-01-28 19:08:28 -05:00
Adam Ierymenko
deec3b807b
A ton of work in progress on service: logging, physical link enumeration, data store, local config, etc. 2021-01-21 21:10:11 -05:00
Adam Ierymenko
896d75fe86
More work on service itself. 2021-01-20 00:02:39 -05:00
Adam Ierymenko
20b6f347c8
Comments, fix to Rust bindgen, cleanup, warning removal, etc. 2021-01-08 14:59:05 -05:00
Adam Ierymenko
5ba672274c
Rust cleanup. 2021-01-04 19:36:47 -05:00
Adam Ierymenko
07b99a982d
Clean up zerotier.h to by proxy clean up Rust bindings, and implement inetaddress in Rust. 2021-01-01 22:24:53 -05:00
Adam Ierymenko
ce40a1df8a
Remove CRL from Certificate as it really does not belong there, and Rust cleanup. 2021-01-01 17:09:30 -05:00
Adam Ierymenko
83d74d8b67
Rust API wrapper for certificates is done, I think. Time to test. 2020-12-31 15:11:01 -05:00
Adam Ierymenko
927344f197
More Rust plumbing... 2020-12-29 22:49:43 -05:00
Adam Ierymenko
ab2870cbb7
MOAR rust. 2020-12-14 23:32:49 -05:00
Adam Ierymenko
7fa7f6f07a
Getting more rustic... 2020-12-14 16:54:43 -05:00
Adam Ierymenko
bab9a7f508
Fix and modernize API peer list function. 2020-10-22 15:53:35 -04:00
Adam Ierymenko
72114e4cf8
Remove HTTP stuff from core API. This will be handled entirely in the service. 2020-08-13 17:46:58 -07:00
Adam Ierymenko
2abf2c5695
More certificate stuff... 2020-08-12 21:28:06 -07:00
Adam Ierymenko
fe01352412
Cert CLI stuff, module bump. 2020-08-12 16:40:17 -07:00
Adam Ierymenko
7c929099b3
Change date bump for v2.0 2020-07-31 14:26:55 -07:00
Adam Ierymenko
1fc4dce835
A bunch of cleanup, make Location serialization format saner, reduce core memory use. 2020-07-31 13:27:27 -07:00
Adam Ierymenko
becc4aa8ea
More certificate plumbing. 2020-07-28 14:38:41 -07:00
Adam Ierymenko
189dea7c96
Certificate work, and add an Endpoint attributes field to Locator for future use. 2020-07-22 20:38:57 -07:00
Adam Ierymenko
407f737212
A bunch of Topology simplification, integrate some cert and root changes. 2020-07-16 20:04:05 -07:00
Adam Ierymenko
cfb0bc4f8e
Better CRL implementation, AES fix. 2020-07-16 12:01:24 -07:00
Adam Ierymenko
dfe230be8b
CRL support 2020-07-16 10:51:54 -07:00
Adam Ierymenko
b02fc1f28b
CGo hell, fix a thinko in CMakeFile. 2020-07-07 10:12:38 -07:00
Adam Ierymenko
7e341ed397
More certificate plumbing. 2020-07-06 19:28:43 -07:00
Adam Ierymenko
b027a83789
Minor stuff... 2020-07-06 15:15:21 -07:00
Adam Ierymenko
0d764f5a3d
CGO glue for certificates, and Go formatting and other boring stuff. 2020-07-03 13:08:40 -07:00
Adam Ierymenko
899f0c9749
Certificate API 2020-07-02 22:22:31 -07:00