Commit Graph

12 Commits

Author SHA1 Message Date
3f4589d497 Get tests working 2019-08-24 22:38:25 +02:00
73495038e1 remove simple security 2019-08-24 21:39:25 +02:00
ef476e555b Use RawConnection.read
Instead of accessing its reader and writer directly.

TODO: considering add `ReaderWriterCloser` interface and let connection
and stream inherit from it.
2019-08-22 22:53:48 +08:00
5768daa9bf PR feedbacks
- Nits
- Add `SecurityUpgradeFailure` and handle `UpgradeFailure` in Swarm.
2019-08-22 22:53:47 +08:00
de8d356955 Fix tests failure due to lack of peer id
Fix it through doing plaintext handshake.
2019-08-22 22:53:47 +08:00
2752e7a04b Ignore mypy error here 2019-08-22 15:58:38 +08:00
dbd4ed44dd Fix the issue when importing from other package 2019-08-22 15:36:17 +08:00
7535a02da7 Clean up key gen 2019-08-15 19:24:30 -07:00
9e18d7561d Supply local priv and pub key when upgrading to a secure transport 2019-08-15 16:33:34 -07:00
0ebc8ffb21 Wire some missing properties up 2019-08-15 16:33:34 -07:00
1e5357a1e1 Update the ISecureConn interface following the reference and simplify accordingly 2019-08-15 16:33:33 -07:00
b98025c379 Move security transports into their respective sub-packages 2019-08-15 16:33:33 -07:00