Grapevine is a Matrix homeserver, forked from Conduit 0.7.0
Find a file
Charles Hall cb3e0c620a
improve media key decoding logs
On my HS I observed 5 instances of keys with the following format:

* MXC bytes.
* A 0xFF byte.
* 4 bytes where the width and height are supposed to be, which are
  supposed to be 8 bytes in length.
* 3 consecutive 0xFF bytes. This means that the `content-type` and
  `content-disposition` sections both parse as the empty string, and
  there's an extra separator at the end too.
* Extra bytes, all of which were `image/png`.

The 4 bytes where the width and height are supposed to be were one of:

* 003ED000
* 003EE000
* 003EF001

Which seems to have some kind of pattern to it...

After much digging, we have absolutely no idea what could've caused
this. Cursed.
2024-09-19 15:23:20 -07:00
bin use all-features devshell for clippy/all in CI 2024-05-30 21:19:08 -07:00
book Fix X-Matrix signature validation for incoming requests 2024-09-19 16:25:23 +00:00
nix remove uses of aliases 2024-08-17 12:31:48 -07:00
src improve media key decoding logs 2024-09-19 15:23:20 -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 set up mdbook 2024-06-16 20:23:18 -07:00
Cargo.lock cargo update ruma httparse 2024-09-01 09:42:45 +00:00
Cargo.toml Update MSRV to 1.81.0 2024-09-08 09:54:08 -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 set up mdbook 2024-06-16 20:23:18 -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.