Commit Graph

19 Commits

Author SHA1 Message Date
376e8fb833
Remove some warnings
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-17 14:06:57 +02:00
aff1c313f5
Cleanup & incomplete tests
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-10 14:42:24 +02:00
a6fda8180d
DNSSEC: move keys before addresses
it was kinda stupid to keep the keys *after* the addresses
but have the addresses keep an index to the array of pubkeys anyway

Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-09 19:09:41 +02:00
5625bd95a4
Test request serialization
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-09 19:06:58 +02:00
55e10a60c6
Fix Dnssec record serializing/deserializing
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-09 14:55:49 +02:00
3e09b9cee0
Send initial dirsync packet and handshake timeout
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-05 10:33:25 +02:00
5b338c8758
More on negotiation and dnssec record verification
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-01 12:52:43 +02:00
08d2755656
KeyExchange->KeyExchangeKind for consistency
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-01 11:48:32 +02:00
ac213a6528
More work on key exhcnage negotiation
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-01 11:41:10 +02:00
1bae4c9953
DNSSEC: add ciphers/key exchanges/hkdfs
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-05-30 15:50:48 +02:00
c6a3bf0820
More work on connect(), use our own Random
We use :💍:rand::SystemRandom, but we need to wrap it
for a couple of traits needed by ::x25519_dalek

Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-05-30 10:52:54 +02:00
a3430f1813
Initial connections: share auth.server connection
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-05-28 18:23:14 +02:00
110a346551
dnssec: use the proper enc::asym types
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-05-28 15:26:17 +02:00
238a0a5516
More work on handshake. obviously unfinished
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-02-16 19:11:45 +01:00
e3af78eaba
Initial half-done Handshake stubs
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-02-15 15:50:54 +01:00
fd76ec9983
Split resolving and decoding
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-02-09 12:12:09 +01:00
2c00e57bc6
Public Key try_from_str
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-02-08 23:41:03 +01:00
342a58272c
Decoding from string for Address
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-02-08 22:48:58 +01:00
3797ca869d
DNSSEC resolver, record encoding/decoding
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-02-08 19:03:31 +01:00