Comments (5)
Funny - I was just about to report the inability to specify a ttl lower than the 7/14 day defaults. Longer works, but not shorter.
from onetimesecret.
from onetimesecret.
Well, discussing it further, 1 hour seems the most appropriate to me, since I can imagine quite a few situtations where lesser ttl can be desired.
BTW, it's been said that this is for abuse prevention, but afaik there's per...day(?) secret limit you discussed right here. So, having these limits and considering common... user speed? I'd say the smallest still-appropriate ttl would be 1 minute. Just a proposal tho.
About s/m ttls. I understand why they are sent back, but generate have them as options. The problem here is that i checked and ttl's weren't set correspondingly to sent request. Do NOT consider this as a bug tho, 'cause I didn't tested it properly. 'll open another issue if I confirm my assumption
from onetimesecret.
Thanks for the follow up and clarification. I removed the unused query params from the docs.
The minimum TTL was a straight up bug as evidenced here:
6205faf#diff-36f8bb4628f358a7841a9c9be443d52dL419
The ticket auto-closed with the commit message but feel free to re-open if you find anything else for this. And thanks all for helping make onetimesecret better.
from onetimesecret.
Thanks.
But providing more functionality, separate metadata_ttl and secret_ttl are could still be reasonable to have in request params. Could be said that number of situtations where it could be usable is, like, almost zero. But still, if you want such a "weird" functionality - why not :D
from onetimesecret.
Related Issues (20)
- Replace generic StandardError rescues
- Install Renovatebot to help manage dependencies. HOT 4
- Dockerhub account? HOT 6
- Review to add type hints
- Fix for Rubygems version in Ruby workflow
- the api not work HOT 7
- Re-add remove account button
- Better DX for deploying via docker image
- Migrate to new VM HOT 9
- Setting REDIS_URI without 'redis://' scheme leads to exception on load
- where can I change the length generate random password HOT 1
- Images and icons not showing p.2 HOT 4
- Cannot normalize nothing on docker build HOT 4
- Docker Build V0.13.0-RC6 Verification Email not being sent.
- wrong version of `uri-redis` in `Gemfile.lock`
- re: renovatebot install HOT 2
- Dependency Dashboard
- v0.13.0-RC7: undefined method `register_scheme' for URI:Module (NoMethodError) HOT 3
- Add config check at start-time
- Update docker compose config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onetimesecret.