Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

`keyId` is a problem.

General Discussion
6 3 0

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @jdt the way I interpret it for JSON-LD documents is that the fragment is the actual name of the property inside the document that the IRI refers to. So in the case of a public key would be https://example.com/jdoe#publicKey (instead of jdoe#main)

    I haven't seen anything in the documentation to give a more explicit, or different, mechanism.

    read more

  • @mariusor@metalhead.club That's great context; thanks!

    read more

  • @silverpill@mitra.social That makes sense. I guess I was getting a little bit spun around by the idea that the keyId is not the Actor id and thinking too hard about it.

    read more

  • @jdt the fragment in a JSON-LD document IRI has a semantic meaning that goes back to RDF: https://www.w3.org/TR/rdf11-concepts/#section-fragID

    > a secondary resource that is usually a part of, view of, defined in, or described in the primary resource, and the precise semantics depend on the set of representations that might result from a retrieval action on the primary resource.

    read more

  • @jdt You're supposed to fetch the keyId first, then fetch its owner (or controller).
    But in practice its either /main-key (GoToSocial) or fragment ID, so it is indeed possible to save a HTTP request.

    read more

  • keyId is a problem.

    Generally speaking, most Actors have a `keyId' that looks something like:

    https://enigmatick.social/user/jdt#main-key

    When an inbox POST arrives from an unknown user, we can chop off the bit including #main-key and we can pull the remaining URL as the Actor's ID.

    But some implementations decided they should use /main-key instead. That indicates that the keyId format is unreliable and not well-specified. So I switched to deferring this header check for unknown Actors deeper into my ingestion pipeline so that I could retrieve the actor string from the object being sent. That works pretty well.

    But GET requests. Like followers_synchronization. Dammit. There's no object to refer to. So we're back to parsing the keyId and hoping for meaning.

    Out of 124,007 Actors in my database, 587 do not comply with the #main-key convention.

    enigmatick=> select count(*) from actors where as_public_key->>'id' NOT LIKE '%#main-key'; count ------- 587 (1 row)

    For full coverage, I need to accommodate /main-key and #key as well

    #ActivityPub

    read more

  • @reiver I'd consider interoperating social networks to be "federated", but I know it's not a precise term. There are similar ambiguities with other commonly used terms: decentralization, server, node, instance, and so on. We have our personal definitions but find that others have a different mental model than ours. It might be interesting to have a collaborative social web glossary that captures the variations of how these terms are used.

    read more

  • @rimu@mastodon.nzoss.nz Definitely. Offloading the static assets to nginx is a big win. Varnish adds a layer of serving from memory that takes it up a notch. Like having your own Fastly pop.

    It does require some configuration nuance to be sure you aren't serving cached assets to the wrong connections (e.g., authenticated GET requests that shouldn't be shared beyond a specific session).

    read more
Post suggeriti
  • @support

    Moved Uncategorized activitypub
    4
    2
    0 Votes
    4 Posts
    8 Views
    >>> CONECTION ISSUE <<<Please boost and help to improve the connections in the fediverse* please scroll up for more information@support @retech @staff Hello defcon.social support, Thank you for your great commitment, whenever you are approached you immediately appear like the Cavalery! I will attach the next accounts where I notice these disturbances of the federated connections as links to this thread and if other defcon.social and/or fediverse users notice such disturbances, it would certainly be useful if they also announce this attached to this thread. It doesn't have to be screenshots like in the previous posts, with those I just wanted to show what it's about.#mastodon #fediverse #pixelfed #activitypub #issue
  • 0 Votes
    1 Posts
    4 Views
    #FediNews #noticia del #fediverso Apertura de la convocatoria para FOSDEM 2026: Se ha anunciado la "Call For Participation" (llamada a la participación) para el Social Web Devroom en la conferencia FOSDEM 2026, invitando a la comunidad a proponer charlas sobre el desarrollo de aplicaciones #ActivityPub de código abiertoFOSDEM 2026 – Social Web Devroom – Call For Participation | Social Web Foundationhttps://socialwebfoundation.org/2025/10/31/fosdem-2026-social-web-devroom-call-for-participation/
  • 0 Votes
    1 Posts
    13 Views
    Hey @bjoern @Karlitschek @nextcloud #activitypub #fedidev we will schedule a meeting soon, would be cool if anyone could attend https://digitalcourage.social/@reiver@mastodon.social/115317680720978044 [which day?] https://digitalcourage.social/@reiver@mastodon.social/115317829430813805
  • 1 Votes
    30 Posts
    81 Views
    If I used an object observer for a topic/context, and proceeded to delete that context, the object observer would go away too. That is, unless you're inferring that I take steps to preserve the object observer for some period of time (if not forever?)