Anyone know a good library for validating HTTP signatures in PHP? I was looking at, but it looks like it doesn't support RSA signatures yet...

Trying to avoid reinventing the wheel here if someone else has already done this

@jdormit Maybe worth peeking at how Pixelfed is doing this? Assuming this is for AP.
In Friendica we are using code that we originally took from Hubzilla and adopted stuff:…

I guess that you will be fine with the code from @aaronpk - but possibly you want to take a second library as some reference.
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!