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
    Achim Domma (achim@social.saarland)'s status on Sunday, 11-Jan-2026 06:17:09 JST Achim Domma Achim Domma

    I try to implement an #activitypub server in #Rust, have problems talking to #mastodon and would appreciate some help.

    I try to send a follow action to Mastodon. The request is - as far as I can tell - signed according to https://docs.joinmastodon.org/spec/security/

    The "keyId" of the signatrue is "https://pub.saar.social/user/achim/key". Mastodon calls this url as expected and my server returns: [...]

    In conversation about a month ago from social.saarland permalink

    Attachments



    • Embed this notice
      silverpill (silverpill@mitra.social)'s status on Sunday, 11-Jan-2026 06:17:06 JST silverpill silverpill
      in reply to

      @achim I don't know about Mastodon, but here are some general tips:

      - Your actor is served with content-type application/json, but it should be application/ld+json; profile="https://www.w3.org/ns/activitystreams"
      - It's better to embed the key in your actor document and identify it with a fragment ID. This is more widely supported than standalone keys.

      In conversation about a month ago permalink

      Attachments


    • Embed this notice
      Achim Domma (achim@social.saarland)'s status on Sunday, 11-Jan-2026 06:17:07 JST Achim Domma Achim Domma
      in reply to

      [...]

      {
      "@context":["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1"],
      "id":"https://pub.saar.social/user/achim/key",
      "type":"Key",
      "publicKeyPem":"-----BEGIN PUBLIC KEY-----\nMIIBI[...]IDAQAB\n-----END PUBLIC KEY-----\n",
      "owner":"https://pub.saar.social/user/achim"
      }

      But my follow http call gets this back from Mastodon:

      {"error":"Unable to fetch key JSON at https://pub.saar.social/user/achim/key"}

      Can somebody give me a hint how to figure out what the problem is?

      In conversation about a month ago permalink

      Attachments




      1. No result found on File_thumbnail lookup.
        https://pub.saar.social/user/achim
    • Embed this notice
      silverpill (silverpill@mitra.social)'s status on Sunday, 11-Jan-2026 07:00:43 JST silverpill silverpill
      in reply to

      @achim Lemmy is also in Rust! And there are two Rust libraries:

      - https://docs.rs/activitypub_federation/latest/activitypub_federation/ (from Lemmy devs)
      - https://docs.rs/apx_sdk/latest/apx_sdk/ (this one is developed by me)

      In conversation about a month ago permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        activitypub_federation - Rust
        A high-level framework for ActivityPub federation in Rust. The goal is to encapsulate all basic functionality, so that developers can easily use the protocol without any prior knowledge.
      2. No result found on File_thumbnail lookup.
        apx_sdk - Rust
        APx
    • Embed this notice
      Achim Domma (achim@social.saarland)'s status on Sunday, 11-Jan-2026 07:00:45 JST Achim Domma Achim Domma
      in reply to
      • silverpill

      @silverpill Thanks! Mitra looks very interesting. I'll have a look and will probably pop up in your Matrix channel. I was not aware that there is a maintained ActivityPub project in Rust.

      In conversation about a month ago permalink

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.