From 7cd395415210f5a981d45e26bc6e21e078ee96cd Mon Sep 17 00:00:00 2001 From: Oneric Date: Thu, 20 Jun 2024 19:52:31 +0200 Subject: [PATCH] Remove superfluous actor key suffix Fragments are already always stripped anyway so listing one specific fragment here is unnecessary and potentially confusing. This effectively reverts 4457928e325cf370a0d2e028232dbd0a542547e0 but keeps the added bridgy testcase. --- lib/pleroma/signature.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/signature.ex b/lib/pleroma/signature.ex index c4ac2c87e..3d33fcd62 100644 --- a/lib/pleroma/signature.ex +++ b/lib/pleroma/signature.ex @@ -10,7 +10,7 @@ defmodule Pleroma.Signature do alias Pleroma.User alias Pleroma.Web.ActivityPub.ActivityPub - @known_suffixes ["/publickey", "/main-key", "#key"] + @known_suffixes ["/publickey", "/main-key"] def key_id_to_actor_id(key_id) do uri =