• peregus@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    21 hours ago

    Send lets you share files with end-to-end encryption

    How is this possible if the only thing that is shared between sender and receiver is just a link (that is provided by the website)?

    How can we trust https://send.vis.ee/? Who are they?

    • RmDebArc_5@sh.itjust.works
      link
      fedilink
      arrow-up
      12
      ·
      20 hours ago

      How it works: I don’t know about this service in particular, but usually the shared contains the encryption key so like this: example.com/files/file_id/encryption_key or something similar

      As for trust: This appears to be a individual, so you will have to just trust it when using the public instance. However, since it is FOSS, you can audit the code and spin up your own instance

      • peregus@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        10 hours ago

        How it works: I don’t know about this service in particular, but usually the shared contains the encryption key so like this: example.com/files/file_id/encryption_key or something similar

        But if the key is in the URL, that’s provided by the server, where’s the utility of the encryption since the server knows it and so does everyone that has the URL?

        • flux@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 hours ago

          So the trick is to use the #fragment part of the URL, that is not sent to the server.

          Of course the JS one downloads from the server could easily upload it to it, so you still need to trust the JS.

          • peregus@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            10 hours ago

            But the JS code could be checked on the webpage, correct? If so, the page could be trysted (if vetted).

      • Handles@leminal.space
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        18 hours ago

        spin up your own instance

        Absolutely. If you’re at all worried about sending files through third party sites, set up your own. Provided you trust your own security skills, of course.

        I would certainly be more interested in having an install under my own domain than using some rando’s that I don’t know.

    • chebra@mstdn.io
      link
      fedilink
      arrow-up
      5
      ·
      20 hours ago

      @peregus @dl007

      Wiki End-to-end encryption:
      > The messages are encrypted by the sender but the third party does not have a means to decrypt them, and stores them encrypted. The recipients retrieve the encrypted data and decrypt it themselves. Because no third parties can decipher the data being communicated or stored, for example, companies that provide end-to-end encryption are unable to hand over texts of their customers’ messages to the authorities.

      You don’t have to trust the server.

      • peregus@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        10 hours ago

        The recipients retrieve the encrypted data and decrypt it themselves

        Ok, but how can the recipient decrypt it if he doesn’t have the key? The only thing that’s shared is the URL and if the key is in the URL, well, I don’t know what’s the use for it since the server knows it.

            • chebra@mstdn.io
              link
              fedilink
              arrow-up
              0
              ·
              10 hours ago

              @peregus It’s explained in other threads here. The key is in the url but behind # and that part is invisible to the server. protocol://host:port/path?query#fragment, server will only see …?query, so both participants can decrypt, but server can’t => E2EE

              • peregus@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                10 hours ago

                But it’s the server that creates the URL in the first place, so it must knows it, right? …or wrong?

                  • peregus@lemmy.world
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    10 hours ago

                    Oh, ok, now I get it. So it could be checked by a third party if that code is really created by the browser and if it’s not sent to the server, correct?

      • jwmgregory@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        18 hours ago

        that still isn’t an explanation of how the server supposedly “does not have the means to decrypt them [the messages]”, which isn’t me saying it’s impossible. i’m well aware of possible cryptographic solutions here. but, it isn’t wrong to be sus of this application until the organization/developers have demonstrated a degree of trustworthiness. i honestly don’t see why you would use this over just encrypting and transfering the data yourself using more traditional methods that involve the minimum number of parties. i might just be ignorant of this project, but i’m weary of it until i have a chance for further investigation

        • chebra@mstdn.io
          link
          fedilink
          arrow-up
          0
          ·
          17 hours ago

          @jwmgregory I think you misunderstand some of the technical terms, it would be quite clear how it works and why it’s ok, so let’s just keep an open mind. Nobody will be justifying their existence in front of a random internet user. So feel free to be sus, but keep an open mind about terms like E2EE, there is much to learn.

          • jwmgregory@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            1
            ·
            6 hours ago

            i made my comment pretty early before getting up to go vote in our election. i’ll admit i was premature on having an opinion as i just skimmed the content here and didn’t look into things much.

            this project is definitely interesting. i suppose my sentiment initially was less that i don’t trust the cryptography, and more a general weariness of new open source projects. after reading more about the implementation there isn’t anything that jumps out at me as particularly egregious.

            i support FOSS and the related philosophies a whole lot, i believe it to be one of the only ways to take our lives and communities back these days.

            however, with that said, i have to disagree with this sentiment:

            Nobody will be justifying their existence in front of a random internet user.

            random internet users are the open source movement. new projects must justify their existence and trustworthy nature to the community. not that these people haven’t, obviously they haven’t had the chance yet.

            an open mind, absolutely. but history has shown bad actors are abound, as well. i’m not sure what the proper solution here is, and i don’t think anyone else is absolutely 100% certain either. removing trust from the equation isn’t easy.

            idk i’m kind of just babbling at this point tho. thanks for the civil discussion

    • redxef@feddit.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      20 hours ago

      The fragment of a URL is not sent to the server, so that’s where such platforms usually store the key. That’s also the way cryptpad does it. You can thus share the URL and with it the key.

      Of course, you still need to trust the platform. The sourcecode link at the bottom of the page links to https://github.com/timvisee/send who forked from mozilla/send and links back to the web page.