One-time keys #50
			
				
			
		
		
		
	
	
		Labels
		
	
	
	
	No Label
	
		
			
	
	
	
	Kind/Bug
		
			
	Kind/Enhancement
		
			
	Kind/Feature
		
			
	Project/Lander
		
			
	Project/Landerctl
		
			
	idea
		
			
	invalid
		
			
	question
		
			
	wontfix
		
		
	
		No Milestone
		
			
		
	
	
		
		
		
			No project
			
		
	
	
	
	
	
		No Assignees
		
			
		
	
	
	
		1 Participants
		
	
	
		
		
			Notifications
			
				
			
		
	
	
		
		
	
	
	Due Date
	No due date set.
			
				Dependencies
				
				
		
	
	
	No dependencies set.
			Reference: Chewing_Bever/lander#50
			
		
	
		Loading…
	
		Reference in New Issue
	
	
	There is no content yet.
		
		Delete Branch "%!s(<nil>)"
	
	Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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.