Grapevine is a Matrix homeserver, forked from Conduit 0.7.0
Find a file
Benjamin Lee e2318cad8a
fix serving tls by setting rustls default crypto provider
The rustls version bump in c24f79b79b
introduced a panic when serving listeners with 'tls = true':

> thread 'main' panicked at /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rustls-0.23.13/src/crypto/mod.rs:265:14:
> no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point

This commit fixes this by setting the default provider to ring. I chose
ring (the old rustls default) over aws-lc-rs (the new default) for a few
reasons:

 - Judging by github issues, aws-lc-rs seems to have a lot of build problems.
   We don't need more of that.
 - The "motivation" section in the aws-lc-rs docs only talks about FIPS,
   which we do not care about.
 - My past experience with things that start with "aws-" has been very
   negative.
2024-09-23 23:39:23 -07:00
bin use all-features devshell for clippy/all in CI 2024-05-30 21:19:08 -07:00
book Allow configuring served components per listener 2024-09-23 16:43:52 -07:00
nix set up structure for multiple cli commands 2024-09-21 14:11:26 -07:00
src fix serving tls by setting rustls default crypto provider 2024-09-23 23:39:23 -07:00
.envrc optionally use nom to build devshell dependencies 2024-05-30 21:19:09 -07:00
.gitignore set up mdbook 2024-06-16 20:23:18 -07:00
.gitlab-ci.yml disable IFD in CI 2024-08-13 12:12:57 -07:00
.lycheeignore set up mdbook 2024-06-16 20:23:18 -07:00
.markdownlintignore set up mdbook 2024-06-16 20:23:18 -07:00
book.toml oops, i dropped my fork 2024-09-20 16:52:05 -07:00
Cargo.lock fix serving tls by setting rustls default crypto provider 2024-09-23 23:39:23 -07:00
Cargo.toml fix serving tls by setting rustls default crypto provider 2024-09-23 23:39:23 -07:00
clippy.toml enable doc_markdown lint 2024-05-14 16:34:10 -07:00
default.nix feat: support non-flake users 2024-02-01 19:19:56 -08:00
engage.toml set up mdbook 2024-06-16 20:23:18 -07:00
flake.lock Update MSRV to 1.81.0 2024-09-08 09:54:08 -07:00
flake.nix Update MSRV to 1.81.0 2024-09-08 09:54:08 -07:00
LICENSE.md convert license to markdown 2024-04-30 21:54:56 -07:00
README.md oops, i dropped my fork 2024-09-20 16:52:05 -07:00
rust-toolchain.toml Update MSRV to 1.81.0 2024-09-08 09:54:08 -07:00
rustfmt.toml enable error_on_line_overflow and fix errors 2024-05-16 19:11:40 -07:00

Grapevine

A Matrix homeserver.

Read the book

Click here to read the latest version.