Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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 (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. General Discussion
  3. End-to-end Encryption (E2EE) over ActivityPub

End-to-end Encryption (E2EE) over ActivityPub

Scheduled Pinned Locked Moved General Discussion
activitypube2eesocialwebfoundationsocialwebfounda
17 Posts 8 Posters 2 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.
  • sozialwelten@ifwo.euS sozialwelten@ifwo.eu

    End-to-end Encryption (E2EE) over ActivityPub

    Encrypted direct messages supply the confidence that people need to connect with family, friends and colleagues privately over a social network. As part of the Summer of Protocols 2024, we explore the integration of end-to-end encryption (E2EE) into the ActivityPub protocol.

    Link Preview Image
    End-to-end Encryption (E2EE) over ActivityPub

    Encrypted direct messages supply the confidence that people need to connect with family, friends and colleagues privately over a social network. As part of the Summer of Protocols 2024, we explore the integration of end-to-end encryption (E2EE) into the ActivityPub protocol. We conduct a review of encryption protocols and integration architectures, and selected Messaging Layer…

    favicon

    Social Web Foundation (socialwebfoundation.org)

    #ActivityPub #E2EE #SocialWeb #Foundation #SocialWebFoundation #Encryption #Verschlüsselung #Sicherheit #Privatnachricht

    raucao@kosmos.socialR This user is from outside of this forum
    raucao@kosmos.socialR This user is from outside of this forum
    raucao@kosmos.social
    wrote on last edited by
    #2

    @sozialwelten It's 2025 now, and there are no tangible results.

    sozialwelten@ifwo.euS 1 Reply Last reply
    0
    • raucao@kosmos.socialR raucao@kosmos.social

      @sozialwelten It's 2025 now, and there are no tangible results.

      sozialwelten@ifwo.euS This user is from outside of this forum
      sozialwelten@ifwo.euS This user is from outside of this forum
      sozialwelten@ifwo.eu
      wrote on last edited by
      #3

      @raucao It is also not a part of the official Mastodon Roadmap even though there are some open issues in the GitHub repository concerning E2EE.

      I personally hope that it will get integrated into ActivityPub and/or Mastodon but for 2026 and 2027 I do not see any signs that there is anything remotely close to being published.

      #E2EE #Issue​s #Github: https://github.com/mastodon/mastodon/issues?q=is%3Aissue%20state%3Aopen%20e2ee
      #Mastodon #Public #Roadmap: https://joinmastodon.org/roadmap

      koteisaev@mastodon.onlineK 1 Reply Last reply
      0
      • sozialwelten@ifwo.euS sozialwelten@ifwo.eu

        @raucao It is also not a part of the official Mastodon Roadmap even though there are some open issues in the GitHub repository concerning E2EE.

        I personally hope that it will get integrated into ActivityPub and/or Mastodon but for 2026 and 2027 I do not see any signs that there is anything remotely close to being published.

        #E2EE #Issue​s #Github: https://github.com/mastodon/mastodon/issues?q=is%3Aissue%20state%3Aopen%20e2ee
        #Mastodon #Public #Roadmap: https://joinmastodon.org/roadmap

        koteisaev@mastodon.onlineK This user is from outside of this forum
        koteisaev@mastodon.onlineK This user is from outside of this forum
        koteisaev@mastodon.online
        wrote on last edited by
        #4

        @sozialwelten @raucao
        I searched for some progress information, and found this: https://www.w3.org/2024/09/25-e2ee-minutes.html

        raucao@kosmos.socialR 1 Reply Last reply
        0
        • koteisaev@mastodon.onlineK koteisaev@mastodon.online

          @sozialwelten @raucao
          I searched for some progress information, and found this: https://www.w3.org/2024/09/25-e2ee-minutes.html

          raucao@kosmos.socialR This user is from outside of this forum
          raucao@kosmos.socialR This user is from outside of this forum
          raucao@kosmos.social
          wrote on last edited by
          #5

          @koteisaev @sozialwelten There is zero progress in that, just a few people discussing what anyone interested in E2EE already knows.

          raucao@kosmos.socialR 1 Reply Last reply
          0
          • raucao@kosmos.socialR raucao@kosmos.social

            @koteisaev @sozialwelten There is zero progress in that, just a few people discussing what anyone interested in E2EE already knows.

            raucao@kosmos.socialR This user is from outside of this forum
            raucao@kosmos.socialR This user is from outside of this forum
            raucao@kosmos.social
            wrote on last edited by
            #6

            @koteisaev @sozialwelten FWIW, since Nostr identities are based on key pairs by design, and its developers care a bit more about privacy, E2EE DMs are already being tested via an MLS-based protocol there:

            Link Preview Image
            GitHub - marmot-protocol/marmot: The Marmot Protocol is a messaging protocol that specifies how to do efficient end-to-end encrypted group messaging using Nostr's decentralized identity & relay network combined with the MLS Protocol.

            The Marmot Protocol is a messaging protocol that specifies how to do efficient end-to-end encrypted group messaging using Nostr's decentralized identity & relay network combined with the MLS Protocol. - marmot-protocol/marmot

            favicon

            GitHub (github.com)

            I think it's a shame that none of the large AP implementers are prioritizing this, because without user-owned keys, not just are DMs unencrypted, but there can be no true user sovereignty and account portability on the fediverse.

            lain@lain.comL 1 Reply Last reply
            0
            • raucao@kosmos.socialR raucao@kosmos.social

              @koteisaev @sozialwelten FWIW, since Nostr identities are based on key pairs by design, and its developers care a bit more about privacy, E2EE DMs are already being tested via an MLS-based protocol there:

              Link Preview Image
              GitHub - marmot-protocol/marmot: The Marmot Protocol is a messaging protocol that specifies how to do efficient end-to-end encrypted group messaging using Nostr's decentralized identity & relay network combined with the MLS Protocol.

              The Marmot Protocol is a messaging protocol that specifies how to do efficient end-to-end encrypted group messaging using Nostr's decentralized identity & relay network combined with the MLS Protocol. - marmot-protocol/marmot

              favicon

              GitHub (github.com)

              I think it's a shame that none of the large AP implementers are prioritizing this, because without user-owned keys, not just are DMs unencrypted, but there can be no true user sovereignty and account portability on the fediverse.

              lain@lain.comL This user is from outside of this forum
              lain@lain.comL This user is from outside of this forum
              lain@lain.com
              wrote on last edited by
              #7
              @raucao @koteisaev @sozialwelten the problem is, as always, key management. nostr has the advantage that people are already comfortable with handling cryptographic keys. e2ee on AP doesn't make much sense if people don't own their keys.
              raucao@kosmos.socialR 1 Reply Last reply
              0
              • lain@lain.comL lain@lain.com
                @raucao @koteisaev @sozialwelten the problem is, as always, key management. nostr has the advantage that people are already comfortable with handling cryptographic keys. e2ee on AP doesn't make much sense if people don't own their keys.
                raucao@kosmos.socialR This user is from outside of this forum
                raucao@kosmos.socialR This user is from outside of this forum
                raucao@kosmos.social
                wrote on last edited by
                #8

                @lain @sozialwelten @koteisaev Yes.

                silverpill@mitra.socialS 1 Reply Last reply
                0
                • raucao@kosmos.socialR raucao@kosmos.social

                  @lain @sozialwelten @koteisaev Yes.

                  silverpill@mitra.socialS This user is from outside of this forum
                  silverpill@mitra.socialS This user is from outside of this forum
                  silverpill@mitra.social
                  wrote on last edited by
                  #9

                  @raucao @lain @sozialwelten @koteisaev FWIW, encryption with user-owned keys is on my roadmap. I don't want to start with MLS, though, it's too complex. The first prototype will likely encrypt messages with user's identity key, as described in https://codeberg.org/silverpill/feps/src/branch/main/0806/fep-0806.md

                  raucao@kosmos.socialR greyarea@mitra.vpclmulqdq.moeG 2 Replies Last reply
                  0
                  • silverpill@mitra.socialS silverpill@mitra.social

                    @raucao @lain @sozialwelten @koteisaev FWIW, encryption with user-owned keys is on my roadmap. I don't want to start with MLS, though, it's too complex. The first prototype will likely encrypt messages with user's identity key, as described in https://codeberg.org/silverpill/feps/src/branch/main/0806/fep-0806.md

                    raucao@kosmos.socialR This user is from outside of this forum
                    raucao@kosmos.socialR This user is from outside of this forum
                    raucao@kosmos.social
                    wrote on last edited by
                    #10

                    @silverpill @lain @sozialwelten @koteisaev That could be the first step for anyone. Still better than sending unencrypted DMs around.

                    lutindiscret@mastodon.libre-entreprise.comL 1 Reply Last reply
                    0
                    • sozialwelten@ifwo.euS sozialwelten@ifwo.eu

                      End-to-end Encryption (E2EE) over ActivityPub

                      Encrypted direct messages supply the confidence that people need to connect with family, friends and colleagues privately over a social network. As part of the Summer of Protocols 2024, we explore the integration of end-to-end encryption (E2EE) into the ActivityPub protocol.

                      Link Preview Image
                      End-to-end Encryption (E2EE) over ActivityPub

                      Encrypted direct messages supply the confidence that people need to connect with family, friends and colleagues privately over a social network. As part of the Summer of Protocols 2024, we explore the integration of end-to-end encryption (E2EE) into the ActivityPub protocol. We conduct a review of encryption protocols and integration architectures, and selected Messaging Layer…

                      favicon

                      Social Web Foundation (socialwebfoundation.org)

                      #ActivityPub #E2EE #SocialWeb #Foundation #SocialWebFoundation #Encryption #Verschlüsselung #Sicherheit #Privatnachricht

                      informapirata@activitypub.spaceI This user is from outside of this forum
                      informapirata@activitypub.spaceI This user is from outside of this forum
                      informapirata@activitypub.space
                      wrote on last edited by
                      #11

                      sozialwelten@ifwo.eu I apologize if my point of view may seem conservative and narrow-minded... but in my opinion, pushing for the integration of encrypted messaging into the Fediverse is not advisable. I believe the best solution is that of the Lemmy developers, who have created a button that allows two users with a Matrix account to communicate via software designed for secure communications.

                      1 Reply Last reply
                      0
                      • raucao@kosmos.socialR raucao@kosmos.social

                        @silverpill @lain @sozialwelten @koteisaev That could be the first step for anyone. Still better than sending unencrypted DMs around.

                        lutindiscret@mastodon.libre-entreprise.comL This user is from outside of this forum
                        lutindiscret@mastodon.libre-entreprise.comL This user is from outside of this forum
                        lutindiscret@mastodon.libre-entreprise.com
                        wrote on last edited by
                        #12

                        @raucao @silverpill @lain @sozialwelten @koteisaev the problem is not e2ee in itself. It's all the consequences: key management ux nightmare, no spam prevention from servers, no csam filter on servers, no search in server (client must download everything to index and search locally, good luck with mobile). I don't see a world where we have both e2ee and good usability 😞

                        koteisaev@mastodon.onlineK 1 Reply Last reply
                        0
                        • lutindiscret@mastodon.libre-entreprise.comL lutindiscret@mastodon.libre-entreprise.com

                          @raucao @silverpill @lain @sozialwelten @koteisaev the problem is not e2ee in itself. It's all the consequences: key management ux nightmare, no spam prevention from servers, no csam filter on servers, no search in server (client must download everything to index and search locally, good luck with mobile). I don't see a world where we have both e2ee and good usability 😞

                          koteisaev@mastodon.onlineK This user is from outside of this forum
                          koteisaev@mastodon.onlineK This user is from outside of this forum
                          koteisaev@mastodon.online
                          wrote on last edited by
                          #13

                          @lutindiscret @raucao @silverpill @lain @sozialwelten
                          I seen a good explainer (can't recall where) that systems either created for public communication (such as social media & activity pub) or for private communication (such as e2ee messengers). And them both don't mix well.
                          So attempt to stretch e2ee over fediverse will end mass usage of technical and social crutches and band-aids.
                          That explainer proposed to use email for direct messages (with PGP?), OR giving links pointing to e2ee messengers

                          lutindiscret@mastodon.libre-entreprise.comL 1 Reply Last reply
                          0
                          • koteisaev@mastodon.onlineK koteisaev@mastodon.online

                            @lutindiscret @raucao @silverpill @lain @sozialwelten
                            I seen a good explainer (can't recall where) that systems either created for public communication (such as social media & activity pub) or for private communication (such as e2ee messengers). And them both don't mix well.
                            So attempt to stretch e2ee over fediverse will end mass usage of technical and social crutches and band-aids.
                            That explainer proposed to use email for direct messages (with PGP?), OR giving links pointing to e2ee messengers

                            lutindiscret@mastodon.libre-entreprise.comL This user is from outside of this forum
                            lutindiscret@mastodon.libre-entreprise.comL This user is from outside of this forum
                            lutindiscret@mastodon.libre-entreprise.com
                            wrote on last edited by
                            #14

                            @koteisaev yes. Fediverse is designed to give everyone a megaphone. Some people want to use the megaphone to have private conversations. Quite a strange idea. Same for e2ee encrypted messengers some will use as a megaphone (making rooms with thousands people).

                            I agree a protocol between x people to automatically negociate a chatapp to dm would be cool. Or maybe integrate xmpp, there is a bluesky dm implementation based on matrix. Reuse may work best

                            @raucao @silverpill @lain @sozialwelten

                            silverpill@mitra.socialS 1 Reply Last reply
                            0
                            • silverpill@mitra.socialS silverpill@mitra.social

                              @raucao @lain @sozialwelten @koteisaev FWIW, encryption with user-owned keys is on my roadmap. I don't want to start with MLS, though, it's too complex. The first prototype will likely encrypt messages with user's identity key, as described in https://codeberg.org/silverpill/feps/src/branch/main/0806/fep-0806.md

                              greyarea@mitra.vpclmulqdq.moeG This user is from outside of this forum
                              greyarea@mitra.vpclmulqdq.moeG This user is from outside of this forum
                              greyarea@mitra.vpclmulqdq.moe
                              wrote on last edited by
                              #15

                              @silverpill @raucao @lain @sozialwelten @koteisaev

                              As a note, FEP-0806 is overly simplistic in that it has no forward secrecy.

                              As an easy improvement, if the sender also generates a per-message ephemeral X25519 keypair, you can do static-static + static-ephemeral KEX and get imperfect forward secrecy (no additional round trips required).

                              silverpill@mitra.socialS 1 Reply Last reply
                              0
                              • lutindiscret@mastodon.libre-entreprise.comL lutindiscret@mastodon.libre-entreprise.com

                                @koteisaev yes. Fediverse is designed to give everyone a megaphone. Some people want to use the megaphone to have private conversations. Quite a strange idea. Same for e2ee encrypted messengers some will use as a megaphone (making rooms with thousands people).

                                I agree a protocol between x people to automatically negociate a chatapp to dm would be cool. Or maybe integrate xmpp, there is a bluesky dm implementation based on matrix. Reuse may work best

                                @raucao @silverpill @lain @sozialwelten

                                silverpill@mitra.socialS This user is from outside of this forum
                                silverpill@mitra.socialS This user is from outside of this forum
                                silverpill@mitra.social
                                wrote on last edited by
                                #16

                                @lutindiscret @koteisaev @raucao @lain @sozialwelten

                                >Fediverse is designed to give everyone a megaphone.

                                This is true for (micro)blogging platforms, but Fediverse is bigger than that. Some platforms are designed primarily for private communication (Hubzilla & co), and ActivityPub works very well for them.

                                >Or maybe integrate xmpp, there is a bluesky dm implementation based on matrix. Reuse may work best

                                It is easier to encrypt ActivityPub messages than to implement additional protocol like XMPP. We can reuse cryptographic libraries, though.

                                1 Reply Last reply
                                0
                                • greyarea@mitra.vpclmulqdq.moeG greyarea@mitra.vpclmulqdq.moe

                                  @silverpill @raucao @lain @sozialwelten @koteisaev

                                  As a note, FEP-0806 is overly simplistic in that it has no forward secrecy.

                                  As an easy improvement, if the sender also generates a per-message ephemeral X25519 keypair, you can do static-static + static-ephemeral KEX and get imperfect forward secrecy (no additional round trips required).

                                  silverpill@mitra.socialS This user is from outside of this forum
                                  silverpill@mitra.socialS This user is from outside of this forum
                                  silverpill@mitra.social
                                  wrote on last edited by
                                  #17

                                  @greyarea @raucao @lain @sozialwelten @koteisaev Thank you for the advice. I need to start with something simple in order to learn how cryptography works. Then it will be replaced with a more secure scheme.

                                  From what I learned so far, the core principle is pretty much the same in all modern encryption schemes, they differ in how shared symmetric key is generated. Is that correct?

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