Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • 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
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. ntfy
  3. Add UnifiedPush settings in documentation

Add UnifiedPush settings in documentation

Scheduled Pinned Locked Moved ntfy
7 Posts 4 Posters 63 Views 4 Watching
  • 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.
  • M Offline
    M Offline
    mononym
    wrote last edited by
    #1

    Hello.

    I suggest to add an entry to the ntfy docs to explain how to make UnifiedPush work. Basically, one needs to apply this lines to the app/data/config/server.yml:

    auth-access:
      - "everyone:up*:write-only"
    

    c.f. https://docs.ntfy.sh/config/#example-unifiedpush

    It could also be a setting applied by default.

    1 Reply Last reply
    3
    • J Offline
      J Offline
      joseph
      Staff
      wrote last edited by
      #2

      @mononym thanks! But I think this is something for upstream docs since it's not Cloudron specific . The cloudron docs are only for packaging specific stuff (https://docs.cloudron.io/packages/ntfy/#custom-config).

      jdaviescoatesJ 1 Reply Last reply
      2
      • J joseph

        @mononym thanks! But I think this is something for upstream docs since it's not Cloudron specific . The cloudron docs are only for packaging specific stuff (https://docs.cloudron.io/packages/ntfy/#custom-config).

        jdaviescoatesJ Online
        jdaviescoatesJ Online
        jdaviescoates
        wrote last edited by jdaviescoates
        #3

        @joseph said in Add UnifiedPush settings in documentation:

        The cloudron docs are only for packaging specific stuff (https://docs.cloudron.io/packages/ntfy/#custom-config ).

        IMHO that is neither true, nor should it be: plenty of the docs contain useful tips on how to do things with apps, and that is a very good and useful thing for Cloudron users.

        I agree with @mononym that this info should be added to the docs (although I also agree it should prob just be added to the package too).

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        2
        • J Offline
          J Offline
          joseph
          Staff
          wrote last edited by
          #4

          Maybe I am missing something but isn't that rule giving anon access to channels starting with 'up' . Why should this be in default Cloudron package? If it was important, the default install of ntfy should come with this from upstream.

          jdaviescoatesJ M 2 Replies Last reply
          1
          • J joseph

            Maybe I am missing something but isn't that rule giving anon access to channels starting with 'up' . Why should this be in default Cloudron package? If it was important, the default install of ntfy should come with this from upstream.

            jdaviescoatesJ Online
            jdaviescoatesJ Online
            jdaviescoates
            wrote last edited by
            #5

            @joseph said in Add UnifiedPush settings in documentation:

            Maybe I am missing something but isn't that rule giving anon access to channels starting with 'up'

            from the upstream docs linked above:

            The topic names used by UnifiedPush all start with the up* prefix.

            @joseph said in Add UnifiedPush settings in documentation:

            Why should this be in default Cloudron package?

            I could be missing something and I'm not even using the app, but just because I'd guess most people would want UnifiedPush stuff on in an app that's all about getting notified about stuff.

            I use Cloudron with Gandi & Hetzner

            fbartelsF 1 Reply Last reply
            0
            • J joseph

              Maybe I am missing something but isn't that rule giving anon access to channels starting with 'up' . Why should this be in default Cloudron package? If it was important, the default install of ntfy should come with this from upstream.

              M Offline
              M Offline
              mononym
              wrote last edited by mononym
              #6

              @joseph said in Add UnifiedPush settings in documentation:

              Maybe I am missing something but isn't that rule giving anon access to channels starting with 'up' .

              I had the same concern but in the end it made sense. It is a write only access which certain application servers need to have. Ex. I set up Element to use UnifiedPush with the ntfy app on my device. The test all worked except "Test Push loop back". No idea what that does but it did work once I configured "everyone:up*:write-only" like the suggested settings.

              When choosing ntfy as UnifiedPush the app created some random string (i.e. the ntfy topic) and it starts with up. In the end, it is difficult to guess the topic name as it is random and as long you're not subscribed to that topic, you won't see the messages as well. Basically, write-only access is not enough to use the nfty server like a public instance as credentials are necessary to read the topic. So I think not really a concern here.

              I guess there's more about this on: https://unifiedpush.org

              1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @joseph said in Add UnifiedPush settings in documentation:

                Maybe I am missing something but isn't that rule giving anon access to channels starting with 'up'

                from the upstream docs linked above:

                The topic names used by UnifiedPush all start with the up* prefix.

                @joseph said in Add UnifiedPush settings in documentation:

                Why should this be in default Cloudron package?

                I could be missing something and I'm not even using the app, but just because I'd guess most people would want UnifiedPush stuff on in an app that's all about getting notified about stuff.

                fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote last edited by fbartels
                #7

                @jdaviescoates said in Add UnifiedPush settings in documentation:

                I could be missing something and I'm not even using the app, but just because I'd guess most people would want UnifiedPush stuff on in an app that's all about getting notified about stuff.

                Unifiedpush is not used to send you notifications from Ntfy, but unifiedpush is a system that can use your ntfy server to relay notifications from apps through it, instead of using Google infrastructure for these. The list of supported software can be found at https://unifiedpush.org/users/apps/, but at least when testing this with NeoChat I not only needed give write access to up_*, but also read access.

                @mononym said in Add UnifiedPush settings in documentation:

                When choosing ntfy as UnifiedPush the app created some random string (i.e. the ntfy topic) and it starts with up. In the end, it is difficult to guess the topic name as it is random and as long you're not subscribed to that topic, you won't see the messages as well. Basically, write-only access is not enough to use the nfty server like a public instance as credentials are necessary to read the topic.

                What I personally find difficult with Unifiedpush is giving the whole world the ability to send data (text and files) to your server. There are too many bad actors on the internet for this to be a good idea.

                1 Reply Last reply
                1
                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.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search