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 (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. General Discussion
  3. Could be potentially nice for fediverse server testing, as more implementations make the jump to final RFC 9421 HTTP signatures.

Could be potentially nice for fediverse server testing, as more implementations make the jump to final RFC 9421 HTTP signatures.

Scheduled Pinned Locked Moved General Discussion
activitypubfedidevrfc9421
51 Posts 11 Posters 6 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.
  • evan@cosocial.caE evan@cosocial.ca

    @smallcircles @mro @julian @fedify I'm glad you enjoy thinking through these issues. Good luck with your blog post!

    smallcircles@social.coopS This user is from outside of this forum
    smallcircles@social.coopS This user is from outside of this forum
    smallcircles@social.coop
    wrote on last edited by
    #42

    @evan @mro @julian @fedify

    Blog post is done already 😃 and you and @silverpill the first ones I made reference to 🙂

    Here's the announcement, and be sure to fill in the #poll if you want.. https://social.coop/@smallcircles/116379158584600016

    1 Reply Last reply
    0
    • mradcliffe@nokoto.orgM This user is from outside of this forum
      mradcliffe@nokoto.orgM This user is from outside of this forum
      mradcliffe@nokoto.org
      wrote on last edited by
      #43

      @gabboman I decided to hack on this the past few nights, and came up with an experimental, backwards-compatible implementation that I created a draft pull request for @peertube/http-signature. I tried to follow the library’s coding style of the original as much as possible.

      The idea of backwards-compatibility is that you can drop this into an existing application and nothing will break. There are deprecation messages that may surface in logs to guide changing from using the function exports to the cavage12Draft export (and the rfc9421 export).

      I think the next step for anyone would be:

      • manual...

      gabboman@gabboman.xyzG mradcliffe@nokoto.orgM 2 Replies Last reply
      0
      • mradcliffe@nokoto.orgM mradcliffe@nokoto.org

        @gabboman I decided to hack on this the past few nights, and came up with an experimental, backwards-compatible implementation that I created a draft pull request for @peertube/http-signature. I tried to follow the library’s coding style of the original as much as possible.

        The idea of backwards-compatibility is that you can drop this into an existing application and nothing will break. There are deprecation messages that may surface in logs to guide changing from using the function exports to the cavage12Draft export (and the rfc9421 export).

        I think the next step for anyone would be:

        • manual...

        gabboman@gabboman.xyzG This user is from outside of this forum
        gabboman@gabboman.xyzG This user is from outside of this forum
        gabboman@gabboman.xyz
        wrote on last edited by
        #44

        @mradcliffe@nokoto.org

        WOOOOO WE USE SAID LIBRARY

        1 Reply Last reply
        0
        • mradcliffe@nokoto.orgM mradcliffe@nokoto.org

          @gabboman I decided to hack on this the past few nights, and came up with an experimental, backwards-compatible implementation that I created a draft pull request for @peertube/http-signature. I tried to follow the library’s coding style of the original as much as possible.

          The idea of backwards-compatibility is that you can drop this into an existing application and nothing will break. There are deprecation messages that may surface in logs to guide changing from using the function exports to the cavage12Draft export (and the rfc9421 export).

          I think the next step for anyone would be:

          • manual...

          mradcliffe@nokoto.orgM This user is from outside of this forum
          mradcliffe@nokoto.orgM This user is from outside of this forum
          mradcliffe@nokoto.org
          wrote last edited by
          #45

          When last I left off, I made a pull request to peertube/http-signature library try to help the JavaScript ecosystem reach RFC 9421 parity while being backwards-compatible with cavage-12 draft implementations. There has not been any traction on this yet. Maybe because PeerTube has abandoned its own use of the library.

          So our current ecosystem state is the following:

          • PeerTube uses misskey-dev/node-http-message-signatures library and owns the defacto unmaintained peertube/http-signature library.
          • Misskey and the rest of the ‘keyverse use peertube/http-signature library and Misskey owns the defacto...

          mradcliffe@nokoto.orgM 1 Reply Last reply
          0
          • mradcliffe@nokoto.orgM mradcliffe@nokoto.org

            When last I left off, I made a pull request to peertube/http-signature library try to help the JavaScript ecosystem reach RFC 9421 parity while being backwards-compatible with cavage-12 draft implementations. There has not been any traction on this yet. Maybe because PeerTube has abandoned its own use of the library.

            So our current ecosystem state is the following:

            • PeerTube uses misskey-dev/node-http-message-signatures library and owns the defacto unmaintained peertube/http-signature library.
            • Misskey and the rest of the ‘keyverse use peertube/http-signature library and Misskey owns the defacto...

            mradcliffe@nokoto.orgM This user is from outside of this forum
            mradcliffe@nokoto.orgM This user is from outside of this forum
            mradcliffe@nokoto.org
            wrote last edited by
            #46

            I did a quick experiment, and I think there are too many differences to make this an easy swap out library. It would take a lot of refactoring in wafrn to make use of fedify’s library, for instance.

            julian@activitypub.spaceJ 1 Reply Last reply
            0
            • mradcliffe@nokoto.orgM mradcliffe@nokoto.org

              I did a quick experiment, and I think there are too many differences to make this an easy swap out library. It would take a lot of refactoring in wafrn to make use of fedify’s library, for instance.

              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 julian@activitypub.space
              #47

              Hi @mradcliffe@nokoto.org — NodeBB is built on Node and we'd be interested in using this library.

              Is your work still on a branch? Are you able to share it with me?

              If it is still used but unmaintained, it's probably time for a fork.

              1 Reply Last reply
              0
              • mradcliffe@nokoto.orgM This user is from outside of this forum
                mradcliffe@nokoto.orgM This user is from outside of this forum
                mradcliffe@nokoto.org
                wrote last edited by
                #48

                Hi @julian, you mean my pull request into peertube/http-signature? Have at it. Working with the test framework that the original library is annoying.

                Recently I found that I made a mistake requiring alg signature parameter in my RFC 9421 implementation, which I carried over there, but that node library also requires it.

                julian@activitypub.spaceJ 1 Reply Last reply
                0
                • mradcliffe@nokoto.orgM mradcliffe@nokoto.org

                  Hi @julian, you mean my pull request into peertube/http-signature? Have at it. Working with the test framework that the original library is annoying.

                  Recently I found that I made a mistake requiring alg signature parameter in my RFC 9421 implementation, which I carried over there, but that node library also requires it.

                  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
                  #49

                  @mradcliffe@nokoto.org if Iceshrimp wafrn and Misskey use that lib that's pretty good isn't it? Does the base package not support the latest RFC 9421?

                  1 Reply Last reply
                  0
                  • mradcliffe@nokoto.orgM This user is from outside of this forum
                    mradcliffe@nokoto.orgM This user is from outside of this forum
                    mradcliffe@nokoto.org
                    wrote last edited by
                    #50

                    @julian No, TritonDataCenter/node-http-signature, the original http-signature npm lib, that PeerTube forked doesn’t support RFC 9421.

                    julian@activitypub.spaceJ 1 Reply Last reply
                    1
                    • mradcliffe@nokoto.orgM mradcliffe@nokoto.org

                      @julian No, TritonDataCenter/node-http-signature, the original http-signature npm lib, that PeerTube forked doesn’t support RFC 9421.

                      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
                      #51

                      @mradcliffe@nokoto.org on thanks, I will take a look at your fork and see if I am able to integrate it into NodeBB. Will DM you shortly.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      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