issues
search
ShahriyarR
/
one-time-secret-share
One time secret sharing service on top of ReadOnce objects
MIT License
21
stars
5
forks
source link
Add URL TTL - 2 hours by default
#11
Closed
ShahriyarR
closed
1 year ago
ShahriyarR
commented
1 year ago
By default, the expiration time for UUID URL should be 2 hours.
After 2 hours the link is going to be expired and the secret object removed.
So the secret is valid for 2 hours, if it was retrieved during these 2 hours then it is exhausted, and it is impossible to read it twice.
The URL of the already-read secret will be invalidated after 2 hours as well.
By default, the expiration time for UUID URL should be 2 hours.