UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Are there signatures or checksums for the installer programs available?

    Scheduled Pinned Locked Moved Support
    9 Posts 4 Posters 770 Views 3 Watching
    Loading More Posts
    • 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.
      • ? Offline
        A Former User
        last edited by

        And if they are published, where can I find them ?
        Probably a boring question, but I haven't found anything about that topic in the forum.
        Thank you for teaching me.

        advocatuxA G 2 Replies Last reply Reply Quote 0
        • advocatuxA Offline
          advocatux @Guest
          last edited by advocatux

          @jobus yes, you can find them in http://system-image.ubports.com/ if you know where to look 😉

          Edit: oh, sorry, are you asking about the ubports-installer checksums?

          ? 1 Reply Last reply Reply Quote 0
          • G Offline
            guru @Guest
            last edited by

            @jobus said in Are there signatures or checksums for the installer programs available?:

            And if they are published, where can I find them ?
            Probably a boring question, but I haven't found anything about that topic in the forum.
            Thank you for teaching me.

            +1
            I support this question. Software to be installed should have md5 or sha256 hashes to verify its integrity.

            1 Reply Last reply Reply Quote 1
            • ? Offline
              A Former User @advocatux
              last edited by

              @advocatux Thank you for answer ! Yes, I asked for the installer software.
              I followed your link and I have seen, there are a lot of different packages more. I guessed, the image would come with the installer, but now I think, the installer is a pure installer and collects the packages to install.
              I don't anything about the installation procedure:
              My first assumption: I have to check only the integrity/authenticity of the installer and the installer does guarantee the integrity/authenticity of the installed packages.
              My second assumption: The installer does not guarantee the integrity/authenticity of the installed packages. So I would have to know which packages the installer installs and to do that job manually.

              advocatuxA 1 Reply Last reply Reply Quote 0
              • advocatuxA Offline
                advocatux @Guest
                last edited by

                @jobus you can study which steps does the installer exactly by going to https://devices.ubuntu-touch.io/ choose a device, and then click on "manual installation instructions".

                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @advocatux
                  last edited by

                  @advocatux Thank you very much, that is what I looked for. I haven't found it by myself, thank you.

                  advocatuxA 1 Reply Last reply Reply Quote 1
                  • advocatuxA Offline
                    advocatux @Guest
                    last edited by

                    @jobus you're welcome. Glad to hear that 🙂

                    ? 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @advocatux
                      last edited by

                      @advocatux
                      I have one more question to the manual download procedure of an ubuntuphone image.

                      The download script does already check the integrity of the downloaded files, that's fine.
                      But I would like to check the authenticity of the download and I fail at the end
                      with the last key id.

                      For the most files signature files are provided. They were generated by the pgp key of
                      UBports System Image Image Signing key system-image@ubports.com

                      This first key (inside a keyring) comes with a signature generated by the pgp key of
                      1 Image Master key me@mariogrip.com

                      This second key (inside a keyring) is signed by the pgp key belonging
                      to the key id
                      1A30C7D6585E9E81

                      I cannot find this key; I suppose it is published in a similar manner
                      like e.g. debian distro maintainers proceed.

                      And finally, for http://cdimage.ubports.com/devices/recovery-vegetahd.img
                      i could not find any pgp signature file.

                      Perhaps, you could give me a hint again?

                      N 1 Reply Last reply Reply Quote 0
                      • N Offline
                        NeoTheThird @Guest
                        last edited by

                        @jobus

                        The checksums for the partition images are served by api.ubports.com. This sha256 hash is checked both in the manual install instructions and in the installer. You can find the json for your device here: https://api.ubports.com/v1/devices/vegetahd

                        I will add checksums for the executables and installation packages of the installer to the releases page, doing that automatically in ci has been on my list for a while. Wasn't my highest priority so far, because github defaults to https, so the only remaining attack vector i can see would be to switch the files hosted there, which is not very likely to happen unless we have a mole, the account of someone with access to the org gets pwned or someone hacks Microsoft. In all cases, there'd be more efficient ways to do much more severe damage, but since this has been requested some times now, who am i to stand in the way of progress. 🙂

                        1 Reply Last reply Reply Quote 3
                        • First post
                          Last post