I guess the answer is "I should have saved the user's public key previously"?
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!
@Edent According to SWICG guidance, you're correct not to process the Delete on your server: https://swicg.github.io/activitypub-http-signature/#handling-deletes-of-actors
But replying 2xx regardless should be okay. I think most ActivityPub servers use 2xx status codes to resolve HTTP requests that carry AP payloads whose side effects may not have been processed yet.
Mastodon should be sending 410s for deleted accounts, not sure what's happening to prevent that in your example. Maybe an weird reverse proxy configuration on their end.