Skip to content

Conversation

@giurgiur99
Copy link
Contributor

@giurgiur99 giurgiur99 commented Jan 13, 2026

Fixes #1146

Changes proposed in this PR:

  • This PR will enable TLS certificates in LibP2P. Will be used to connect browsers to ocean-nodes through P2P
  • Script to fix port parsing in @libp2p/http-utils
  • Auto-generate certificates
  • Bugfix network stats endpoint after updating to p2p v3

@giurgiur99 giurgiur99 mentioned this pull request Jan 19, 2026
@giurgiur99 giurgiur99 marked this pull request as ready for review January 20, 2026 15:41
Copy link
Member

@alexcos20 alexcos20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, with two comments

@giurgiur99
Copy link
Contributor Author

lgtm, with two comments

I added some comments here about how to get sni. I will add some docs too.

@giurgiur99 giurgiur99 merged commit 7eec09c into p2p-v3 Jan 26, 2026
8 of 9 checks passed
@giurgiur99 giurgiur99 deleted the lib-p2p-v3-auto-tls branch January 26, 2026 07:59
giurgiur99 added a commit that referenced this pull request Jan 26, 2026
* packages, node-version, api changes libp2p v3

* lint fix

* fix peer id key generation

* fix crypt

* fix integration assert

* use v20 for system tests

* back to 22.5.1 ci

* try force reload config

* Revert "try force reload config"

This reverts commit 5a24f4d.

* equal check

* log ddo

* run all tests

* new instantce

* Revert "new instantce"

This reverts commit 7768c7b.

* log test

* logs

* use correct ddo

* revert changes

* force refresh config

* change order

* remove logs

* tear down envs after tests

* tear down

* new instance

* restart indexer

* skip db checks

* global check threads

* cleanup

* revert p2p changes

* Revert "revert p2p changes"

This reverts commit 79f1f67.

* custom dial logic

* event target and close connection

* remove sinks

* fix local node command

* use peerstore if valid

* dial multiaddrs instead of peerid

* use helper

* streaming instead of buffering

* map chunk to buffer

* lint fix

* no await on mapchunk

* pause the stream

* resume stream on error

* add datastore (#1161)

* fix sqlite3 lock

* fix use raw key after past refactor commit

* auto tls (#1148)

* auto tls

* certificate log

* fix network stats

* logs

* append announce

* staging acme

* revert default domain

* Patch package

* use logger

* append and auto-announce

* add has install script

* manual script

* use node script

* copy scripts

* do not filter

* bind all

* Revert "bind all"

This reverts commit 0752e79.

* add tls transport

* lint fix and filter announce

* add comment

* sync package lock

* explain how to get auto-tls

---------

Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants