libp2p / libp2p/js-libp2p-daemon

Remove secio usage as default connection encryption

Open
#43 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
17
Forks
11
PR merge metrics
No merged PRs in 30d

Description

We should remove secio as the default connection encryption module in libp2p daemon. Making noise used by default and remove the option to use secio/noise at all.

Currently, we are running interop tests for libp2p using secio unless explicitly setting noise, which is not desirable.

We should do this together with go-libp2p-daemon, otherwise we will need to explicitly set noise as the used module in the interop tests when spawning go nodes.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the daemon's connection-encryption configuration and the interop tests mentioned in the issue. Compare the corresponding setup in go-libp2p-daemon, then update both daemons so Noise is the default and Secio is no longer selectable; verify the interop tests without an explicit Noise override.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cryptography, networking
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.