Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • 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

Darkscribes Community

  1. Home
  2. Uncategorized
  3. @julian in your webfinger controller for nodebb, you could support discovery of the instance actor via url:

@julian in your webfinger controller for nodebb, you could support discovery of the instance actor via url:

Scheduled Pinned Locked Moved Uncategorized
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.
  • thisismissem@hachyderm.ioT [email protected]

    @julian in your webfinger controller for nodebb, you could support discovery of the instance actor via url:

    https://community.nodebb.org/.well-known/webfinger?resource=https://community.nodebb.org/

    Where the resource is exactly `base_url` from nconf

    thisismissem@hachyderm.ioT This user is from outside of this forum
    thisismissem@hachyderm.ioT This user is from outside of this forum
    [email protected]
    wrote last edited by
    #2

    @julian I was going to contribute it, but uhhh, no can do: https://github.com/NodeBB/NodeBB/issues/13391

    I don't see a clearly documented path for development, so whilst I could probably make the required code change, I can't verify it would work

    1 Reply Last reply
    0
    • thisismissem@hachyderm.ioT [email protected]

      @julian in your webfinger controller for nodebb, you could support discovery of the instance actor via url:

      https://community.nodebb.org/.well-known/webfinger?resource=https://community.nodebb.org/

      Where the resource is exactly `base_url` from nconf

      trwnh@mastodon.socialT This user is from outside of this forum
      trwnh@mastodon.socialT This user is from outside of this forum
      [email protected]
      wrote last edited by
      #3

      @thisismissem @julian this assumes that the base url is the instance actor, which it might not be

      puppygirlhornypost2@transfem.socialP 1 Reply Last reply
      0
      • trwnh@mastodon.socialT [email protected]

        @thisismissem @julian this assumes that the base url is the instance actor, which it might not be

        puppygirlhornypost2@transfem.socialP This user is from outside of this forum
        puppygirlhornypost2@transfem.socialP This user is from outside of this forum
        [email protected]
        wrote last edited by
        #4

        @[email protected] @[email protected] @[email protected] yep. misskey does this differently. @instance.actor is transfem.social's actor. using base url would not work

        puppygirlhornypost2@transfem.socialP 1 Reply Last reply
        0
        • puppygirlhornypost2@transfem.socialP [email protected]

          @[email protected] @[email protected] @[email protected] yep. misskey does this differently. @instance.actor is transfem.social's actor. using base url would not work

          puppygirlhornypost2@transfem.socialP This user is from outside of this forum
          puppygirlhornypost2@transfem.socialP This user is from outside of this forum
          [email protected]
          wrote last edited by
          #5

          @[email protected] @[email protected] @[email protected] i think akkoma's is something like /internal/fetch

          puppygirlhornypost2@transfem.socialP 1 Reply Last reply
          0
          • puppygirlhornypost2@transfem.socialP [email protected]

            @[email protected] @[email protected] @[email protected] i think akkoma's is something like /internal/fetch

            puppygirlhornypost2@transfem.socialP This user is from outside of this forum
            puppygirlhornypost2@transfem.socialP This user is from outside of this forum
            [email protected]
            wrote last edited by
            #6

            @[email protected] @[email protected] @[email protected] Yes. https://akkoma.dev/AkkomaGang/akkoma/issues/855 (citing myself lol)

            trwnh@mastodon.socialT 1 Reply Last reply
            0
            • puppygirlhornypost2@transfem.socialP [email protected]

              @[email protected] @[email protected] @[email protected] Yes. https://akkoma.dev/AkkomaGang/akkoma/issues/855 (citing myself lol)

              trwnh@mastodon.socialT This user is from outside of this forum
              trwnh@mastodon.socialT This user is from outside of this forum
              [email protected]
              wrote last edited by
              #7

              @puppygirlhornypost2 @thisismissem @julian more generally, the concept of an "instance actor" isn't well-defined

              what most softwares call an "instance actor" is really more of a proxy actor, used primarily to sign fetches, not necessarily representing the service itself. i don't know why you'd want to discover such an actor outside of an http signature processing context. if you wanted to have a Service actor it would probably be best exposed via a specific link relation or rdf/jsonld predicate

              puppygirlhornypost2@transfem.socialP 1 Reply Last reply
              0
              • trwnh@mastodon.socialT [email protected]

                @puppygirlhornypost2 @thisismissem @julian more generally, the concept of an "instance actor" isn't well-defined

                what most softwares call an "instance actor" is really more of a proxy actor, used primarily to sign fetches, not necessarily representing the service itself. i don't know why you'd want to discover such an actor outside of an http signature processing context. if you wanted to have a Service actor it would probably be best exposed via a specific link relation or rdf/jsonld predicate

                puppygirlhornypost2@transfem.socialP This user is from outside of this forum
                puppygirlhornypost2@transfem.socialP This user is from outside of this forum
                [email protected]
                wrote last edited by
                #8

                @[email protected] @[email protected] @[email protected] It's kind of annoying when they're used to sign fetches. Some software expects that you are signing the request with the actor who made the request so if you fetch a private post but it's signed with the instance actor's keys it might not hand over the object. Even more generally the concept of an "instance" is not well-defined (which is why some software does not expect instance actors to be fetching objects, only individual actors). In reality instances may have more than actor acting on behalf of the instance. The one used for forwarding reports and fetching is usually referred to as "instance actor". Misskey has a relay actor (@relay.actor) which is also part of the software and how it behaves. Misskey's instance actor is also used to send Flag activities (anonymizing reports). If I suspend a remote misskey (or fork) instance's actor then I will no longer get reports forwarded to my instance from that instance. I'm unsure of what happens if I ignore the relay actor (in fact, I'm not really sure what relay actors are used for and that kinda scares me since I know akkoma also has one). There's not much documentation on how system/service accounts behave on specific instance software (and how they behave in relation to other instance software)

                puppygirlhornypost2@transfem.socialP 1 Reply Last reply
                0
                • puppygirlhornypost2@transfem.socialP [email protected]

                  @[email protected] @[email protected] @[email protected] It's kind of annoying when they're used to sign fetches. Some software expects that you are signing the request with the actor who made the request so if you fetch a private post but it's signed with the instance actor's keys it might not hand over the object. Even more generally the concept of an "instance" is not well-defined (which is why some software does not expect instance actors to be fetching objects, only individual actors). In reality instances may have more than actor acting on behalf of the instance. The one used for forwarding reports and fetching is usually referred to as "instance actor". Misskey has a relay actor (@relay.actor) which is also part of the software and how it behaves. Misskey's instance actor is also used to send Flag activities (anonymizing reports). If I suspend a remote misskey (or fork) instance's actor then I will no longer get reports forwarded to my instance from that instance. I'm unsure of what happens if I ignore the relay actor (in fact, I'm not really sure what relay actors are used for and that kinda scares me since I know akkoma also has one). There's not much documentation on how system/service accounts behave on specific instance software (and how they behave in relation to other instance software)

                  puppygirlhornypost2@transfem.socialP This user is from outside of this forum
                  puppygirlhornypost2@transfem.socialP This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #9

                  @[email protected] @[email protected] @[email protected] Unfortunately as these are not specified by a standard (AP2 does not make any reference to instances nor the concept of an AS service actor type being used as an instance actor) there is no universal path to resolve them. We can't even have universal properties as some software exposes the following/follower collection, some doesn't etc

                  thisismissem@hachyderm.ioT 1 Reply Last reply
                  0
                  • puppygirlhornypost2@transfem.socialP [email protected]

                    @[email protected] @[email protected] @[email protected] Unfortunately as these are not specified by a standard (AP2 does not make any reference to instances nor the concept of an AS service actor type being used as an instance actor) there is no universal path to resolve them. We can't even have universal properties as some software exposes the following/follower collection, some doesn't etc

                    thisismissem@hachyderm.ioT This user is from outside of this forum
                    thisismissem@hachyderm.ioT This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #10

                    @puppygirlhornypost2 @trwnh @julian context for where this came from: trying to figure out if a given nodebb server is currently federating (i.e., has AP enabled)

                    silverpill@mitra.socialS 1 Reply Last reply
                    0
                    • thisismissem@hachyderm.ioT [email protected]

                      @puppygirlhornypost2 @trwnh @julian context for where this came from: trying to figure out if a given nodebb server is currently federating (i.e., has AP enabled)

                      silverpill@mitra.socialS This user is from outside of this forum
                      silverpill@mitra.socialS This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #11

                      @thisismissem @puppygirlhornypost2 @trwnh @julian This sometimes is indicated by metadata.federation.enabled flag in NodeInfo

                      julian@community.nodebb.orgJ 1 Reply Last reply
                      0
                      • silverpill@mitra.socialS [email protected]

                        @thisismissem @puppygirlhornypost2 @trwnh @julian This sometimes is indicated by metadata.federation.enabled flag in NodeInfo

                        julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.orgJ This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #12

                        @[email protected] is that part of the nodeinfo spec?

                        1 Reply Last reply
                        0
                        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
                        • Users
                        • Groups