From: Roger Braun Date: Wed, 3 May 2017 17:23:12 +0000 (+0200) Subject: Fix Mastodon signature bug. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=53d05af5b61771782af3946181cc3139f3897cca;p=akkoma Fix Mastodon signature bug. --- diff --git a/lib/pleroma/web/websub/websub.ex b/lib/pleroma/web/websub/websub.ex index e32fc8817..0d0d19c88 100644 --- a/lib/pleroma/web/websub/websub.ex +++ b/lib/pleroma/web/websub/websub.ex @@ -52,7 +52,7 @@ defmodule Pleroma.Web.Websub do end def sign(secret, doc) do - :crypto.hmac(:sha, secret, to_string(doc)) |> Base.encode16 + :crypto.hmac(:sha, secret, to_string(doc)) |> Base.encode16 |> String.downcase end def incoming_subscription_request(user, %{"hub.mode" => "subscribe"} = params) do