Spacc BBS Spacc BBS
    • Categorie
    • Recenti
    • Tag
    • Popolare
    • Mondo
    • Utenti
    • Gruppi
    • Registrati
    • Accedi
    La nuova BBS Γ¨ in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.

    @julian diving into the hard problems of building for the Fediverse at #Fedicon, starting with hilariously talking about how those hard problems look like to average users πŸ˜…

    Pianificato Fissato Bloccato Spostato Uncategorized
    fedicon
    99 Post 13 Autori 218 Visualizzazioni
    Caricamento altri post
    • Da Vecchi a Nuovi
    • Da Nuovi a Vecchi
    • PiΓΉ Voti
    Rispondi
    • Topic risposta
    Effettua l'accesso per rispondere
    Questa discussione Γ¨ stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
    • evan@cosocial.caE Questo utente Γ¨ esterno a questo forum
      evan@cosocial.ca @thisismissem@hachyderm.io
      ultima modifica di

      @thisismissem @naturzukunft @julian hey, that brings up a great point. Does Mastodon support clients using OAuth for accessing the read-only parts of the API (reading an actor, reading an outbox, reading a note)? I've done it with no authentication and with HTTP Signatures but I don't know if you can use OAuth. That would be a huge step in the right direction.

      thisismissem@hachyderm.ioT 1 Risposta Ultima Risposta Rispondi Cita 0
      • thisismissem@hachyderm.ioT Questo utente Γ¨ esterno a questo forum
        thisismissem@hachyderm.io @evan@cosocial.ca
        ultima modifica di

        @evan @naturzukunft @julian because we're an internet draft in front of the OAuth Working Group at IETF and we're having to balance a dozen different needs and compatibility issues. But we already have adoption in some places (bluesky/AT Proto being one of the most notable adopters)

        1 Risposta Ultima Risposta Rispondi Cita 0
        • thisismissem@hachyderm.ioT Questo utente Γ¨ esterno a questo forum
          thisismissem@hachyderm.io @evan@cosocial.ca
          ultima modifica di

          @evan @naturzukunft @julian not for AP, because we're don't support anything related to C2S. We could add OAuth support there theoretically, but it's not a priority right now.

          evan@cosocial.caE 1 Risposta Ultima Risposta Rispondi Cita 0
          • evan@cosocial.caE Questo utente Γ¨ esterno a questo forum
            evan@cosocial.ca @thisismissem@hachyderm.io
            ultima modifica di

            @thisismissem @naturzukunft @julian right, but the ActivityPub API is not just about posting activities to the `outbox`. It also includes reading all the actors, collections and objects in the Activity Streams 2.0 format.

            Anyways, I might look into it and make an issue and PR. If it worked properly, you could do a decent read-only application with the ActivityPub API, without making any commitment to the client-to-server part of the spec. That'd be a nice step forward for the API.

            thisismissem@hachyderm.ioT 1 Risposta Ultima Risposta Rispondi Cita 0
            • thisismissem@hachyderm.ioT Questo utente Γ¨ esterno a questo forum
              thisismissem@hachyderm.io @evan@cosocial.ca
              ultima modifica di

              @evan @naturzukunft @julian talk to the team first. Doing changes here is not simple.

              cc @MastodonEngineering

              evan@cosocial.caE 1 Risposta Ultima Risposta Rispondi Cita 0
              • evan@cosocial.caE Questo utente Γ¨ esterno a questo forum
                evan@cosocial.ca @thisismissem@hachyderm.io
                ultima modifica di

                @thisismissem @naturzukunft @julian @MastodonEngineering that was on my agenda.

                1 Risposta Ultima Risposta Rispondi Cita 0
                • benpate@mastodon.socialB Questo utente Γ¨ esterno a questo forum
                  benpate@mastodon.social
                  ultima modifica di

                  I'm still catching up on this conversation, but I just want to add that this analysis is spot on. Very well said, Julian. Thank you!

                  I'm collecting a few thoughts on this that won't fit into a toot, so I'll probably post them elsewhere and link back here once I get it together.

                  @julian @FenTiger @evan

                  1 Risposta Ultima Risposta Rispondi Cita 0
                  • risottobias@toot.risottobias.orgR Questo utente Γ¨ esterno a questo forum
                    risottobias@toot.risottobias.org @thisismissem@hachyderm.io
                    ultima modifica di

                    @thisismissem @julian @naturzukunft is this in a FEP or RFC someplace?

                    thisismissem@hachyderm.ioT 1 Risposta Ultima Risposta Rispondi Cita 0
                    • benpate@mastodon.socialB Questo utente Γ¨ esterno a questo forum
                      benpate@mastodon.social @fentiger@mastodon.social
                      ultima modifica di

                      @FenTiger @julian @evan

                      This is a good point, though I'm not clear how different servers would handle outbox requests for activities that they don't support. I'm pretty sure mine would just die.

                      My big concern with OAuth tokens is that they require me to give away write access to my Fediverse identity when I "like" or "reply" to something, which could easily be an attack vector.

                      We talked about scoping OAuth tokens, but it feels like a lot of moving parts. More details later

                      fentiger@mastodon.socialF evan@cosocial.caE 2 Risposte Ultima Risposta Rispondi Cita 0
                      • thisismissem@hachyderm.ioT Questo utente Γ¨ esterno a questo forum
                        thisismissem@hachyderm.io @risottobias@toot.risottobias.org
                        ultima modifica di

                        @risottobias @julian @naturzukunft anyone paying me to write it? No? Then there's probably not gonna be s document appear whilst I struggle to pay my rent

                        1 Risposta Ultima Risposta Rispondi Cita 0
                        • benpate@mastodon.socialB Questo utente Γ¨ esterno a questo forum
                          benpate@mastodon.social @evan@cosocial.ca
                          ultima modifica di

                          I'm genuinely behind on this. I've skimmed Evan's FEP, but a lot of OAuth complexity is still opaque to me.

                          It seems like the missing piece with using the C2S API would be *figuring out* what endpoints I can call to initiate an activity.

                          Does FEP-d8c2 implement discovery in some way that I'm not seeing? Or, is this something *still to be defined* and I'm just jumping the gun, here?

                          @evan @thisismissem @julian @naturzukunft

                          fentiger@mastodon.socialF by_caballero@mastodon.socialB evan@cosocial.caE 3 Risposte Ultima Risposta Rispondi Cita 0
                          • fentiger@mastodon.socialF Questo utente Γ¨ esterno a questo forum
                            fentiger@mastodon.social @benpate@mastodon.social
                            ultima modifica di

                            @benpate @julian I suppose this is where fine grained authorization (such as RAR) comes in - assuming that people will understand it - which they might not!

                            Looking forward to talking about the details properly...

                            benpate@mastodon.socialB 1 Risposta Ultima Risposta Rispondi Cita 0
                            • fentiger@mastodon.socialF Questo utente Γ¨ esterno a questo forum
                              fentiger@mastodon.social @benpate@mastodon.social
                              ultima modifica di

                              @benpate @evan @thisismissem @julian @naturzukunft I think the idea is that you get an access_token which you can use to post to the outbox - which you can discover from the Actor object.

                              benpate@mastodon.socialB 1 Risposta Ultima Risposta Rispondi Cita 0
                              • benpate@mastodon.socialB Questo utente Γ¨ esterno a questo forum
                                benpate@mastodon.social @fentiger@mastodon.social
                                ultima modifica di

                                @FenTiger @julian

                                Yes. It seems possible, but would require a lot of complex thought to do well. And that complexity is pushed onto the user, who has to determine if they like the terms that the website is presenting in order to continue putting a "star" on an article.

                                You and I will implement this ethically. Others will implement it adversarially -- I want to build the protocol to protect against the next Cambridge Analytica.

                                1 Risposta Ultima Risposta Rispondi Cita 0
                                • benpate@mastodon.socialB Questo utente Γ¨ esterno a questo forum
                                  benpate@mastodon.social @fentiger@mastodon.social
                                  ultima modifica di

                                  But most software doesn't support the C2S API, so that POST would either fail, or the server would lie and say "thanks for submitting this activity" and then just do nothing with it.

                                  I'd like to know that the activity is going to fail BEFORE I hit submit. Otherwise, users will run into a dead end, and the server that originated the request won't have any way to fix it.

                                  Servers should know AHEAD OF TIME if they can post activities or not.

                                  @FenTiger @evan @thisismissem @julian @naturzukunft

                                  fentiger@mastodon.socialF 1 Risposta Ultima Risposta Rispondi Cita 0
                                  • by_caballero@mastodon.socialB Questo utente Γ¨ esterno a questo forum
                                    by_caballero@mastodon.social @benpate@mastodon.social
                                    ultima modifica di

                                    @benpate @evan @thisismissem @julian @naturzukunft SWICG c2s task force wen (or will the payments task force just naturally become the c2s tf over time)

                                    by_caballero@mastodon.socialB 1 Risposta Ultima Risposta Rispondi Cita 0
                                    • by_caballero@mastodon.socialB Questo utente Γ¨ esterno a questo forum
                                      by_caballero@mastodon.social @by_caballero@mastodon.social
                                      ultima modifica di

                                      @benpate @evan @thisismissem @julian @naturzukunft all joking aside I think c2s requires emelia and Aaron's rfc on the OAuth side, and some equally complex discovery mechanism based on alternate AuthZ (presumably something based on certificate-ized Object Capabilities?) if we wanna stay composable and not-100%-dependent on oauth...

                                      evan@cosocial.caE 1 Risposta Ultima Risposta Rispondi Cita 0
                                      • fentiger@mastodon.socialF Questo utente Γ¨ esterno a questo forum
                                        fentiger@mastodon.social @benpate@mastodon.social
                                        ultima modifica di

                                        @benpate @evan @thisismissem @julian @naturzukunft It's certainly helpful to have a way to know if you should show that button on the UI or not!

                                        julian@community.nodebb.orgJ 1 Risposta Ultima Risposta Rispondi Cita 0
                                        • julian@community.nodebb.orgJ Questo utente Γ¨ esterno a questo forum
                                          julian@community.nodebb.org @fentiger@mastodon.social
                                          ultima modifica di julian@community.nodebb.org

                                          fentiger@mastodon.social benpate@mastodon.social exactly, we need some guarantee that the activity we POST to the outbox isn't just unceremoniously dropped and an HTTP 200 returned.

                                          NodeBB doesn't support POSTing the outbox at the moment, but do you return a HTTP code for "not implemented", currently.

                                          1 Risposta Ultima Risposta Rispondi Cita 0
                                          • benpate@mastodon.socialB Questo utente Γ¨ esterno a questo forum
                                            benpate@mastodon.social @fentiger@mastodon.social
                                            ultima modifica di

                                            @FenTiger @julian

                                            Yes, this makes sense. OWA was a partial match for my FEP, but doesn't fit this larger use case we're discussing.

                                            Exciting!

                                            1 Risposta Ultima Risposta Rispondi Cita 0
                                            • Primo post
                                              Ultimo post