One-time keys #50
Labels
No labels
Kind/Bug
Kind/Enhancement
Kind/Feature
Project/Lander
Project/Landerctl
idea
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/lander#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sometimes it would be useful to let someone else publish an entry (probably a
file) to your server. However, you don't want to simply give them your API key
as this would be a rather big leak.
As an alternative, I'd like to introduce one-time tokens. When generating a
one-time token, a new entry would be generated on a random or chosen key (e.g.
/abcd). The server would generate a random token that is then stored in theLSM store, and returned to the caller. This token could then be used as a
one-time password for uploading a file to only that generated key. The uploaded
entry would then replace the existing entry in the LSM store, automatically
expiring the key.