HTTPSignaturePlug: Add :authorized_fetch_mode_exceptions

This commit is contained in:
Haelwenn (lanodan) Monnier 2023-12-16 18:56:46 +01:00
commit 086ba59d03
5 changed files with 42 additions and 5 deletions

View file

@ -1771,6 +1771,12 @@ config :pleroma, :config_description, [
type: :boolean,
description: "Require HTTP signatures for AP fetches"
},
%{
key: :authorized_fetch_mode_exceptions,
type: {:list, :string},
description:
"List of IPs (CIDR format accepted) to exempt from HTTP Signatures requirement (for example to allow debugging, you shouldn't otherwise need this)"
},
%{
key: :note_replies_output_limit,
type: :integer,