@Edent @Floppy @manyfold @robb wrote a blog post on implementing his own ActivityPub server in PHP (https://rknight.me/blog/building-an-activitypub-server/) - it includes a section on validating the signatures, because I think it was a major pain in the arse for him too (source code: https://github.com/rknightuk/bugle/blob/main/app/Services/HttpSignature.php)
@robb I don't suppose you came across the error "found an invalid character in header name"?
I'm trying to send an "accept" to a follow request using your code - but something isn't happy.
@Edent I don’t recall that error, no sorry. This part is a such a pain. If you have your code up somewhere I’d be happy to take a look just as a second pair of eyes.
@robb very kind of you!
The inbox controller is at
https://github.com/edent/location-activitypub-symfony/blob/main/www/src/Controller/InBox.php
@robb ah, I stuffed up the headers. Got them working now.
New error is "Verification failed for ..." Which at least is progress!