Commit Graph

22 Commits

Author SHA1 Message Date
155bec0562 Fix initiator flag during secio upgrade 2019-09-09 16:40:14 -04:00
2025a5c7f1 Restore initiator flag to BaseSession type 2019-09-08 15:40:02 -04:00
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
1a359770dd Use msgio IO and proper buffering in secio implementation 2019-09-04 10:12:43 -07:00
506093216c Merge pull request #276 from ralexstokes/fix-secio-impl
Fix secio impl
2019-09-03 23:01:45 +02:00
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
bfd674e22c Try all pairs of choices, not just a small subset via zip 2019-09-03 13:28:31 -07:00
f8bbaf60a1 Add more information to the peer mismatch exception 2019-09-03 13:28:18 -07:00
77a0cc3a87 Add the missing __init__.py 2019-09-02 14:18:52 +08:00
fa0acd9fc5 Apply PR feedback 2019-08-26 10:03:12 -07:00
a363ba97d1 Work in terms of the IRawConnection abstraction 2019-08-24 22:52:09 +02:00
7c004a4e14 Mypy fixes 2019-08-24 22:38:26 +02:00
b8c0ef9ebb Fix bugs in secio implementation 2019-08-24 22:38:25 +02:00
228032805a Some code cleanup 2019-08-24 22:38:25 +02:00
1adef05e94 Typing and linting fixes 2019-08-24 22:37:45 +02:00
0fa3331b8c Add clearer indication of "self encryption" 2019-08-24 22:37:45 +02:00
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
4d30b31c55 Finish first pass at secio implementation 2019-08-24 22:37:45 +02:00
91e11f3ec0 [wip] more secio implementation 2019-08-24 22:37:44 +02:00
26165b0729 [wip] sketch of secio handshake 2019-08-24 22:37:44 +02:00
fd08bcf624 Add secio protobufs 2019-08-24 22:37:43 +02:00
b98025c379 Move security transports into their respective sub-packages 2019-08-15 16:33:33 -07:00