Top-level
10 comments
@Edent nice; I know no Symfony, and my PHP is *very* rusty, but I'd be interested in taking a look at it at least! @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"? @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! @robb ah, I stuffed up the headers. Got them working now. New error is "Verification failed for ..." Which at least is progress! @Edent Excellent! (Was putting the kid to bed and only just started looking, glad you got it sorted) |
@floppy @manyfold
Currently building on Symfony because that's what I know best.
I have the basics up and running, but the signature stuff is driving me potty!