Comments (2)
Hey Luzifer,
thanks for your tips, learnt something new! Looks like I'll remove the password generator from my instance and search for a better option.
from ots.
As a first remark:
password += characterSet.charAt(Math.floor(Math.random() * characterSet.length))
Please NEVER use Math.random()
for secure purposes! That random number generator is NOT cryptographically secure!
In regards of adding a password generator to OTS: I think there are way better tools (i.e. passwd.fyi using Luzifer/password, Keepass*, Bitwarden, …) to generate passwords (for example have a look at the list of checks my tool applies to the generated password to ensure "dict"-attacks are pointless).
OTS is intended to share secrets (passwords, steam-keys, text, …) in a secure way. Following the Unix philosophy - especially sentence one
Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new "features".
we should not add features out of this scope.
In the end within OTS a password generator already exist but only for use as a source for the encryption key and with a much more limited character set. Sure we could expose that generator to fill the secret on its own but this would add even more buttons to the interface and more complexity to the tool.
In regards of the Unix philosophy and the KISS principle ("keep it stupidly simple" - which we already stretched a lot) lets not add this.
from ots.
Related Issues (20)
- Improve UX for secrets with attachments HOT 5
- add a value to "Default" expiry HOT 6
- Issue with adding attachments with API HOT 17
- how to define a favicon? HOT 1
- Build from source HOT 1
- warnings from vue HOT 3
- Add a version option to ots-cli command line HOT 3
- UI enhancements HOT 5
- Feature request: passphrase protection of a secret HOT 4
- Feature request: possibility to revoke/burn a secret HOT 6
- How to use customize.yaml in an azure docker environment? HOT 1
- How to redirect logging to a file HOT 4
- maxAttachmentSizeTotal is not respected if its bigger than 64MiB HOT 1
- Multiple feature requests HOT 3
- Create a way to not have (Redis) credentials in an environment variable HOT 1
- The OTS app should not be able to change the web interface at runtime
- Allow secret creation to be restricted via one time links HOT 1
- Ctrl+V an image
- arm64 image on Docker HOT 1
- Allow frontend default expiry to be hidden in customization
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 ots.