|
|
94483714a3
|
run lint and fix errors, except mypy
|
2024-02-19 16:05:58 -07:00 |
|
|
|
080f8edc8e
|
Use trio.lowlevel instead of trio.hazmat
Since trio 0.15.0, hazmat has been deprecated.
trio-typing and mypy are bumped to support newer trio and each other.
|
2021-02-23 22:02:34 +07:00 |
|
|
|
36a4a9150d
|
Interop tests updated and fixed.
|
2020-08-25 15:59:22 -06:00 |
|
|
|
1af12ddf43
|
interop test: support both noise and plaintext
|
2020-02-28 15:50:03 +08:00 |
|
|
|
a9f4f285ee
|
Noise: clean up dup code
|
2020-02-28 15:50:01 +08:00 |
|
|
|
48a7c1a969
|
Security: ensure remote pubkeys are stored
|
2020-02-28 15:50:00 +08:00 |
|
|
|
3c2e835725
|
Security: SecureSession
Make security sessions(secio, noise) share the same implementation
`BaseSession` to avoid duplicate implementation of buffered read.
|
2020-02-28 15:49:59 +08:00 |
|
|
|
2df47a943c
|
Refactor
|
2020-02-28 15:49:59 +08:00 |
|
|
|
f8739268e2
|
Noise: encrypt and decrypt in NoiseConnection
TODO: Add a buffer to read only `n` bytes in `read(n)`
|
2020-02-28 15:49:58 +08:00 |
|
|
|
6ea96e9313
|
Add comments in pattern xx
|
2020-02-28 15:49:57 +08:00 |
|
|
|
d0290d2b5a
|
Noise: complete handshake process
TODO
- Figure out why `state.rs` is erased at some moment(even handshake
is not done).
- Refactor
- Add tests
|
2020-02-28 15:49:56 +08:00 |
|
|
|
8a4ebd4cbb
|
Support read/write of noise msg and payload
|
2020-02-28 15:49:56 +08:00 |
|
|
|
95959725db
|
Noise pattern: Fix flake8
|
2020-02-15 12:18:19 +08:00 |
|
|
|
0324a69841
|
Noise: add PatternXX
|
2020-02-09 00:33:26 +08:00 |
|