GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Hazelnoot ALT (hazelnoot@enby.life)'s status on Saturday, 13-Dec-2025 04:13:37 JST Hazelnoot ALT Hazelnoot ALT

    see this is why you don't put hashtags in your ActivityPub object IDs!
    WARN [ap] Error validating activity from 81.201.202.98: Cannot re-fetch activity https://mk.absturztau.be/users/a2l8lkf5m7tt003q#updates/1765511014068: returned object is not an activity type { userAgent: 'Misskey/2025.4.4 (https://mk.absturztau.be)', signature: 'keyId="https://mk.absturztau.be/users/a2l8lkf5m7tt003q#main-key",algorithm="rsa-sha256",headers="(request-target) date host digest",signature="Wm4D7XzgV0BvdiGpNlGi++J+zRXl9XUwONXC5Scw4CgjHiIfjBUtx++WnvGOPxYhpe0xnF7a+iT0bI+LTltZjjm0F21L9T4o1PT423+z3LZTm2Dekbogfelw4bUgn3dxP/zt5+4DwQi/V8AxYH38G3WoGh09vvAxAqfirq42iEvOtZorc7ouimWBA7+BdADBXJf/TX7XF4YEOzfvX+2qXJyy+fePXOd2pkqpzdwC3B9pY8e9j6MLYy6Di2ackmtjo+GkEAr1IMeagCArYBhSS0yi8iyvBoNku9uSki6unuJE34s9qJLg6qEJwCb8z+Z8MHuScBMLcA953VVX+0aDZw=="' }
    It works great for a bit, then you run into edge cases like this:
    1. Instance A generates an activity https://a.example.com/some-object#activity
    2. A sends that activity to instance B, which is Mastodon or a Relay.
    3. B forwards the activity to C, which validates the signature but doesn't trust the activity since it came from B instead of A.
    4. C tries to resolve a canonical copy of the activity, but because hashtags aren't allowed in HTTP the actual request goes to https://a.example.com/some-object.
    5. Since A doesn't realize that C wants the activity, it (correctly) returns the actual object some-object.
    6. C determines that the returned object does not match the activity forwarded by B, and (correctly) rejects it.

    The final result: B is unable to forward the activity from A to C, even though it meets all security criteria, because A's activity ID is unresolveable.

    In conversation about 4 months ago from enby.life permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: mk.absturztau.be
      ぷにすきー
      comfy misskey instance with some additional features like module tracker, ansi viewer and some more.
    2. Domain not in remote thumbnail source whitelist: mk.absturztau.be
      Princess Serena Star ✨ (@Starcross)
      Blonde Twintail #Princess with a Tiny Crown! I'm #transfem, a #Debian user (formerly #ArchLinux user), and love #FOSS software :D Happy to chat with likeminded people
    3. Domain not in remote thumbnail source whitelist: mk.absturztau.be
      Princess Serena Star ✨ (@Starcross)
      Blonde Twintail #Princess with a Tiny Crown! I'm #transfem, a #Debian user (formerly #ArchLinux user), and love #FOSS software :D Happy to chat with likeminded people


    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.