Email or username:

Password:

Forgot your password?
Top-level
James Smith ๐Ÿ’พ

@Edent this is a very cool idea, and I'm looking at doing some ActivityPub work soon for @manyfold, ideally as a reusable thing that I could plug into Rails somehow. What stack were you thinking of building in?

10 comments
Terence Eden

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

James Smith ๐Ÿ’พ

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

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)

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