Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

nix: substrate depends on openssl#9556

Merged
gilescope merged 2 commits intoparitytech:masterfrom
gilescope:giles-nix-deps
Sep 14, 2021
Merged

nix: substrate depends on openssl#9556
gilescope merged 2 commits intoparitytech:masterfrom
gilescope:giles-nix-deps

Conversation

@gilescope
Copy link
Copy Markdown
Contributor

I noticed if I didn't do this I sometimes hit compile errors so we must depend on openssl at the moment.

@gilescope gilescope requested review from andresilva and bkchr August 13, 2021 10:15
@burdges
Copy link
Copy Markdown

burdges commented Aug 13, 2021

Interesting, maybe ring could replace openssl in some dependency.

@gilescope
Copy link
Copy Markdown
Contributor Author

gilescope commented Aug 13, 2021

I'd certainly trust rustls given that google's security people are keen on using that inside curl (and it's pure rust rather than a native dependency). ( https://www.abetterinternet.org/post/preparing-rustls-for-wider-adoption/ )
All the usages of openssl are from jsonrpc-client-transports.

@gilescope
Copy link
Copy Markdown
Contributor Author

(Hopefully jsonrpsee will be dependent on rustls.)

@gilescope gilescope added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Aug 13, 2021
@niklasad1
Copy link
Copy Markdown
Contributor

niklasad1 commented Aug 13, 2021

(Hopefully jsonrpsee will be dependent on rustls.)

Yes, it is currently at least :)

FWIW, I think it's rather easy to change to tokio-tls to hyper-rustls in jsonrpc.

@andresilva
Copy link
Copy Markdown
Contributor

bot merge

@ghost
Copy link
Copy Markdown

ghost commented Sep 13, 2021

Merge aborted: Checks failed for 38eecb5

@andresilva
Copy link
Copy Markdown
Contributor

bot merge force

@ghost
Copy link
Copy Markdown

ghost commented Sep 13, 2021

Trying merge.

@ghost
Copy link
Copy Markdown

ghost commented Sep 13, 2021

Merge failed: "2 of 8 required status checks are expected."

@bkchr
Copy link
Copy Markdown
Member

bkchr commented Sep 13, 2021

@gilescope please merge master

@gilescope gilescope merged commit 82e0e63 into paritytech:master Sep 14, 2021
@gilescope gilescope deleted the giles-nix-deps branch September 14, 2021 10:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants