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

Interesting new DID method: "did:self"

Technical Discussion
1 1 3
  • One consequence of trying to separate identity hosting from the other components of the system is that it makes the other components harder to bootstrap. If I run just one component of my instance in isolation, how can I authenticate to it in order to configure/manage/test it, if I don't have an identity that I can use?

    The answer might be to use a did:self identifier. The flow would look something like

    • Management CLI tool generates a JWT describing a did:self identifier, and stores the private key locally
    • Admin uses scp or something to copy this JWT to the right place on the server
    • The server now has the ID's public key and so the CLI tool can prove that it "owns" the identifier

    Which seems like a reasonable fix for the classic problem of "how do you create the first user", and also a useful fallback for when the system is too badly borked to be able to look up real identities.

    Another interesting property of did:self is that seems to be possible to add extra metadata, such as a human-readable name, to the ID, by using standard JWT claims - without needing the data to appear in the DID document.

    Of course these identities will only be visible to the server they're copied to, not to the whole network, but that shouldn't be a major problem.

    (Cue the peanut gallery, with their suggestions of "it's easy, just do so-and-so", because everything looks easy when you take it out of context...)

    #ActivityPubDev #FediDev

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • upcoming fediverse events

    Fediverso fedidev fediverse
    14
    0 Votes
    14 Posts
    16 Views
    @wakest @rimu@piefed.social cc @rimu@mastodon.nzoss.nz @hongminhee I have been updating the OP on hackers pub and piefed hasn't gotten any of the updates it seems. looking at it from NodeBB it is indeed getting the updates from there so I can tell that its definitely something that needs fixing or bug reporting, but I don't know where the bug even is to report
  • 0 Votes
    1 Posts
    4 Views
    Fediverse & AI Coding Tools & Vibe Coding...I noticed 2 or 3 people lately using AI coding tools to create Fediverse software.2 of them even seemed to be Vibe Coding....I have been programming for over 30 years. I am probably not going to Vibe Code, but — I do recognize that it can be empowering to non-programmers https://mastodon.social/@reiver/115639716286184653...#ActivityPub #AICodingTools #Fedidev #Fedidevs #Fediverse #JSONLD #VibeCoding
  • 0 Votes
    1 Posts
    9 Views
    i'm moving my stuff off GitHub because i'm sick of Microsoft's shit. today's task is slurp.the official project home page has been https://catgirl.codes/slurp for a bit, but now that's also the package URL as far as Go is concerned. this will be a breaking change for anyone who depended on slurp internals, which i hope is nobody. there's some sort of package renaming directive you can use in go.mod if you did.the public Git repo and issue tracker are now on Codeberg: https://codeberg.org/vyr/slurpif you can, please donate to Codeberg. i just did (again). they're a great option for open source devs like me who aren't SREs and don't want the overhead of self-hosting all that stuff, and running a service like that isn't free.#slurp #FediDev
  • 0 Votes
    1 Posts
    13 Views
    Just over a year after Go's OpenAPI generator let me down, the #ActivityPub Content-Type causes the same problem again, this time in Python:example_client/api/default/put_object.py:34:62: SyntaxError: Simple statements must be separated by newlines or semicolons   |33 |     _kwargs["json"] = _body34 |     headers["Content-Type"] = "application/ld+json; profile="https://www.w3.org/ns/activitystreams""   |                                                              ^Is it really that unusual to include parameters in MIME types like this? I'm sure I've seen them all over the place.Or am I venturing off the beaten track by trying to be explicit about them in my openapi.yml file?#ActivityPubDev #BangHeadHere