Instance HTTP Signatures Statistics
Problem Statement
I've been recently thinking about authorized_fetch_mode
and how broken my federation became when I first enabled it years ago. Nowadays, with the recent network influx, I'm thinking of enabling it again, but I worry about how unreachable my instance would become if I enabled it, I don't have that sort of data to really decide if I should enable it or not.
Suggestion
Part 1: Create a new attribute under the Instance
entity, called has_request_signatures
. While reachable
refers to the overall health of the network connection, has_request_signatures
would be set on requests that contain valid HTTP Signatures (possibly on Pleroma.Web.Plugs.HTTPSignaturePlug
?).
Part 2: An instance admin can then (with possibly a separate script or mix
task) calculate the set of instances that they would not be able to see if authorized_fetch_mode
is enabled, it would be a more informed decision than the current one of taking guesses.