From 10f6f2662983517435ed33cbcd8561aee3ca7f34 Mon Sep 17 00:00:00 2001 From: "Agatha V. Lovelace" Date: Mon, 26 Feb 2024 19:08:26 +0100 Subject: [PATCH] Yet another mastodon security vulnerability --- common/pkgs/mastodon/gemset.nix | 4 ++-- common/pkgs/mastodon/source.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/pkgs/mastodon/gemset.nix b/common/pkgs/mastodon/gemset.nix index 7f006cd..9d134b6 100644 --- a/common/pkgs/mastodon/gemset.nix +++ b/common/pkgs/mastodon/gemset.nix @@ -2044,10 +2044,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0pfj771p5a29yyyw58qacks464sl86d5m3jxjl5rlqqw2m3v5xq4"; + sha256 = "0s4vskbydg5k0z86v2g5drf03lslkr4b1l421vz29531jlrsljvy"; type = "gem"; }; - version = "1.5.4"; + version = "1.5.5"; }; pghero = { dependencies = ["activerecord"]; diff --git a/common/pkgs/mastodon/source.nix b/common/pkgs/mastodon/source.nix index 70455bd..ba46188 100644 --- a/common/pkgs/mastodon/source.nix +++ b/common/pkgs/mastodon/source.nix @@ -1,12 +1,12 @@ # This file was generated by pkgs.mastodon.updateScript. { fetchFromGitHub, applyPatches, patches ? [ ] }: -let version = "e74ef482675e9cb524e5e46d2e6624a2dd922395"; +let version = "f571dbe35dbc4876f9ca76b3f6d459839c67a2ef"; in (applyPatches { src = fetchFromGitHub { owner = "AgathaSorceress"; repo = "mastodon"; rev = "${version}"; - sha256 = "lcTw8C1KFnl5kUKjdBXFrrx6Nz8hFqvqG8nThQHv0Hs="; + sha256 = "3ZJMiciV0muv5j468hEKJUZGDhKcNCJnDFn6ZqKM1F4="; }; patches = patches ++ [ ./yarn-typescript.patch ]; }) // {