-
Notifications
You must be signed in to change notification settings - Fork 417
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
Crate no longer compiles #340
Comments
Hello, this works: cargo install --locked boringtun-cli I'm not an expert in Rust too, so I'm not sure this is the best solution. I just found it in AUR. |
This is breaking downstream projects where passing |
cc @jeff-hiner |
Should be solved in upstream. Please reopen if you're still seeing issues. Thanks for the pinpoint assessment, it really helped the fix! |
Any chance you could give an idea on when it might reach |
We can put out a new patch release over the next few days. |
@Noah-Kennedy would it be possible to get the patch release out, since it's been two weeks? |
can you make releases using the name v0.5.x without adding the name boringtun. I have this problem in version v0.5.2 I'm using openwrt |
For anyone using boringtun as a dependency, I've been able to forcibly use the fixed revision using the following in
This should fix compiles, but git dependencies are not allowed when publishing to crates.io. |
Another option is to |
I ran into this problem today, it's still not fixed on crates.io. I need the library, i'd rather not do tricks with the cli or specify a git rev in my cargo.toml if i can help it. |
Sorry folks, prepping a release now: #351 |
Bump dalek to a non-yanked version and prepare a new release. Due to other changes, this will be a new breaking version. Closes #340.
Published! |
It builds! Thanks 👍 |
I've published a patch release for v0.5 as well, v0.5.3, and yanked the other 0.5.x versions |
First off, I am no expert in Rust, so I may make some mistakes in this report.
We're building BoringTun in a container and recently it has failed to compile with errors like the following:
I believe this is the dependency that is causing the problem:
The version listed above was released on April 1, which correlates with our failure to build the container:
https://crates.io/crates/x25519-dalek/2.0.0-rc.2
This PR on that project makes the static secrets an optional setting, so presumably BoringTun needs to opt in to this new setting:
dalek-cryptography/x25519-dalek#122
I suspect the new setting needs to be added here. Not knowing much about Rust/Cargo, it would appear to my untrained eye that the version is pinned to
2.0.0-pre.1
, so I'm not sure why2.0.0-rc.2
is being used, but I'm sure that will make sense to you.boringtun/boringtun/Cargo.toml
Line 30 in be08af9
Here is the relevant snippet from our Dockerfile that should help you reproduce the build failure:
I do note that the setting was introduced since using these types can be harmful, but I assume you're using them in the correct manner.
The text was updated successfully, but these errors were encountered: