Skip to content
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
  • 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
Brand Logo

fedi wiki

  1. Home
  2. Technical Discussion
  3. #ActivityPub people, we're failing at implementing the HTTP signatures necessary for interop, does anyone know how one would do this in #AspNet #dotnet 8?

#ActivityPub people, we're failing at implementing the HTTP signatures necessary for interop, does anyone know how one would do this in #AspNet #dotnet 8?

Scheduled Pinned Locked Moved Technical Discussion
activitypubaspnetdotnet
22 Posts 7 Posters 19 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.
  • mooooooo@qaf.menM This user is from outside of this forum
    mooooooo@qaf.menM This user is from outside of this forum
    mooooooo@qaf.men
    wrote last edited by
    #1

    #ActivityPub people, we're failing at implementing the HTTP signatures necessary for interop, does anyone know how one would do this in #AspNet #dotnet 8?

    Otherwise, could you check what's wrong with our implementation by looking at an example request, to see if anything jumps out?

    https://codeberg.org/MinotaursAtWork/Dallawan/issues/1

    Totally understand that troubleshooting and bughunting is work, I wish we could pay for this. Drop any donation/tip page you have and we'll try to donate what we can when we can ❤

    mooooooo@qaf.menM evan@cosocial.caE 2 Replies Last reply
    0
    • mooooooo@qaf.menM mooooooo@qaf.men

      #ActivityPub people, we're failing at implementing the HTTP signatures necessary for interop, does anyone know how one would do this in #AspNet #dotnet 8?

      Otherwise, could you check what's wrong with our implementation by looking at an example request, to see if anything jumps out?

      https://codeberg.org/MinotaursAtWork/Dallawan/issues/1

      Totally understand that troubleshooting and bughunting is work, I wish we could pay for this. Drop any donation/tip page you have and we'll try to donate what we can when we can ❤

      mooooooo@qaf.menM This user is from outside of this forum
      mooooooo@qaf.menM This user is from outside of this forum
      mooooooo@qaf.men
      wrote last edited by
      #2

      At this point, this project is held together by the sunk cost fallacy and desperation

      1 Reply Last reply
      0
      • mooooooo@qaf.menM mooooooo@qaf.men

        #ActivityPub people, we're failing at implementing the HTTP signatures necessary for interop, does anyone know how one would do this in #AspNet #dotnet 8?

        Otherwise, could you check what's wrong with our implementation by looking at an example request, to see if anything jumps out?

        https://codeberg.org/MinotaursAtWork/Dallawan/issues/1

        Totally understand that troubleshooting and bughunting is work, I wish we could pay for this. Drop any donation/tip page you have and we'll try to donate what we can when we can ❤

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

        @mooooooo I think @mapache has implemented #ActivityPub on #DotNet? Maho, would you mind giving this team a review or some tips?

        1 Reply Last reply
        0
        • mooooooo@qaf.menM This user is from outside of this forum
          mooooooo@qaf.menM This user is from outside of this forum
          mooooooo@qaf.men
          wrote last edited by
          #4

          @mapache @evan Thank you so much

          1 Reply Last reply
          0
          • mooooooo@qaf.menM This user is from outside of this forum
            mooooooo@qaf.menM This user is from outside of this forum
            mooooooo@qaf.men
            wrote last edited by
            #5

            @mapache @evan Oh, wow, I had completely misunderstood the standard when it comes to how the signature header is constructed, I'll try like that, thank you so much

            What I was doing was just juxtaposing the values of the original headers separated by single spaces and feeding that to the signing algorithm, I feel so dumb lol

            mooooooo@qaf.menM 1 Reply Last reply
            0
            • 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
              #6

              @julian Do we have a #DotNet library or DLL or whatevs for implementing HTTP Message Signatures? If not, can someone please take @Interledger 's money and extract their implementation into a library?

              https://interledger.org/grant/open-payments-sdk

              @mooooooo @mapache @zotan @kopper

              isaacschemm@activitypub.spaceI 1 Reply Last reply
              0
              • mooooooo@qaf.menM mooooooo@qaf.men

                @mapache @evan Oh, wow, I had completely misunderstood the standard when it comes to how the signature header is constructed, I'll try like that, thank you so much

                What I was doing was just juxtaposing the values of the original headers separated by single spaces and feeding that to the signing algorithm, I feel so dumb lol

                mooooooo@qaf.menM This user is from outside of this forum
                mooooooo@qaf.menM This user is from outside of this forum
                mooooooo@qaf.men
                wrote last edited by
                #7

                @mapache @evan (Okay, it wasn't **just** that, but at least that's corrected, I'll keep checking)

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

                  @julian Do we have a #DotNet library or DLL or whatevs for implementing HTTP Message Signatures? If not, can someone please take @Interledger 's money and extract their implementation into a library?

                  https://interledger.org/grant/open-payments-sdk

                  @mooooooo @mapache @zotan @kopper

                  isaacschemm@activitypub.spaceI This user is from outside of this forum
                  isaacschemm@activitypub.spaceI This user is from outside of this forum
                  isaacschemm@activitypub.space
                  wrote last edited by
                  #8

                  @evan@cosocial.ca NSign is available (on NuGet, and MIT licensed) and Letterbook uses it, although I'm not sure exactly how, since I haven't looked enough at the code to really grasp the architecture.

                  I originally used some of Letterbook's code for draft-cavage signatures in Pandacap (my single user server) before eventually rewriting that part in F#, but I'd like to go back and take another look at some point, since Pandacap doesn't support proper RFC 9421 signatures yet.

                  1 Reply Last reply
                  0
                  • 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
                    #9

                    @isaacschemm @evan@cosocial.ca according to the httpsig.org website NSign is that library.

                    I took a cursory look and I wasn't able to tell whether it supported cavage-12.

                    Which... Is highly ironic hahaha

                    @mooooooo@qaf.men

                    1 Reply Last reply
                    0
                    • mooooooo@qaf.menM mooooooo@qaf.men

                      @mapache @evan (Okay, it wasn't **just** that, but at least that's corrected, I'll keep checking)

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

                      @mooooooo @mapache you saw this right?

                      https://github.com/Unisys/NSign

                      mooooooo@qaf.menM 1 Reply Last reply
                      0
                      • evan@cosocial.caE evan@cosocial.ca

                        @mooooooo @mapache you saw this right?

                        https://github.com/Unisys/NSign

                        mooooooo@qaf.menM This user is from outside of this forum
                        mooooooo@qaf.menM This user is from outside of this forum
                        mooooooo@qaf.men
                        wrote last edited by
                        #11

                        @evan @mapache I saw it right before going to bed, I'm going to give it a shot today, thank you

                        evan@cosocial.caE 1 Reply Last reply
                        0
                        • mooooooo@qaf.menM This user is from outside of this forum
                          mooooooo@qaf.menM This user is from outside of this forum
                          mooooooo@qaf.men
                          wrote last edited by
                          #12

                          @julian @isaacschemm @evan I'll try it, thank you so much ily

                          1 Reply Last reply
                          0
                          • mooooooo@qaf.menM mooooooo@qaf.men

                            @evan @mapache I saw it right before going to bed, I'm going to give it a shot today, thank you

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

                            @mooooooo @mapache thank YOU. Your work is important to all of us. Thank you for doing it.

                            mooooooo@qaf.menM 1 Reply Last reply
                            0
                            • julian@fietkau.socialJ This user is from outside of this forum
                              julian@fietkau.socialJ This user is from outside of this forum
                              julian@fietkau.social
                              wrote last edited by
                              #14

                              @kopper @evan The tag is my bad, it was the first account for “@kopper” that my server auto-completed. Will keep it in mind if it ever comes up again!

                              1 Reply Last reply
                              0
                              • kopper@not-brain.d.on-t.workK This user is from outside of this forum
                                kopper@not-brain.d.on-t.workK This user is from outside of this forum
                                kopper@not-brain.d.on-t.work
                                wrote last edited by
                                #15
                                @zotan @evan @mapache @julian @Interledger @mooooooo

                                additionally, since it may come up, i also have an implementation of object integrity proofs (the modern ld-sig replacement)
                                over here including a fork of the c# json canonicalization library with a bit higher performance and a nuget package (hosted on codeberg instead of nuger proper, but still easier to install than the "official one") over here
                                1 Reply Last reply
                                0
                                • evan@cosocial.caE evan@cosocial.ca

                                  @mooooooo @mapache thank YOU. Your work is important to all of us. Thank you for doing it.

                                  mooooooo@qaf.menM This user is from outside of this forum
                                  mooooooo@qaf.menM This user is from outside of this forum
                                  mooooooo@qaf.men
                                  wrote last edited by
                                  #16

                                  @evan @mapache

                                  IT'S ALIVE: @newuser

                                  mooooooo@qaf.menM evan@cosocial.caE 2 Replies Last reply
                                  1
                                  • mooooooo@qaf.menM mooooooo@qaf.men

                                    @evan @mapache

                                    IT'S ALIVE: @newuser

                                    mooooooo@qaf.menM This user is from outside of this forum
                                    mooooooo@qaf.menM This user is from outside of this forum
                                    mooooooo@qaf.men
                                    wrote last edited by
                                    #17

                                    @evan @mapache @newuser I'm going to actually cry omg

                                    IT WAS A TYPO WHEN CREATING THE STRING TO SIGN I'M ABSOLUTELY WIGLESS

                                    julian@activitypub.spaceJ evan@cosocial.caE 2 Replies Last reply
                                    0
                                    • mooooooo@qaf.menM mooooooo@qaf.men

                                      @evan @mapache @newuser I'm going to actually cry omg

                                      IT WAS A TYPO WHEN CREATING THE STRING TO SIGN I'M ABSOLUTELY WIGLESS

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

                                      @mooooooo@qaf.men @evan@cosocial.ca this kind of joy is why we do activitypub Dev Rel.

                                      1 Reply Last reply
                                      0
                                      • mooooooo@qaf.menM mooooooo@qaf.men

                                        @evan @mapache

                                        IT'S ALIVE: @newuser

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

                                        @mooooooo @mapache @newuser Followed! Good luck in your work.

                                        1 Reply Last reply
                                        0
                                        • mooooooo@qaf.menM mooooooo@qaf.men

                                          @evan @mapache @newuser I'm going to actually cry omg

                                          IT WAS A TYPO WHEN CREATING THE STRING TO SIGN I'M ABSOLUTELY WIGLESS

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

                                          @mooooooo @mapache @newuser HTTP Signature is finicky af. I have 3 or 4 hand-coded implementations, and I need to move on to using a library instead.

                                          mapache@hachyderm.ioM 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