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
    洪 民憙 (Hong Minhee) (hongminhee@fosstodon.org)'s status on Thursday, 12-Sep-2024 05:55:51 JST 洪 民憙 (Hong Minhee) 洪 民憙 (Hong Minhee)
    • Fedify: an ActivityPub server framework

    I received a request from @ghost today to add #LDSignatures to @fedify for compatibility with #Mastodon, as Mastodon does not plan to implement Object Integrity Proofs (FEP-8b32) for the near future. 😩

    However, Mastodon's implementation of LD Signatures does not even use valid JSON-LD properties (despite the name), so I'm not sure how to make it compatible with Mastodon since #Fedify does JSON-LD processing. 🤔

    #ActivityPub #fedidev

    In conversation Thursday, 12-Sep-2024 05:55:51 JST from fosstodon.org permalink

    Attachments


    1. https://cdn.fosstodon.org/media_attachments/files/113/119/988/831/350/343/original/2470834653f9af26.png
    • Kari'boka likes this.
    • Embed this notice
      Emelia 👸🏻 (thisismissem@hachyderm.io)'s status on Thursday, 12-Sep-2024 05:55:48 JST Emelia 👸🏻 Emelia 👸🏻
      in reply to
      • wakest ⁂
      • Andy Piper ➡️ EMF 📞 ANDYP

      @andypiper @liaizon @hongminhee the version of JSON-LD Signatures that mastodon supports is old, basically they implemented it, then the spec completely changed.

      That's why stuff doesn't look right.

      The question is then: how do you migrate forwards without breaking compatibility with existing deployments. That's gonna need time & money thrown at the problem to solve.

      In conversation Thursday, 12-Sep-2024 05:55:48 JST permalink
    • Embed this notice
      silverpill (silverpill@mitra.social)'s status on Thursday, 12-Sep-2024 05:55:48 JST silverpill silverpill
      in reply to
      • wakest ⁂
      • Emelia 👸🏻
      • Andy Piper ➡️ EMF 📞 ANDYP

      @thisismissem @liaizon @andypiper @hongminhee

      FEP-8b32 is designed to be compatible with existing implementations. The upgrade path for Mastodon may look like this:

      1. Support multiple public keys per actor
      2. Start publishing second Ed25519 key as described in FEP-521a
      3. Start adding FEP-8b32 integrity proofs in addition to LD signatures (as specified in "Backward compatibility" section of FEP-8b32)
      4. Stop adding LD signatures

      In conversation Thursday, 12-Sep-2024 05:55:48 JST permalink
    • Embed this notice
      Andy Piper ➡️ EMF 📞 ANDYP (andypiper@macaw.social)'s status on Thursday, 12-Sep-2024 05:55:49 JST Andy Piper ➡️ EMF 📞 ANDYP Andy Piper ➡️ EMF 📞 ANDYP
      in reply to
      • wakest ⁂
      • Emelia 👸🏻

      @liaizon @hongminhee @thisismissem I think it may be something long-standing here, is there an existing GitHub issue where I can get more background? I know it’s pretty complicated at this point though.

      In conversation Thursday, 12-Sep-2024 05:55:49 JST permalink
    • Embed this notice
      Andy Piper ➡️ EMF 📞 ANDYP (andypiper@macaw.social)'s status on Thursday, 12-Sep-2024 05:55:49 JST Andy Piper ➡️ EMF 📞 ANDYP Andy Piper ➡️ EMF 📞 ANDYP
      in reply to
      • wakest ⁂
      • Emelia 👸🏻

      @liaizon @hongminhee @thisismissem (also asking as I’m on my phone walking right now and can’t search so easily!)

      In conversation Thursday, 12-Sep-2024 05:55:49 JST permalink
    • Embed this notice
      洪 民憙 (Hong Minhee) (hongminhee@fosstodon.org)'s status on Thursday, 12-Sep-2024 05:55:51 JST 洪 民憙 (Hong Minhee) 洪 民憙 (Hong Minhee)
      in reply to

      As the creator of Fedify, I'd like to see either ActivityPub implementations all deal with JSON-LD properly, or the ActivityPub spec gives up on JSON-LD. 😩

      In conversation Thursday, 12-Sep-2024 05:55:51 JST permalink
    • Embed this notice
      wakest ⁂ (liaizon@social.wake.st)'s status on Thursday, 12-Sep-2024 05:55:51 JST wakest ⁂ wakest ⁂
      in reply to
      • Emelia 👸🏻
      • Andy Piper ➡️ EMF 📞 ANDYP

      @hongminhee hey @thisismissem, @andypiper what do yall think of this situation? where are we going here? I keep seeing dev after dev complain about the JSON-LD issue with Mastodon and I personally dont even know where to stand on it but it seems its a major hurdle.

      In conversation Thursday, 12-Sep-2024 05:55:51 JST permalink
    • Embed this notice
      silverpill (silverpill@mitra.social)'s status on Thursday, 12-Sep-2024 08:17:53 JST silverpill silverpill
      in reply to

      @hongminhee Do they want LD signatures in Fedify in order to process forwarded Create activities? I simply fetch object by its id when signer and actor do no match.

      In conversation Thursday, 12-Sep-2024 08:17:53 JST permalink
    • Embed this notice
      Rimu (rimu@mastodon.nzoss.nz)'s status on Thursday, 12-Sep-2024 14:30:28 JST Rimu Rimu
      in reply to

      @hongminhee Here is some code for verifying and creating LD Signatures https://codeberg.org/rimu/pyfedi/src/commit/1a658d007fa6259ea736005b818ae516a954bb16/app/activitypub/signature.py#L429

      I tested it out last week but haven't used it in production - this was originally copied from Takahe so I assume it works well with Mastodon.

      In conversation Thursday, 12-Sep-2024 14:30:28 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: codeberg.org
        pyfedi/app/activitypub/signature.py at 1a658d007fa6259ea736005b818ae516a954bb16
        from rimu
        pyfedi - Project background: https://join.piefed.social Demo site / Flagship instance: https://piefed.social

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.