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. I've started working on generating RFC9421 compatible HTTP-Signatures in #GoActivityPub about a week and a half ago, but it felt more like a month.

I've started working on generating RFC9421 compatible HTTP-Signatures in #GoActivityPub about a week and a half ago, but it felt more like a month.

Scheduled Pinned Locked Moved Uncategorized
httpsigfedidevactivitypubdevgoactivitypub
5 Posts 2 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.
  • mariusor@metalhead.clubM This user is from outside of this forum
    mariusor@metalhead.clubM This user is from outside of this forum
    mariusor@metalhead.club
    wrote last edited by
    #1

    I've started working on generating RFC9421 compatible HTTP-Signatures in #GoActivityPub about a week and a half ago, but it felt more like a month.

    Writing tests for the client module took the bulk of this time and it was a proper slog. We did manage to increase code coverage from under 20% to 80% plus.

    This makes it a bit harder to migrate to a new API when the future version 1 of the library will be tagged, but the changes I have planned shouldn't be insurmountable.

    Now I just need to implement the verification, and I'll be done with what is a very large milestone for the library.

    #ActivityPubDev #fedidev #httpsig

    mariusor@metalhead.clubM 1 Reply Last reply
    2
    • mariusor@metalhead.clubM mariusor@metalhead.club

      I've started working on generating RFC9421 compatible HTTP-Signatures in #GoActivityPub about a week and a half ago, but it felt more like a month.

      Writing tests for the client module took the bulk of this time and it was a proper slog. We did manage to increase code coverage from under 20% to 80% plus.

      This makes it a bit harder to migrate to a new API when the future version 1 of the library will be tagged, but the changes I have planned shouldn't be insurmountable.

      Now I just need to implement the verification, and I'll be done with what is a very large milestone for the library.

      #ActivityPubDev #fedidev #httpsig

      mariusor@metalhead.clubM This user is from outside of this forum
      mariusor@metalhead.clubM This user is from outside of this forum
      mariusor@metalhead.club
      wrote last edited by
      #2

      As always, as I start the work for the verifier in the auth module, the coverage is quite low:

      Link Preview Image
      Coveralls.io - Test Coverage History and Statistics

      This repository has 82.96% test coverage and 18 builds.

      favicon

      Coveralls.io (coveralls.io)

      mariusor@metalhead.clubM 1 Reply Last reply
      2
      0
      • R relay@relay.mycrowd.ca shared this topic
        System shared this topic
      • mariusor@metalhead.clubM mariusor@metalhead.club

        As always, as I start the work for the verifier in the auth module, the coverage is quite low:

        Link Preview Image
        Coveralls.io - Test Coverage History and Statistics

        This repository has 82.96% test coverage and 18 builds.

        favicon

        Coveralls.io (coveralls.io)

        mariusor@metalhead.clubM This user is from outside of this forum
        mariusor@metalhead.clubM This user is from outside of this forum
        mariusor@metalhead.club
        wrote last edited by
        #3

        The work is done, huzzah!! 🥳

        With the coverage increased to +85% and with a couple of pending improvements to the common-fate/httpsig library. Until those land, I'm using a forked version.

        The auth module has transformed during this work to only have logic related to extracting authorized actors from either OAuth2 and HTTP-Signature headers (both the widely used draft and the new RFC9421 version).

        This makes me confident that the convergence of the library's modules that I'm planning for v1 is actually a good idea.

        fentiger@zotum.netF 1 Reply Last reply
        1
        0
        • R relay@relay.mycrowd.ca shared this topic
        • mariusor@metalhead.clubM mariusor@metalhead.club

          The work is done, huzzah!! 🥳

          With the coverage increased to +85% and with a couple of pending improvements to the common-fate/httpsig library. Until those land, I'm using a forked version.

          The auth module has transformed during this work to only have logic related to extracting authorized actors from either OAuth2 and HTTP-Signature headers (both the widely used draft and the new RFC9421 version).

          This makes me confident that the convergence of the library's modules that I'm planning for v1 is actually a good idea.

          fentiger@zotum.netF This user is from outside of this forum
          fentiger@zotum.netF This user is from outside of this forum
          fentiger@zotum.net
          wrote last edited by
          #4
          @marius That library doesn't look like it's seen much activity recently.

          I ended up using this one and I've found the maintainer to be very responsive.
          mariusor@metalhead.clubM 1 Reply Last reply
          0
          • fentiger@zotum.netF fentiger@zotum.net
            @marius That library doesn't look like it's seen much activity recently.

            I ended up using this one and I've found the maintainer to be very responsive.
            mariusor@metalhead.clubM This user is from outside of this forum
            mariusor@metalhead.clubM This user is from outside of this forum
            mariusor@metalhead.club
            wrote last edited by
            #5

            @fentiger thanx, I'll check it out. This one had one large annoyance in the fact that they split all functionality in a thousand little packages...

            1 Reply Last reply
            1
            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