http signatures: derive actor ID from key ID.
authorAriadne Conill <ariadne@dereferenced.org>
Wed, 17 Jul 2019 19:18:19 +0000 (19:18 +0000)
committerAriadne Conill <ariadne@dereferenced.org>
Wed, 17 Jul 2019 19:18:19 +0000 (19:18 +0000)
commitf84fb340b7358df195734f2db199e76a819e45bf
treee7410a1425e4e4d46bed7f3a57af85815424aa64
parent1e3aff6ef18c774783c4fc7eb46c245e7d8fb9b2
http signatures: derive actor ID from key ID.

Almost all AP servers return their key ID as the actor URI with #main-key
added.  Hubzilla, which doesn't, uses a URL which refers to the actor
anyway, so worst case, Hubzilla users get refetched.
lib/pleroma/signature.ex
test/signature_test.exs