Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. General Discussion
  3. ActivityPub client development is coming along!

ActivityPub client development is coming along!

Scheduled Pinned Locked Moved General Discussion
activitypubc2s
20 Posts 6 Posters 3 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • django@social.coopD django@social.coop

    @phnt I saw the issue. Do you know if it has been confirmed? (The timing is unfortunate)

    phnt@fluffytail.orgP This user is from outside of this forum
    phnt@fluffytail.orgP This user is from outside of this forum
    phnt@fluffytail.org
    wrote on last edited by
    #11
    @django There has been some talk about it around the 2.9.1 release months ago iirc, but nothing since. One of the Akkoma maintainers also disclosed recently some information disclosure issues that might affect c2s, so the subject might come up again. But if someone is willing to maintain it and fix issues, it will probably likely stay.

    Not sure if Akkoma still has support for it enabled since they have a habit of removing features and options from BE.
    django@social.coopD 1 Reply Last reply
    0
    • phnt@fluffytail.orgP phnt@fluffytail.org
      @django There has been some talk about it around the 2.9.1 release months ago iirc, but nothing since. One of the Akkoma maintainers also disclosed recently some information disclosure issues that might affect c2s, so the subject might come up again. But if someone is willing to maintain it and fix issues, it will probably likely stay.

      Not sure if Akkoma still has support for it enabled since they have a habit of removing features and options from BE.
      django@social.coopD This user is from outside of this forum
      django@social.coopD This user is from outside of this forum
      django@social.coop
      wrote on last edited by
      #12

      @phnt I asked about C2S support in their issue queue, and they said they had more or less ripped everything C2S out of the codebase. The vulnerability was reported to Pleroma a few days later 🫤

      phnt@fluffytail.orgP 1 Reply Last reply
      0
      • django@social.coopD django@social.coop

        @phnt I asked about C2S support in their issue queue, and they said they had more or less ripped everything C2S out of the codebase. The vulnerability was reported to Pleroma a few days later 🫤

        phnt@fluffytail.orgP This user is from outside of this forum
        phnt@fluffytail.orgP This user is from outside of this forum
        phnt@fluffytail.org
        wrote on last edited by
        #13
        @django Apparently the vulnerability is exactly what I found months ago and never investigated until two days ago 😄
        phnt@fluffytail.orgP 1 Reply Last reply
        0
        • phnt@fluffytail.orgP phnt@fluffytail.org
          @django
          >c2s
          But why though? Basically nothing uses that besides an android app that probably hasn't been update in 5+ years.
          julian@activitypub.spaceJ This user is from outside of this forum
          julian@activitypub.spaceJ This user is from outside of this forum
          julian@activitypub.space
          wrote on last edited by julian@activitypub.space
          #14

          phnt@fluffytail.org fwiw some of us AP devs have identified that end user applications may not be the ideal (or even the only) use case for C2S.

          A more interesting approach would be to pair it with OAuth2 authentication and use the C2S API as a transport layer in a server to server context. Performing actions on behalf of another user.

          A more traditional API (e.g. Mastodon API) would be used to communicate with end user apps/sessions etc.

          cc django@social.coop

          1 Reply Last reply
          1
          • mayel@sunbeam.cityM This user is from outside of this forum
            mayel@sunbeam.cityM This user is from outside of this forum
            mayel@sunbeam.city
            wrote on last edited by
            #15

            @julian

            Yeah a few of us had a good chat about that approach at the last #fediforum and we're now prototyping that in Bonfire at the moment, as a way to easily add federation capability to non-federated webapps (eg. for an events/calendar app to publish events by just POSTing a JSON with the event info via C2S to a bonfire server).

            @phnt@fluffytail.org @django

            julian@activitypub.spaceJ 1 Reply Last reply
            1
            • mayel@sunbeam.cityM mayel@sunbeam.city

              @julian

              Yeah a few of us had a good chat about that approach at the last #fediforum and we're now prototyping that in Bonfire at the moment, as a way to easily add federation capability to non-federated webapps (eg. for an events/calendar app to publish events by just POSTing a JSON with the event info via C2S to a bonfire server).

              @phnt@fluffytail.org @django

              julian@activitypub.spaceJ This user is from outside of this forum
              julian@activitypub.spaceJ This user is from outside of this forum
              julian@activitypub.space
              wrote on last edited by
              #16

              mayel@sunbeam.city yessss! That's amazing to hear. NodeBB doesn't support the OAuth2 piece yet, but I am looking forward to getting started!

              1 Reply Last reply
              0
              • phnt@fluffytail.orgP phnt@fluffytail.org
                @django Apparently the vulnerability is exactly what I found months ago and never investigated until two days ago 😄
                phnt@fluffytail.orgP This user is from outside of this forum
                phnt@fluffytail.orgP This user is from outside of this forum
                phnt@fluffytail.org
                wrote on last edited by
                #17
                @django AP C2S has been disabled in Pleroma since 2.9.0, commit: https://git.pleroma.social/pleroma/pleroma/-/commit/d6a136f823c6e749e6d2c4a0f80202f0d7c5a960

                Also I've noticed that it doesn't like Content-Type: activity/activity+json and can be quirky with cc/to so I'm not really a fan. I couldn't make a reply to a thread that would properly show up in FE. The parent was always not visible in the thread view, but visible when hovering over the "Replying to <user>" UI element. Probably something weird with addressing I'm missing.
                django@social.coopD 1 Reply Last reply
                0
                • phnt@fluffytail.orgP This user is from outside of this forum
                  phnt@fluffytail.orgP This user is from outside of this forum
                  phnt@fluffytail.org
                  wrote on last edited by
                  #18
                  @julian @django
                  >use the C2S API as a transport layer in a server to server context. Performing actions on behalf of another user.
                  Incredibly cursed and another case of "I can doesn't mean I should". I don't think that pretending to be a user should ever be done unless necessary (such as the case of automatic follow acceptance). Especially when it requires external authentication like OAuth2. At least with S2S you can use actor keys, but such concept does not exist in C2S. Not to mention that now none of the big ActivityPub server implementations support C2S (Mastodon, Pleroma, Misskey), so you are stuck in a bubble you are creating yourself.

                  Honestly, I would appreciate if the work that is being done to create toys around AP was instead focused on fixing the complete mess of a specification and making a v2 spec that isn't ambiguous and open-ended as a typical corporate privacy policy.
                  silverpill@mitra.socialS 1 Reply Last reply
                  0
                  • phnt@fluffytail.orgP phnt@fluffytail.org
                    @django AP C2S has been disabled in Pleroma since 2.9.0, commit: https://git.pleroma.social/pleroma/pleroma/-/commit/d6a136f823c6e749e6d2c4a0f80202f0d7c5a960

                    Also I've noticed that it doesn't like Content-Type: activity/activity+json and can be quirky with cc/to so I'm not really a fan. I couldn't make a reply to a thread that would properly show up in FE. The parent was always not visible in the thread view, but visible when hovering over the "Replying to <user>" UI element. Probably something weird with addressing I'm missing.
                    django@social.coopD This user is from outside of this forum
                    django@social.coopD This user is from outside of this forum
                    django@social.coop
                    wrote on last edited by
                    #19

                    @phnt no me gusta, but it explains why it didn’t work on one instance I tested.

                    1 Reply Last reply
                    0
                    • phnt@fluffytail.orgP phnt@fluffytail.org
                      @julian @django
                      >use the C2S API as a transport layer in a server to server context. Performing actions on behalf of another user.
                      Incredibly cursed and another case of "I can doesn't mean I should". I don't think that pretending to be a user should ever be done unless necessary (such as the case of automatic follow acceptance). Especially when it requires external authentication like OAuth2. At least with S2S you can use actor keys, but such concept does not exist in C2S. Not to mention that now none of the big ActivityPub server implementations support C2S (Mastodon, Pleroma, Misskey), so you are stuck in a bubble you are creating yourself.

                      Honestly, I would appreciate if the work that is being done to create toys around AP was instead focused on fixing the complete mess of a specification and making a v2 spec that isn't ambiguous and open-ended as a typical corporate privacy policy.
                      silverpill@mitra.socialS This user is from outside of this forum
                      silverpill@mitra.socialS This user is from outside of this forum
                      silverpill@mitra.social
                      wrote on last edited by
                      #20

                      @phnt C2S API has always been a solution looking for a problem, but it is similar enough to FEP-ae97 API, so I have no issue with people devoting their time to fixing C2S.

                      However, almost nobody actually works on it. There is a lot of cheap talk, but anyone who actually tries to implement C2S quickly realizes how broken it is and gives up. Most progress so far has been made by a single developer (btw: I began to document some aspects of his implementation in FEP-9f9f: Collections).

                      >fixing the complete mess of a specification and making a v2 spec that isn't ambiguous and open-ended as a typical corporate privacy policy

                      The working group is too busy renaming https://www.w3.org/ns/activitystreams#Public to as:Public

                      @julian @django

                      1 Reply Last reply
                      1
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups