Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Sorry, but requiring requests to public activitypub objects to be signed is completely whack, merveilles.town

Sorry, but requiring requests to public activitypub objects to be signed is completely whack, merveilles.town

Scheduled Pinned Locked Moved Uncategorized
activitypubmastodon
12 Posts 5 Posters 0 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.
  • profpatsch@mastodon.xyzP This user is from outside of this forum
    profpatsch@mastodon.xyzP This user is from outside of this forum
    profpatsch@mastodon.xyz
    wrote last edited by
    #1

    Sorry, but requiring requests to public activitypub objects to be signed is completely whack, merveilles.town

    #activitypub #mastodon

    julian@activitypub.spaceJ evan@cosocial.caE 2 Replies Last reply
    1
    0
    • R relay@relay.an.exchange shared this topic
    • profpatsch@mastodon.xyzP profpatsch@mastodon.xyz

      Sorry, but requiring requests to public activitypub objects to be signed is completely whack, merveilles.town

      #activitypub #mastodon

      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 last edited by
      #2

      @profpatsch@mastodon.xyz isn't this "authorized fetch", a Mastodon safety feature?

      (The advocacy of the safety feature is debated, but it's a safety feature nonetheless.)

      1 Reply Last reply
      2
      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 last edited by
        #3
        @julian @general @Profpatsch Yes, it's a safety feature whose purpose can be easily worked around. It's utterly pointless and only serves as annoyance for ActivityPub developers that need to get the Activities and Objects in a raw unmodified form with something simple like curl.

        https://evilmaid.net/blog/trusting-trust-fediverse/index.html#fetching
        1 Reply Last reply
        1
        0
        • dps910@social.freedombits.orgD This user is from outside of this forum
          dps910@social.freedombits.orgD This user is from outside of this forum
          dps910@social.freedombits.org
          wrote last edited by
          #4
          @julian @general @Profpatsch its used when a instance doesnt want a blocked instance to see their posts. I dont get the point of it tbh
          1 Reply Last reply
          1
          0
          • profpatsch@mastodon.xyzP profpatsch@mastodon.xyz

            Sorry, but requiring requests to public activitypub objects to be signed is completely whack, merveilles.town

            #activitypub #mastodon

            evan@cosocial.caE This user is from outside of this forum
            evan@cosocial.caE This user is from outside of this forum
            evan@cosocial.ca
            wrote last edited by
            #5

            @Profpatsch interesting command line! What is that?

            profpatsch@mastodon.xyzP 1 Reply Last reply
            2
            0
            • R relay@relay.mycrowd.ca shared this topic
            • evan@cosocial.caE evan@cosocial.ca

              @Profpatsch interesting command line! What is that?

              profpatsch@mastodon.xyzP This user is from outside of this forum
              profpatsch@mastodon.xyzP This user is from outside of this forum
              profpatsch@mastodon.xyz
              wrote last edited by
              #6

              @evan xh, a rust rewrite of httpie, both are a nicer UX alternative to curl for http-only use-case

              evan@cosocial.caE 1 Reply Last reply
              1
              0
              • profpatsch@mastodon.xyzP profpatsch@mastodon.xyz

                @evan xh, a rust rewrite of httpie, both are a nicer UX alternative to curl for http-only use-case

                evan@cosocial.caE This user is from outside of this forum
                evan@cosocial.caE This user is from outside of this forum
                evan@cosocial.ca
                wrote last edited by
                #7

                @Profpatsch ohhhh. I thought it was AP-specific, probably because of the `--follow` flag. Thank you!

                profpatsch@mastodon.xyzP 1 Reply Last reply
                2
                0
                • evan@cosocial.caE evan@cosocial.ca

                  @Profpatsch ohhhh. I thought it was AP-specific, probably because of the `--follow` flag. Thank you!

                  profpatsch@mastodon.xyzP This user is from outside of this forum
                  profpatsch@mastodon.xyzP This user is from outside of this forum
                  profpatsch@mastodon.xyz
                  wrote last edited by
                  #8

                  @evan haha, no, but AP is such a plain protocol that you “usually” can use plain tools … unless people require weird signatures on GET requests. Then you need a full-on domain and an AP server just to fetch a json file …

                  profpatsch@mastodon.xyzP 1 Reply Last reply
                  2
                  0
                  • profpatsch@mastodon.xyzP profpatsch@mastodon.xyz

                    @evan haha, no, but AP is such a plain protocol that you “usually” can use plain tools … unless people require weird signatures on GET requests. Then you need a full-on domain and an AP server just to fetch a json file …

                    profpatsch@mastodon.xyzP This user is from outside of this forum
                    profpatsch@mastodon.xyzP This user is from outside of this forum
                    profpatsch@mastodon.xyz
                    wrote last edited by
                    #9

                    @evan The “funny” thing here is that avoiding the restriction is absolutely trivial, e.g. I can spin up a new (sub)domain or just `tailscale funnel` myself around the blocklists.

                    julian@activitypub.spaceJ 1 Reply Last reply
                    2
                    0
                    • profpatsch@mastodon.xyzP profpatsch@mastodon.xyz

                      @evan The “funny” thing here is that avoiding the restriction is absolutely trivial, e.g. I can spin up a new (sub)domain or just `tailscale funnel` myself around the blocklists.

                      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 last edited by
                      #10

                      @profpatsch@mastodon.xyz right. Yeah it is definitely annoying from an AP dev perspective, I've tried debugging requests tons of times only to find out... oops, my requests are coming from localhost, so the signature can't be verified 😅 <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=0c477ea069b" title="❌" />

                      There is a minor legitimate use case for requiring signatures on GET though, and that's for retrieving user specific objects (like non-public notes and such)

                      @evan@cosocial.ca

                      1 Reply Last reply
                      1
                      1
                      • evan@cosocial.caE This user is from outside of this forum
                        evan@cosocial.caE This user is from outside of this forum
                        evan@cosocial.ca
                        wrote last edited by
                        #11

                        @julian @Profpatsch oh, yeah, definitely. It's really our only way to authenticate requests right now.

                        profpatsch@mastodon.xyzP 1 Reply Last reply
                        1
                        0
                        • evan@cosocial.caE evan@cosocial.ca

                          @julian @Profpatsch oh, yeah, definitely. It's really our only way to authenticate requests right now.

                          profpatsch@mastodon.xyzP This user is from outside of this forum
                          profpatsch@mastodon.xyzP This user is from outside of this forum
                          profpatsch@mastodon.xyz
                          wrote last edited by
                          #12

                          @evan @julian yeah, not saying anything against authentication via signatures, that’s a valid use-case if done correctly.

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


                          • Login

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