@ben It looks like posts are coming through from Emissary to Mastodon. I need to figure out why my follow request is still "Pending" -- but I'll take the wins I can get.
I tried to follow this actor, but your server responded with 500:
{
"code": 500,
"location": "handler.ActivityPub_PostInbox",
"message": "Error parsing ActivityPub request",
"timestamp": 1706115740,
"details": [],
"innerError": {
"code": 500,
"location": "hannibal.pub.ReceiveInboxRequest",
"message": "Request is invalid",
"timestamp": 1706115740,
"details": [],
"innerError": {
"code": 500,
"location": "hannibal.pub.validateRequest",
"message": "Unable to verify HTTP signature",
"timestamp": 1706115740,
"details": [],
"innerError": {
"code": 500,
"location": "hannibal.sigs.Verify",
"message": "Error decoding public key",
"timestamp": 1706115740,
"details": [
""
],
"innerError": {
"code": 500,
"location": "hannibal.sigs.DecodePublicPEM",
"message": "Block is nil",
"timestamp": 1706115740,
"details": [
""
],
"innerError": null
}
}
}
}
}
@silverpill @ben Thanks for the info, SIlver. The problem is certainly on my end, and I've added it to my Trello board to fix.
I'm still working on basic federation with Mastodon right now, so for now the pate.social account is really just more of me "testing on production."
To dig in a bit more, this looks like a problem with how Emissary is dereferencing public keys. Sorry.
@silverpill @ben For what it's worth, I believe I've fixed the issue you found. Though, this is a heavy development server that's guaranteed to *not* be online whenever you actually want to hit it. I will be slowly moving things over to ben@pate.social - which is at least always online, and has a semi-proper release cycle.
Thanks again for helping me test Emissary. It looks like connections between it and Mitra are working pretty nicely (from my end, anyway)
@benpate Sending activities to @ben@pate.social
still doesn't work for me.
Same error: "Error decoding public key"
@silverpill Well, that's awfully embarrassing. Thanks for letting me know, Silver. I really want to see this work out on the real Interwebs. So, back to the drawing board :)