-
Notifications
You must be signed in to change notification settings - Fork 126
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
build: Use system NSS when possible #1739
Conversation
…o build-use-system-nss
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that you can cut most of fn nss_dir()
now that you won't be hitting it as often. Just pass the env variable in to setup_standalone()
Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]>
Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]>
Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]>
Ping @martinthomson |
Not ready yet. Need to determine what to do in `nss_dir()`. See comments.
Fixes mozilla#1391 Needs mozilla#1739
OK, so approvals with comments get merged. That's not ideal. |
@larseggert should we require that conversations are resolved before merging? |
@martinthomson we can turn that on, but then we should probably turn off |
Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]>
@martinthomson: |
Yeah, I think that we can trust people to exercise their judgment on the small stuff.
Yeah. You will observe that you can't reach that code unless you set NSS_DIR but haven't got a copy of NSS. Given that the main reason to use NSS_DIR is to point to a copy you are working on, that seems like a good trade to me. |
When
NSS_DIR
is not set, we now attempt to use the system NSS, and check whether it is recent enough for us. The current NSS minimum version is inneqo-crypto/min_version.txt
, so it can be accessed by Rust (vianeqo-crypto/src/min_version.rs
) and by the CI scripts.Fixes #1711