Skip to content

Update to latest wireguard - #1410

Merged
tadaskay merged 3 commits into
masterfrom
update-wg-go
Nov 15, 2019
Merged

Update to latest wireguard#1410
tadaskay merged 3 commits into
masterfrom
update-wg-go

Conversation

@tadaskay

@tadaskay tadaskay commented Nov 14, 2019

Copy link
Copy Markdown
Contributor

Rebased our fork on latest https://github.com/WireGuard/wireguard-go head and reworked our patches.
Branch name is sync-fork (not pushing to master for now to keep original patch commits)

@Waldz Waldz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice

@tadaskay
tadaskay requested a review from iberflow November 14, 2019 18:54
Comment thread ci/packages/package.go
return nil
}
err := goGet("github.com/nomad-software/vend")
err := goGet("github.com/mysteriumnetwork/vend")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We need a patched vendor tool to vendor our patched wireguard. It feels like we doing something wrong. :D

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is only because gomobile does not support gomodules yet

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's patch gomobile to support gomodules. 💃

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We could contribute but that will take a while.

"github.com/mysteriumnetwork/node/core/connection"
"github.com/mysteriumnetwork/node/services/wireguard"
"github.com/mysteriumnetwork/node/services/wireguard/key"
"github.com/mysteriumnetwork/wireguard-go/device"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

From this, it was clear, that we are using our version of wireguard-go. And now it looks like we are using original packages which is confusing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The goal is to integrate sooner into upstream. It is only logical that we keep original packages.

@tadaskay
tadaskay merged commit ff27375 into master Nov 15, 2019
@tadaskay
tadaskay deleted the update-wg-go branch November 15, 2019 07:23
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.

3 participants