Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. Technical Discussion
  4. RFC 9421 Testing endpoints?

RFC 9421 Testing endpoints?

Pianificato Fissato Bloccato Spostato Technical Discussion
rfc9421rfc9421signatures
20 Post 8 Autori 15 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • julian@activitypub.space
    julian@activitypub.space
    julian@activitypub.space
    scritto su ultima modifica di
    #1

    Is there a service or implementation that can test RFC 9421 implementations? I'm running a branch of NodeBB here on activitypub.space that sends and receives RFC 9421 HTTP Signatures and I'd like to test against someone <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f603.png?v=f52195b43b7" title=":smiley:" />

    @silverpill@mitra.social perhaps?

    Ospite? 1 Risposta Ultima Risposta
    1
    • silverpill@mitra.social
      silverpill@mitra.social
      silverpill@mitra.social
      scritto su ultima modifica di
      #2

      I've sent an RFC-9421 signed POST request to https://activitypub.space/uid/1/inbox, it timed out. But that might be a problem on my end

      I also saw an Announce activity coming from you. My server logs this error:

      invalid HTTP signature: invalid 'signature' dictionary

      julian@activitypub.space 1 Risposta Ultima Risposta
      1
      • billstatler@forum.statler.ws
        billstatler@forum.statler.ws
        billstatler@forum.statler.ws
        scritto su ultima modifica di
        #3
        Streams and Forte support RFC 9421, with fallback to an older signature method if it fails. (I'm commenting from a streams instance.)

        I apologize that my technical understanding is very limited, but I'm happy to try some experiments if you want.
        1 Risposta Ultima Risposta
        0
        • hello@rumbly.net
          hello@rumbly.net
          hello@rumbly.net
          scritto su ultima modifica di
          #4
          Hehe they might have to think outside the box and run it themselves... Could be useful to see the log.:)
          1 Risposta Ultima Risposta
          0
          • julian@activitypub.space
            julian@activitypub.space
            julian@activitypub.space
            scritto su ultima modifica di
            #5

            We do support activities, we just don't persist them. You can send Create(Note) just like everybody else, etc.

            1 Risposta Ultima Risposta
            0
            • silverpill@mitra.social silverpill@mitra.social

              I've sent an RFC-9421 signed POST request to https://activitypub.space/uid/1/inbox, it timed out. But that might be a problem on my end

              I also saw an Announce activity coming from you. My server logs this error:

              invalid HTTP signature: invalid 'signature' dictionary

              julian@activitypub.space
              julian@activitypub.space
              julian@activitypub.space
              scritto su ultima modifica di
              #6

              > My server logs this error:
              >
              > invalid HTTP signature: invalid 'signature' dictionary

              Is that an error output by your server itself, or a reflection from mine?

              1 Risposta Ultima Risposta
              0
              • julian@activitypub.space
                julian@activitypub.space
                julian@activitypub.space
                scritto su ultima modifica di
                #7

                Nevermind @silverpill@mitra.social, I updated activitypub.space again. Can you let me know if my Announces are still throwing that error?

                Let me know if you are able to look into the timeout issue.

                1 Risposta Ultima Risposta
                0
                • mradcliffe@nokoto.org
                  mradcliffe@nokoto.org
                  mradcliffe@nokoto.org
                  scritto su ultima modifica di
                  #8

                  Are you sending RFC 9421 first or cavage-12 draft first?

                  Also this is a test to confirm verification.

                  julian@activitypub.space 1 Risposta Ultima Risposta
                  0
                  • mradcliffe@nokoto.org mradcliffe@nokoto.org

                    Are you sending RFC 9421 first or cavage-12 draft first?

                    Also this is a test to confirm verification.

                    julian@activitypub.space
                    julian@activitypub.space
                    julian@activitypub.space
                    scritto su ultima modifica di
                    #9

                    @mradcliffe@nokoto.org I am sending 9421 first, then cavage when it fails.

                    1 Risposta Ultima Risposta
                    0
                    • mradcliffe@nokoto.org
                      mradcliffe@nokoto.org
                      mradcliffe@nokoto.org
                      scritto su ultima modifica di
                      #10

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

                      julian@activitypub.space edent@mastodon.social 2 Risposte Ultima Risposta
                      0
                      • mradcliffe@nokoto.org mradcliffe@nokoto.org

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

                        julian@activitypub.space
                        julian@activitypub.space
                        julian@activitypub.space
                        scritto su ultima modifica di
                        #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=":flushed:" />) 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=":thinking_face:" /> activitypub.space is slow, it's hit by many scrapers and a 10+s response is not out of the ordinary.

                        1 Risposta Ultima Risposta
                        0
                        • mradcliffe@nokoto.org
                          mradcliffe@nokoto.org
                          mradcliffe@nokoto.org
                          scritto su ultima modifica di
                          #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 Risposta Ultima Risposta
                          1
                          • silverpill@mitra.social
                            silverpill@mitra.social
                            silverpill@mitra.social
                            scritto su ultima modifica di
                            #13

                            @julian

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

                            mradcliffe@nokoto.org 1 Risposta Ultima Risposta
                            1
                            • silverpill@mitra.social silverpill@mitra.social

                              @julian

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

                              mradcliffe@nokoto.org
                              mradcliffe@nokoto.org
                              mradcliffe@nokoto.org
                              scritto su ultima modifica di
                              #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.

                              silverpill@mitra.social 1 Risposta Ultima Risposta
                              1
                              • mradcliffe@nokoto.org mradcliffe@nokoto.org

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

                                edent@mastodon.social
                                edent@mastodon.social
                                edent@mastodon.social
                                scritto su ultima modifica di
                                #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.

                                liaizon@social.wake.st julian@activitypub.space 2 Risposte Ultima Risposta
                                0
                                • mradcliffe@nokoto.org mradcliffe@nokoto.org

                                  @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.

                                  silverpill@mitra.social
                                  silverpill@mitra.social
                                  silverpill@mitra.social
                                  scritto su ultima modifica di
                                  #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

                                  julian@activitypub.space 1 Risposta Ultima Risposta
                                  0
                                  • silverpill@mitra.social silverpill@mitra.social

                                    @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

                                    julian@activitypub.space
                                    julian@activitypub.space
                                    julian@activitypub.space
                                    scritto su ultima modifica di
                                    #17

                                    Thanks both!

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

                                    1 Risposta Ultima Risposta
                                    0
                                    • edent@mastodon.social edent@mastodon.social

                                      @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.

                                      liaizon@social.wake.st
                                      liaizon@social.wake.st
                                      liaizon@social.wake.st
                                      scritto su ultima modifica di
                                      #18

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

                                      1 Risposta Ultima Risposta
                                      0
                                      • edent@mastodon.social edent@mastodon.social

                                        @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.

                                        julian@activitypub.space
                                        julian@activitypub.space
                                        julian@activitypub.space
                                        scritto su ultima modifica di
                                        #19

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

                                        1 Risposta Ultima Risposta
                                        0
                                        • julian@activitypub.space julian@activitypub.space

                                          Is there a service or implementation that can test RFC 9421 implementations? I'm running a branch of NodeBB here on activitypub.space that sends and receives RFC 9421 HTTP Signatures and I'd like to test against someone <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f603.png?v=f52195b43b7" title=":smiley:" />

                                          @silverpill@mitra.social perhaps?

                                          Ospite?
                                          Ospite?
                                          Ospite
                                          scritto su ultima modifica di
                                          #20

                                          @julian Feel free to abuse @actor@didkey.000090000.xyz or @dimkr@didkey.000090000.xyz

                                          1 Risposta Ultima Risposta
                                          1

                                          Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

                                          Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

                                          Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

                                          Registrati Accedi
                                          Rispondi
                                          • Risposta alla discussione
                                          Effettua l'accesso per rispondere
                                          • Da Vecchi a Nuovi
                                          • Da Nuovi a Vecchi
                                          • Più Voti


                                          Feed RSS
                                          RFC 9421 Testing endpoints?
                                          @pierobosio@soc.bosio.info
                                          NodeBB Contributors
                                          • Accedi

                                          • Accedi o registrati per effettuare la ricerca.
                                          • Primo post
                                            Ultimo post