Alex Stokes
|
b214f88f75
|
Avoid using message-based IO in the plaintext protocol
Can reuse the machinery in `secio` but need to generalize the
"buffering" there
|
2019-09-04 10:12:43 -07:00 |
|
Alex Stokes
|
1a359770dd
|
Use msgio IO and proper buffering in secio implementation
|
2019-09-04 10:12:43 -07:00 |
|
Alex Stokes
|
506093216c
|
Merge pull request #276 from ralexstokes/fix-secio-impl
Fix secio impl
|
2019-09-03 23:01:45 +02:00 |
|
Alex Stokes
|
30456f8018
|
Use a different ECC backend with a compatible serializer
This library has the ``SEC1`` encoder which is compatible
with the serialization of ECC keys/points used in the Go libp2p impl
|
2019-09-03 13:44:25 -07:00 |
|
Alex Stokes
|
bfd674e22c
|
Try all pairs of choices, not just a small subset via zip
|
2019-09-03 13:28:31 -07:00 |
|
Alex Stokes
|
f8bbaf60a1
|
Add more information to the peer mismatch exception
|
2019-09-03 13:28:18 -07:00 |
|
mhchia
|
77a0cc3a87
|
Add the missing __init__.py
|
2019-09-02 14:18:52 +08:00 |
|
Alex Stokes
|
fa0acd9fc5
|
Apply PR feedback
|
2019-08-26 10:03:12 -07:00 |
|
Alex Stokes
|
a363ba97d1
|
Work in terms of the IRawConnection abstraction
|
2019-08-24 22:52:09 +02:00 |
|
Alex Stokes
|
7c004a4e14
|
Mypy fixes
|
2019-08-24 22:38:26 +02:00 |
|
Alex Stokes
|
b8c0ef9ebb
|
Fix bugs in secio implementation
|
2019-08-24 22:38:25 +02:00 |
|
Alex Stokes
|
228032805a
|
Some code cleanup
|
2019-08-24 22:38:25 +02:00 |
|
Alex Stokes
|
1adef05e94
|
Typing and linting fixes
|
2019-08-24 22:37:45 +02:00 |
|
Alex Stokes
|
0fa3331b8c
|
Add clearer indication of "self encryption"
|
2019-08-24 22:37:45 +02:00 |
|
Alex Stokes
|
8e913a3faa
|
Dispatch serialization of keys based on key type
- Add some tests to check high-level roundtrip
|
2019-08-24 22:37:45 +02:00 |
|
Alex Stokes
|
4d30b31c55
|
Finish first pass at secio implementation
|
2019-08-24 22:37:45 +02:00 |
|
Alex Stokes
|
91e11f3ec0
|
[wip] more secio implementation
|
2019-08-24 22:37:44 +02:00 |
|
Alex Stokes
|
26165b0729
|
[wip] sketch of secio handshake
|
2019-08-24 22:37:44 +02:00 |
|
Alex Stokes
|
fd08bcf624
|
Add secio protobufs
|
2019-08-24 22:37:43 +02:00 |
|
Alex Stokes
|
b98025c379
|
Move security transports into their respective sub-packages
|
2019-08-15 16:33:33 -07:00 |
|