Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Terence Eden
@Edent@mastodon.social  ·  activity timestamp last month

Another curious #ActivityPub / #MastodonAPI issue.

A Mastodon server is sending me a DELETE message.

The delete is because a user has been deleted.

My server tries to validate the HTTP Signature.

My server looks up the deleted user's main-key.

The user has been deleted so the public key 404s.

My server never acknowledges the delete, so the other server keeps sending me the same request.

So… How do I validate the signature of a deleted user?

JSON code.
JSON code.
JSON code.
  • Copy link
  • Flag this post
  • Block
Terence Eden
@Edent@mastodon.social replied  ·  activity timestamp last month

@SDF hi - I think your instance might be misconfigured.
You keep sending me delete messages for deleted users.
I'm replying with HTTP 200 - but you keep sending the same requests over and over again.
Is this something you're able to fix?

  • Copy link
  • Flag this comment
  • Block
Terence Eden
@Edent@mastodon.social replied  ·  activity timestamp last month

I guess the answer is "I should have saved the user's public key previously"?

  • Copy link
  • Flag this comment
  • Block
Terence Eden
@Edent@mastodon.social replied  ·  activity timestamp last month

But perhaps the problem is *me*?

My script just dies on that error. It never responds.

I'm going to try sending an HTTP 202 status. If that doesn't work, a 200.

Let's see if that helps!

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login