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 (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Technical Discussion
  3. RFC 9421 Testing endpoints?

RFC 9421 Testing endpoints?

Scheduled Pinned Locked Moved Technical Discussion
rfc9421rfc9421signatures
19 Posts 7 Posters 4 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.
  • mradcliffeM This user is from outside of this forum
    mradcliffeM This user is from outside of this forum
    mradcliffe
    wrote on last edited by
    #10

    @julian Hmm, I think I must be failing your 9421 request. I think I will have to add logging back.

    julianJ Terence EdenE 2 Replies Last reply
    1
    0
    • mradcliffeM mradcliffe

      @julian Hmm, I think I must be failing your 9421 request. I think I will have to add logging back.

      julianJ This user is from outside of this forum
      julianJ This user is from outside of this forum
      julian
      wrote on last edited by
      #11

      @mradcliffe@nokoto.org if your software is open, I (or rather, my local AI <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f633.png?v=f52195b43b7" title="😳" />) can do a deep dive.

      @silverpill@mitra.social my laptop says the timeout is due to Mitra's 10s timeout (this may be incorrect), and to try again <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=f52195b43b7" title="🤔" /> activitypub.space is slow, it's hit by many scrapers and a 10+s response is not out of the ordinary.

      1 Reply Last reply
      1
      0
      • mradcliffeM This user is from outside of this forum
        mradcliffeM This user is from outside of this forum
        mradcliffe
        wrote on last edited by
        #12

        @julian Thank you. Unfortunately, it's not open... Yet. I am working on trying to split out what makes nokoto.org unique.

        I know that I get RFC9421 successes from Gush at least. 🙂

        1 Reply Last reply
        1
        0
        • silverpillS This user is from outside of this forum
          silverpillS This user is from outside of this forum
          silverpill
          wrote on last edited by
          #13

          @julian

          It works now, this time the response was quick (200 OK)

          mradcliffeM 1 Reply Last reply
          1
          0
          • silverpillS silverpill

            @julian

            It works now, this time the response was quick (200 OK)

            mradcliffeM This user is from outside of this forum
            mradcliffeM This user is from outside of this forum
            mradcliffe
            wrote on last edited by
            #14

            @silverpill @julian It’s working for me too. I did not realize more implementations were not going to include alg parameter. I do not have a good way of deriving alg from the public key so the only thing I can do is assume rsa-v1_5-sha256 if it’s missing. I know that’s not great, but maybe we should all just agree to include alg?

            I guess @Edent feels the same way.

            silverpillS 1 Reply Last reply
            1
            0
            • mradcliffeM mradcliffe

              @julian Hmm, I think I must be failing your 9421 request. I think I will have to add logging back.

              Terence EdenE This user is from outside of this forum
              Terence EdenE This user is from outside of this forum
              Terence Eden
              wrote on last edited by
              #15

              @mradcliffe @julian

              If you send some messages to @example I can see if I'm able to validate their signatures.
              It works with the ones Mastodon sends.

              julianJ 1 Reply Last reply
              0
              • mradcliffeM mradcliffe

                @silverpill @julian It’s working for me too. I did not realize more implementations were not going to include alg parameter. I do not have a good way of deriving alg from the public key so the only thing I can do is assume rsa-v1_5-sha256 if it’s missing. I know that’s not great, but maybe we should all just agree to include alg?

                I guess @Edent feels the same way.

                silverpillS This user is from outside of this forum
                silverpillS This user is from outside of this forum
                silverpill
                wrote on last edited by
                #16

                @mradcliffe @julian @Edent Agreed - my implementation adds the alg parameter.

                But if I remember correctly, relying on algorithm ID alone is not always safe, and the key type should also be validated.

                https://portswigger.net/web-security/jwt/algorithm-confusion

                julianJ 1 Reply Last reply
                0
                • silverpillS silverpill

                  @mradcliffe @julian @Edent Agreed - my implementation adds the alg parameter.

                  But if I remember correctly, relying on algorithm ID alone is not always safe, and the key type should also be validated.

                  https://portswigger.net/web-security/jwt/algorithm-confusion

                  julianJ This user is from outside of this forum
                  julianJ This user is from outside of this forum
                  julian
                  wrote on last edited by
                  #17

                  Thanks both!

                  I'll look into adding the alg parameter and circle back.

                  1 Reply Last reply
                  1
                  0
                  • Terence EdenE Terence Eden

                    @mradcliffe @julian

                    If you send some messages to @example I can see if I'm able to validate their signatures.
                    It works with the ones Mastodon sends.

                    wakest likes your bugs ⁂L This user is from outside of this forum
                    wakest likes your bugs ⁂L This user is from outside of this forum
                    wakest likes your bugs ⁂
                    wrote on last edited by
                    #18

                    @Edent just tried to DM it from Loops and it doesn't recognize the account

                    1 Reply Last reply
                    1
                    0
                    • Terence EdenE Terence Eden

                      @mradcliffe @julian

                      If you send some messages to @example I can see if I'm able to validate their signatures.
                      It works with the ones Mastodon sends.

                      julianJ This user is from outside of this forum
                      julianJ This user is from outside of this forum
                      julian
                      wrote on last edited by
                      #19

                      @edent@mastodon.social okay. Hello @example@example.viii.fi !

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