ntpd-rs: update to 1.9.0 - #61231
ntpd-rs: update to 1.9.0#61231
Conversation
|
@slymattz, do you remember why you partially patched this to use ring instead of aws-lc-rs? This makes ntpd-rs panic, when NTS is used, with a message like this: A patch that removes aws-lc-rs from the cargo dependency graph and fully replaces it with ring looks like this: https://gist.github.com/ihameed/5deaeeb096d782dc5608472311529f04 Otherwise, An NTS example in ntp.toml: I've submitted a PR to undo the ring change, but I personally don't care much if this uses aws-lc-rs (it's annoying to build on windows b/c of nasm) or ring. |
|
@ihameed Hi! Thanks for the report. To be honest, I can’t reproduce this locally with:
That said, if dropping the patch fixes the issue for you, then that’s probably the safer approach. You could probably also drop the |
Weird! I see that panic on startup on both arm64 and x86-64 with ntpd-rs-1.9.0_1 from the void binary package repo, or with ntpd-rs built by hand from a copy of the upstream repository with the patch applied. And after looking at the source to rustls, it looks like this panic ought to always happen given that both the "aws-lc-rs" and "ring" --cfg flags are enabled via cargo with the patch from this PR. My full ntp.toml: |
Testing the changes
Local build testing