Upload / Up1

Client-side encrypted image host web server
MIT License
813 stars 97 forks source link

clarification on the delete button #64

Closed tristan-k closed 7 years ago

tristan-k commented 7 years ago

Image deletion functionality is also available. When an image is uploaded, a delete token is returned. Sending this delete token back to the server will delete the image. On the server side, HMAC-SHA256(static_delete_key, identifier) is used, where the key is a secret on the server.

Why does the delete button disappear after sending the links to someone else or how does the delete button work? It isnt clear to me after reading the Readme.

andre-d commented 7 years ago

Deletion key is a separate key stored in your local storage.

On Sep 8, 2016 4:22 AM, "ǝʞɔoʃʞ uɐʇsıɹʇ" notifications@github.com wrote:

Why does the delete button disappear after sending the links to someone else or how does the delete button work?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Upload/Up1/issues/64, or mute the thread https://github.com/notifications/unsubscribe-auth/AArlskBezuFFtDJhnimrRF6_YfUnxxC3ks5qn8XGgaJpZM4J3u0E .

tristan-k commented 7 years ago

I don't get it. It may seem stubborn, but that doesn't answer my question why the delete button disappears after sending the links to someone else ?

andre-d commented 7 years ago

If you send the link to someone else the delete button will not be visible as they will not have the deletion key. The deletion key is private to the uploaded and stored in local storage on upload.

If you wish to share a deletion link please copy link location on the delete button.

On Sep 8, 2016 2:01 PM, "ǝʞɔoʃʞ uɐʇsıɹʇ" notifications@github.com wrote:

It may seem stubborn, but that doesn't answer my question why the delete button disappears after sending the links to someone else ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Upload/Up1/issues/64#issuecomment-245684755, or mute the thread https://github.com/notifications/unsubscribe-auth/AArlsiz5LjZgqUuUfsBxBnCy_l_71FVsks5qoE2DgaJpZM4J3u0E .

tristan-k commented 7 years ago

Thanks.