• peregus@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    13 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
      ·
      12 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
        ·
        12 hours ago

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