Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • 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
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  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:

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
13 Indlæg 5 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • thisismissem@hachyderm.ioT This user is from outside of this forum
    thisismissem@hachyderm.ioT This user is from outside of this forum
    thisismissem@hachyderm.io
    wrote sidst redigeret af
    #1

    @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 trwnh@mastodon.socialT 2 Replies Last reply
    0
    • julian@community.nodebb.orgJ julian@community.nodebb.org shared this topic
    • thisismissem@hachyderm.ioT thisismissem@hachyderm.io

      @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
      thisismissem@hachyderm.io
      wrote sidst redigeret af
      #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
      • support@community.nodebb.orgS support@community.nodebb.org shared this topic
      • thisismissem@hachyderm.ioT thisismissem@hachyderm.io

        @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
        trwnh@mastodon.social
        wrote sidst redigeret af
        #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 trwnh@mastodon.social

          @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
          puppygirlhornypost2@transfem.social
          wrote sidst redigeret af
          #4

          @trwnh@mastodon.social @thisismissem@hachyderm.io @julian@community.nodebb.org 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 puppygirlhornypost2@transfem.social

            @trwnh@mastodon.social @thisismissem@hachyderm.io @julian@community.nodebb.org 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
            puppygirlhornypost2@transfem.social
            wrote sidst redigeret af
            #5

            @trwnh@mastodon.social @thisismissem@hachyderm.io @julian@community.nodebb.org i think akkoma's is something like /internal/fetch

            puppygirlhornypost2@transfem.socialP 1 Reply Last reply
            0
            • puppygirlhornypost2@transfem.socialP puppygirlhornypost2@transfem.social

              @trwnh@mastodon.social @thisismissem@hachyderm.io @julian@community.nodebb.org 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
              puppygirlhornypost2@transfem.social
              wrote sidst redigeret af
              #6

              @trwnh@mastodon.social @thisismissem@hachyderm.io @julian@community.nodebb.org Yes. https://akkoma.dev/AkkomaGang/akkoma/issues/855 (citing myself lol)

              trwnh@mastodon.socialT 1 Reply Last reply
              0
              • puppygirlhornypost2@transfem.socialP puppygirlhornypost2@transfem.social

                @trwnh@mastodon.social @thisismissem@hachyderm.io @julian@community.nodebb.org 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
                trwnh@mastodon.social
                wrote sidst redigeret af
                #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 trwnh@mastodon.social

                  @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
                  puppygirlhornypost2@transfem.social
                  wrote sidst redigeret af
                  #8

                  @trwnh@mastodon.social @thisismissem@hachyderm.io @julian@community.nodebb.org 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 puppygirlhornypost2@transfem.social

                    @trwnh@mastodon.social @thisismissem@hachyderm.io @julian@community.nodebb.org 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
                    puppygirlhornypost2@transfem.social
                    wrote sidst redigeret af
                    #9

                    @trwnh@mastodon.social @thisismissem@hachyderm.io @julian@community.nodebb.org 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. 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 puppygirlhornypost2@transfem.social

                      @trwnh@mastodon.social @thisismissem@hachyderm.io @julian@community.nodebb.org 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. 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
                      thisismissem@hachyderm.io
                      wrote sidst redigeret af
                      #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 thisismissem@hachyderm.io

                        @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
                        silverpill@mitra.social
                        wrote sidst redigeret af
                        #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 silverpill@mitra.social

                          @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
                          julian@community.nodebb.org
                          wrote sidst redigeret af
                          #12

                          @silverpill@mitra.social is that part of the nodeinfo spec?

                          1 Reply Last reply
                          0
                          • 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 sidst redigeret af
                            #13

                            @julian @support @trwnh @thisismissem @puppygirlhornypost2 No, metadata is a free-form object, according to the spec, so people put random stuff there. I originally discovered metadata.federation.enabled via Pleroma, which famously has rich NodeInfo: https://lain.com/nodeinfo/2.1.json

                            1 Reply Last reply
                            0
                            Svar
                            • Svar som emne
                            Login for at svare
                            • Ældste til nyeste
                            • Nyeste til ældste
                            • Most Votes


                            • Log ind

                            • Har du ikke en konto? Tilmeld

                            • Login or register to search.
                            Powered by NodeBB Contributors
                            Graciously hosted by data.coop
                            • First post
                              Last post
                            0
                            • Hjem
                            • Seneste
                            • Etiketter
                            • Populære
                            • Verden
                            • Bruger
                            • Grupper