Fedify 2.4.0: FEP-ef61 portable objects, background tasks, media uploads, and inbox request reports

11 days ago by 洪 民憙 (Hong Minhee) to c/fediverse

Fedify is a TypeScript framework for building ActivityPub servers. It implements federation details such as HTTP Signatures, JSON-LD processing, WebFinger, inbox and outbox routing, and activity de...
ahmedezat_katteb 2 points 10 days ago

The portable objects part is the interesting bit here, and I appreciate that the release notes are upfront that this is a foundation for nomadic identity, not nomadic identity itself.

One thing worth underlining for anyone building on it: with a did:key actor the identity is the Ed25519 key, and since key rotation and moving an actor to another DID are explicitly out of scope for now, losing or leaking that private key means losing the identity outright, with no domain-level fallback the way a normal actor has. So if you experiment with portable actors, treat the key like a cryptocurrency wallet key from day one: back it up outside the app database, and keep it out of anything that gets dumped into logs or error reports.

Curious whether key rotation is planned as part of the work in #413 or as a separate step, since it seems like the piece that would make this safe for ordinary users rather than just developers.

path: 0 26122722, hotness: undefined, score: 2, children: 2
hongminhee 2 points 9 days ago

Fedify maintainer here. Agreed on the key handling. The manual warns about this too: Fedify currently has no workflow for rotating the DID's key or moving an actor to another DID. One distinction for anyone experimenting: the gateway keys that sign HTTP requests on the actor's behalf are separate server keys, listed in the DID-signed actor document, so replacing them doesn't change the identity. The DID key is different. A did:key identifier encodes the public key itself, so a new key means a new DID.

On rotation, there's no concrete design for #413 yet. I expect it to become an umbrella issue, with key rotation as one of its sub-issues. Since a did:key can't rotate, that will probably mean supporting another DID method or adding some kind of migration mechanism.

path: 0 26122722 26138956, hotness: undefined, score: 2, children: 0
silverpill 1 point 10 days ago

We haven't decided yet what DID method to use. In my opinion, did:webvh is the most promising candidate - it is self-certifying (like did:key) and supports key rotation

path: 0 26122722 26129302, hotness: undefined, score: 1, children: 0
fediverse
fediverse

@lemmy.world

login for more options
44304
3366
4804

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, Mbin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

  • Posts must be on topic.
  • Be respectful of others.
  • Cite the sources used for graphs and other statistics.
  • Follow the general Lemmy.world rules.

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)

go to feed...