Commit Graph

1524 Commits

Author SHA1 Message Date
d4814db592 chore: Update .github/workflows/stale.yml [skip ci] 2024-02-14 22:49:54 +00:00
80c17510b2 chore: Update .github/workflows/stale.yml [skip ci] 2024-01-31 16:49:15 +00:00
8bb1647d2c chore(cfg): update new issue templates
Signed-off-by: Dave Huseby <dwh@linuxprogrammer.org>
2024-01-26 03:26:00 -07:00
b973caa484 Merge pull request #441 from libp2p/dependabot/go_modules/tests_interop/go_pkgs/examples/github.com/libp2p/go-libp2p-0.27.8
Bump github.com/libp2p/go-libp2p from 0.18.0 to 0.27.8 in /tests_interop/go_pkgs/examples
2024-01-26 03:19:35 -07:00
2d9f360ee3 Bump github.com/libp2p/go-libp2p in /tests_interop/go_pkgs/examples
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.18.0 to 0.27.8.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.18.0...v0.27.8)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 10:18:18 +00:00
589de623dd Merge pull request #437 from libp2p/dependabot/go_modules/tests_interop/go_pkgs/examples/github.com/libp2p/go-libp2p-0.18.0
Bump github.com/libp2p/go-libp2p from 0.10.3 to 0.18.0 in /tests_interop/go_pkgs/examples
2024-01-26 03:17:10 -07:00
b38b36862f chore: Update .github/workflows/stale.yml [skip ci] 2023-06-28 08:54:08 +00:00
6473cf03c7 chore: Update .github/workflows/stale.yml [skip ci] 2023-06-14 09:06:45 +00:00
dffb33d515 Bump github.com/libp2p/go-libp2p in /tests_interop/go_pkgs/examples
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.10.3 to 0.18.0.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.10.3...v0.18.0)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 21:49:45 +00:00
81a472005c chore: Update .github/workflows/stale.yml [skip ci] 2022-09-19 13:41:41 +00:00
d2c2a5f933 Merge pull request #431 from wolfgang/patch-1
Don't hash data passed to nacl library in Ed25519PublicKey.verify
2021-03-17 15:45:46 +08:00
0a9f8d23a3 Update ed25519.py
Don't hash data passed to nacl library in Ed25519PublicKey.verify
2021-03-16 08:55:44 +01:00
2efc072ad9 Merge pull request #425 from MohamedAlFahim/patch-1
Fix broken release notes link
2021-02-25 13:13:59 +08:00
55e6ed6e6c Merge pull request #426 from McSinyx/trio-lowlevel
Use trio.lowlevel instead of trio.hazmat
2021-02-25 13:11:35 +08: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
12786f4e26 Merge pull request #424 from g-r-a-n-t/master
Interop tests updated and fixed.
2020-09-01 19:51:21 -06:00
69ffaa08d7 Fix broken release notes link 2020-08-27 01:01:45 +00:00
36a4a9150d Interop tests updated and fixed. 2020-08-25 15:59:22 -06:00
5144ab8289 Merge pull request #411 from libp2p/release-notes-fix
Release notes fix: v0.1.15 -> v0.1.5
2020-03-25 16:35:14 -07:00
e712995024 Release notes fix: v0.1.15 -> v0.1.5
Also, update to the actual release date.
2020-03-25 15:59:45 -07:00
612a2f7c51 Bump version: 0.1.4 → 0.1.5 2020-03-25 15:50:57 -07:00
c5e1d3263f add release notes for v0.1.15 2020-03-23 18:06:40 -07:00
379a157d6b Merge pull request #410 from ralexstokes/configurable-msg-id
Allow `Pubsub` creator to supply a custom msg_id
2020-02-28 08:42:49 -08:00
857cc29d27 add content-addressed message id utility 2020-02-28 08:25:03 -08:00
ef666267bd Allow Pubsub creator to supply a custom msg_id 2020-02-28 08:25:03 -08:00
9d68de8c21 Merge pull request #406 from mhchia/feature/noise-patterxx
Noise: `PatternXX` and testing with go
2020-02-28 17:13:00 +08:00
ec8c10965d travis CI: use the latest go version 2020-02-28 15:50:03 +08:00
1af12ddf43 interop test: support both noise and plaintext 2020-02-28 15:50:03 +08:00
cb4e1115c6 Remove wrong encoding 2020-02-28 15:50:03 +08:00
c1f6054b3c plaintext: update pb 2020-02-28 15:50:03 +08:00
728d9e5c9c Noise: update pb 2020-02-28 15:50:02 +08:00
f8240bd2cb plaintext: use varint msg read/writer 2020-02-28 15:50:02 +08:00
6016ea731b BaseMsgReadWriter
- Change `BaseMsgReadWriter` to encode/decode messages with abstract
method, which can be implemented by the subclasses. This allows us to
create subclasses `FixedSizeLenMsgReadWriter` and
`VarIntLenMsgReadWriter`.
2020-02-28 15:50:01 +08:00
88f660a9c5 Noise: try to use noise in go 2020-02-28 15:50:01 +08:00
a9f4f285ee Noise: clean up dup code 2020-02-28 15:50:01 +08:00
13e8f496a7 Noise: add noise option in the factories and tests 2020-02-28 15:50:01 +08:00
1d2a976597 Remove TODOs 2020-02-28 15:50:00 +08:00
48a7c1a969 Security: ensure remote pubkeys are stored 2020-02-28 15:50:00 +08:00
e02bba93b1 Noise: fix docs
`connection.py` is removed.
2020-02-28 15:49:59 +08:00
f0df2d189f Plaintext: use existing msgio reader 2020-02-28 15:49:59 +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
874c6bbca4 Refactor MsgIOReadWriter
- Abstract it as `MsgReadWriter`
- `MsgIOReadWriter` as a subclass of `MsgReadWriter`
2020-02-28 15:49:58 +08:00
ea645f0bd6 Copied read/write from secio 2020-02-28 15:49:58 +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
1f881e0464 Merge pull request #405 from mhchia/feature/noise
Noise: skeleton of transport and connection
2020-02-28 15:44:49 +08:00
4620544d45 Noise: fix docs 2020-02-15 12:35:36 +08:00