Tim's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Kalcifer@sh.itjust.works to Privacy@lemmy.ml ·
edit-2
8 months ago

Can a Unified Push push server see/read notifications?

message-square
message-square
23
fedilink
1
message-square

Can a Unified Push push server see/read notifications?

Kalcifer@sh.itjust.works to Privacy@lemmy.ml ·
edit-2
8 months ago
message-square
23
fedilink

By “push server” I mean something like Ntfy.sh.


Cross-posts
  • https://sh.itjust.works/post/27577324
  • Kalcifer@sh.itjust.worksOP
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    What’s interesting, and is confusing me about this, is that Ntfy does not adhere to this [1]. I’m not sure how this can be.

    References
    1. “End-to-end encryption (E2E) between clients (Android app, CLI, web app)”. binwiederhier. ntfy/binwiederhier. GitHub. Published: 2021-12-29T02:07:36Z. Accessed: 2024-11-22T05:04Z. https://github.com/binwiederhier/ntfy/issues/69.
    • rcbrk@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      It doesn’t matter. Even if the ntfy message was plaintext, that plaintext content would be a UnifiedPush “Push message” which is the RFC8291-encrypted raw POST data.

      • Kalcifer@sh.itjust.worksOP
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        7 months ago

        So, for example, if one were to register Unified Push notifications with Matrix using Ntfy, the creation of the encrypted Unified Push notifications would be done by the Matrix Unified Push Gateway which then gets handed off to Ntfy? Is there a way to confirm that the received notification is indeed encrypted?

        • rcbrk@lemmy.ml
          link
          fedilink
          English
          arrow-up
          0
          ·
          7 months ago

          You could have a look at the messages ntfy is passing around using its trace function: https://docs.ntfy.sh/troubleshooting/

          • Kalcifer@sh.itjust.worksOP
            link
            fedilink
            arrow-up
            0
            ·
            7 months ago

            I enabled logging in the Ntfy app, and, upon receiving a message in Element X, it showed the Matrix notification push message in plain text in the logs. If Ntfy indeed doesn’t know anything about Unified Push and is just the medium through which a Unified Push message travels, then I would think that it wouldn’t be the service decrypting the message, yet it is decrypted in the logs.

            • rcbrk@lemmy.ml
              link
              fedilink
              English
              arrow-up
              0
              ·
              7 months ago

              Yeah, I was doing some more reading and I think it might only be the newest version of the UnifiedPush spec which requires the message to be encrypted.

              • https://codeberg.org/UnifiedPush/specifications/pulls/1
              • https://github.com/binwiederhier/ntfy-android/pull/98
              • https://codeberg.org/iNPUTmice/Conversations/issues/428

              I noticed that the examples given on https://codeberg.org/iNPUTmice/up/src/branch/master/README.md are unencrypted.

Privacy@lemmy.ml

privacy@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

  • Lemmy.ml libre_culture
  • Lemmy.ml privatelife
  • Lemmy.ml DeGoogle
  • Lemmy.ca privacy

much thanks to @gary_host_laptop for the logo design :)

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 85 users / day
  • 371 users / week
  • 1.15K users / month
  • 4.68K users / 6 months
  • 0 local subscribers
  • 39.3K subscribers
  • 2.52K Posts
  • 49.6K Comments
  • Modlog
  • mods:
  • k_o_t@lemmy.ml
  • tmpod@lemmy.pt
  • Yayannick@lemmy.ml
  • ranok@sopuli.xyz
  • UI: unknown version
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org