Well, I've hit another hump with #ActivityPub my implementation... I'm now handling everything correctly, but I'm getting the error
"Verification failed for firstname.lastname@example.org https://ap.library.alamantus.com/activitypub/actor using rsa-sha256 (RSASSA-PKCS1-v1_5 with SHA-256)"
from #Mastodon after sending the "Accept" activity for new Follows, which means it's not confirming that the follow was accepted.
I'm not sure what's wrong with it, and I'm pretty sure I'm doing all the signing correctly now. ActivityPub is cool, but implementing it has been a real pain in the ass.
Oh well, I guess I'll try again later.
God damn it, my hubris! I had a one-character typo in my code, and that was causing my #ActivityPub verification to fail. Wow. I hate that so damn much and I'm furious with myself, but I'm ELATED that it's working!
It is indeed a PITA to get started with #activitypub and figure out all the complexity that is not apparent from the specs.
There is a crowdsourced guide to help ppl on this road, and it is a wiki post that any member can edit. Would be wonderful if you added your insights.
The guide is automatically published to https://activitypub.rocks
@humanetech Hey thanks so much! That guide should be really helpful once my brain is no longer mush.
Also I do have an account on SocialHub but I completely forgot it existed, tbh. I'll definitely be asking for help if the guide doesn't make my mistakes abundantly clear.
Once I get things figured out, I'll see about adding what I've learned to the guide, but I feel like that's a long way away.
I am trying to attract more attention to it, as it is the best way for the dev community to come together and collaborate. We need to evolve standards and cooperate / collaborate more, in general, and posting on fedi is not always the best way to reach out, esp. since knowledge exchanged tends to sink into history on old threads.