Add wg multiaddr codec - #412
Open
acul71 wants to merge 1 commit into
Open
Conversation
Reserve draft code 0x01c7 for WireGuard tunnel endpoints, between noise (0x01c6) and shs (0x01c8). Co-authored-by: Cursor <cursoragent@cursor.com>
acul71
requested review from
aschmahmann,
darobin,
rvagg and
vmx
as code owners
September 6, 2026 22:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello first time contributing here.
I'm @acul71 from py-libp2p.
I would like to add this codec to fullfill a py-multiaddr user request.
Let me know,
Saluti
Reserve draft code
0x01c7for a WireGuard (wg) multiaddr protocol, in the free slot betweennoise(0x01c6) andshs(0x01c8).The code identifies a fixed-size 32-byte Curve25519 public key used as a WireGuard tunnel endpoint.
First implementation: multiformats/py-multiaddr#108
Tracking: multiformats/py-multiaddr#123
A follow-up PR to
multiformats/multiaddr(protocols.csv) will reference this registration.Made with Cursor