-
Notifications
You must be signed in to change notification settings - Fork 7
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
Switch to new vsss-rs 5.x stable version #502
base: main
Are you sure you want to change the base?
Conversation
The Based on some initial debugging, this is actually not a new problem introduced by the dependency changes, but an existing problem introduced in 9082021 which affects the current main ae94332 unrelated to this PR.
I think this bug is normally hidden by the fact that the @r-n-o Can you take a look at this and confirm the above? I'm not sure why the test didn't fail back when we introduced #449 , but perhaps the stagex container behavior/action was different back then. |
@cr-tk I checked out your branch and ran I have no idea why this didn't surface earlier. Your assessment is correct, when default features are disabled, iff --git a/src/qos_net/src/main.rs b/src/qos_net/src/main.rs
index 76ebae57..c4398422 100644
--- a/src/qos_net/src/main.rs
+++ b/src/qos_net/src/main.rs
@@ -1,5 +1,14 @@
+#[cfg(feature = "proxy")]
use qos_net::cli::CLI;
+#[cfg(feature = "proxy")]
pub fn main() {
CLI::execute();
}
+
+
+#[cfg(not(feature = "proxy"))]
+pub fn main() {
+ panic!("Cannot run qos_net CLI without proxy feature enabled")
+} |
@r-n-o thanks for looking into this! Should we bring in this patch via a separate PR to fast-track, or include it here? I have a slight preference for a separate simple PR, and can create it based on your patch 🙂 |
Separate PR sounds good! Here it is: #504 |
@cr-tk the fix has been merged, you should be able to rebase your PR and get a clean build now! |
a6ddbe1
to
98bfca3
Compare
@r-n-o thanks, I pushed the rebased version. Looks good locally - I think this is ready for review if the CI tests succeed. |
98bfca3
to
a486f05
Compare
We identified the second CI problem. Let's see if this change resolves it. |
Summary & Motivation (Problem vs. Solution)
vsss-rs
is an important cryptography library for us.Based on the Michael Lodder's feedback, he's primarily planning to maintain the latest major version, which is now
5.x
. This is a motivation for us to move over to it from the current4.x
pinning.The new major version also has a new
zeroize
target, which we want to use for security hardening.How I Tested These Changes
This change is not extensively tested yet.
Pre merge check list