Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

hh
Copy link

@hh hh commented May 10, 2023

This reduces the burden of needing to install wireguard tools to use tunnel.

Copy link
Member

@deansheather deansheather left a comment

Choose a reason for hiding this comment

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

Instead of generating a key implicitly on each start we should offer a new subcommand to generate a key. The key generation function should not be uniuri since it doesn't generate random bytes and instead only generates random printable characters which is substantially less secure. Use tunnelsdk.GeneratePrivateKey() instead.

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.

2 participants