Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarification on the delete button #64

Closed
tristan-k opened this issue Sep 8, 2016 · 4 comments
Closed

clarification on the delete button #64

tristan-k opened this issue Sep 8, 2016 · 4 comments

Comments

@tristan-k
Copy link

tristan-k commented Sep 8, 2016

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.

@tristan-k tristan-k changed the title clarification on the delete button? clarification on the delete button Sep 8, 2016
@andre-d
Copy link
Contributor

andre-d commented Sep 8, 2016

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
#64, or mute the thread
https://github.com/notifications/unsubscribe-auth/AArlskBezuFFtDJhnimrRF6_YfUnxxC3ks5qn8XGgaJpZM4J3u0E
.

@tristan-k
Copy link
Author

tristan-k commented Sep 8, 2016

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
Copy link
Contributor

andre-d commented Sep 8, 2016

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
#64 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AArlsiz5LjZgqUuUfsBxBnCy_l_71FVsks5qoE2DgaJpZM4J3u0E
.

@tristan-k
Copy link
Author

Thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants