Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose PresharedKey peer parameter from the new_tunnel library function. #198

Merged
merged 4 commits into from
Dec 21, 2021
Merged

Expose PresharedKey peer parameter from the new_tunnel library function. #198

merged 4 commits into from
Dec 21, 2021

Conversation

wiresock
Copy link
Contributor

FFI new_tunnel has been missing PresharedKey peer parameter and therefore library was not compatible with certain WireGuard configurations.

@wiresock
Copy link
Contributor Author

wiresock commented Oct 13, 2021

Linux aarch64 and macOS x86-x64 checks may spuriously fail on "Test Executable". Please re-run checks as I can't do it without pushing empty commits. E.g., #196.

@agrover agrover merged commit a133f1d into cloudflare:master Dec 21, 2021
@wiresock wiresock deleted the lib_preshared_key branch December 22, 2021 08:13
@RandoMan70
Copy link

@agrover , what is correct way to pass absent psk from C?

@wiresock
Copy link
Contributor Author

wiresock commented Feb 2, 2022

@RandoMan70, you can simply pass empty string as psk.

@RandoMan70
Copy link

@RandoMan70, you can simply pass empty string as psk.

Yep, it works now, thank you.

arvydasv pushed a commit to NordSecurity/boringtun that referenced this pull request Aug 1, 2023
…on. (cloudflare#198)

Co-authored-by: Vadim Smirnov <vadim@ntkernel.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.

None yet

3 participants