Top-level
9 comments
@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) |
@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!