Email or username:

Password:

Forgot your password?
Top-level
Lewis Dale

@Edent @Floppy @manyfold @robb wrote a blog post on implementing his own ActivityPub server in PHP (rknight.me/blog/building-an-ac) - it includes a section on validating the signatures, because I think it was a major pain in the arse for him too (source code: github.com/rknightuk/bugle/blo)

7 comments
Robb Knight

@lewis @Edent @Floppy @manyfold Correct, it was in fact a huge pain to work out.

Terence Eden

@robb @lewis @floppy @manyfold
I have "borrowed" a lot of that code for mine 😄
Rob's work is excellent. It is my debugging skills which are poor

Terence Eden

@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.

Robb Knight

@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.

Terence Eden

@robb ah, I stuffed up the headers. Got them working now.

New error is "Verification failed for ..." Which at least is progress!

Robb Knight

@Edent Excellent! (Was putting the kid to bed and only just started looking, glad you got it sorted)

Go Up