FediBuzz webfinger backreference failure
-
Hi @astro@c3d2.social, I think I found a bug with FediBuzz and how it does its Webfinger responses.
In a nutshell, FediBuzz tag actors have
preferredUsernameset totag-whatever, but the corresponding webfinger lookup?resource=acct:tag-whatever@relay.fedi.buzzfails with a 404, butwhatever@relay.fedi.buzzworks fine.AI slop explanation follows (feel free to ignore!):
> tags.pub does it correctly:
>
>json > { > "id": "https://tags.pub/user/nodebb", > "preferredUsername": "nodebb" > } >
>
> WebFingeracct:nodebb@tags.pub→ resolves tohttps://tags.pub/user/nodebb
>
> FediBuzz breaks the round-trip:
>
>json > { > "id": "https://relay.fedi.buzz/tag/nodebb", > "preferredUsername": "tag-nodebb" > } >
>
> WebFingeracct:tag-nodebb@relay.fedi.buzz→ 404
>
> Yes, it's a FediBuzz bug.preferredUsernamemust match the WebFinger subject so thatacct:{preferredUsername}@{hostname}resolves back to the actor'sid. FediBuzz added atag-prefix topreferredUsernamebut didn't update WebFinger to match.
>
> They should either usepreferredUsername: "nodebb"(matching tags.pub) or serve WebFinger foracct:tag-nodebb@relay.fedi.buzz. -
R AodeRelay shared this topic on
-
@julian Are you sure? For me, `acct:tag-whatever@` returns HTTP 200 while `acct:whatever@` fails with HTTP 404.
-
@julian Are you sure? For me, `acct:tag-whatever@` returns HTTP 200 while `acct:whatever@` fails with HTTP 404.
@astro@c3d2.social hmmm, you're right, I think I might've gotten confused. I swore it was the other way around, let me take a look when I get back to my PC
-
System shared this topic on
-
@astro@c3d2.social yeah I can't reproduce it anymore.
Both qwen and I must've hallucinated <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f627.png?v=4459463b5a0" title="
" /> I'll let you know if it happens again. -
@astro@c3d2.social yup, root cause was a regression I accidentally introduced a year ago (I missed a
!and borked a conditional)Really weird, sorry for wasting your time!
https://github.com/NodeBB/NodeBB/commit/57095a45e52e0c36c25b56003abfb59641a47df1
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login