Follow

Well, I've hit another hump with my implementation... I'm now handling everything correctly, but I'm getting the error
"Verification failed for shelf@ap.library.alamantus.com ap.library.alamantus.com/activ using rsa-sha256 (RSASSA-PKCS1-v1_5 with SHA-256)"
from 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.

Β· Β· Web Β· 3 Β· 2 Β· 1

I have a theory about why my verification isn't working, but it requires changing the domain to see if I'm right... hopefully it propagates quickly.

God damn it, my hubris! I had a one-character typo in my code, and that was causing my verification to fail. Wow. I hate that so damn much and I'm furious with myself, but I'm ELATED that it's working!

@Alamantus I encourage you to join #SocialHub (if you didn't join already) and don't hesitate to ask your questions on the forum.

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.

socialhub.activitypub.rocks/t/

The guide is automatically published to 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.

@Alamantus nice.

There are many #activitypub devs that do not know about #SocialHub

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.

@jplock @dansup I've tried signing up and never got the email I'm supposed to get, and I never got a reply when I asked about it, so I haven't been able to use it. I've just been combing through source code instead.

Sign in to participate in the conversation
Cybrespace

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!