Comments (1)
Hi,
It should be expected: the combination of the master password + realm string should create a unique deterministic pseudo-random generator. Notice, that the requested password length is not contributing here yet.
Later, a filtering algorithm just takes the input from this DPRNG and tries to convert it to a string, which passes the requested password spec (including length). The result is than in most cases the string would be similar, just truncated to the requested length unless the bigger string stops conforming to the password spec (and in which case it would be just discarded and the next string from the DPRNG taken until it conforms).
see the relevant code here:
Lines 67 to 156 in 2d48d3b
from gokey.
Related Issues (20)
- Build on Windows HOT 2
- Please create gokey releases HOT 4
- gokey test suite takes hours on mips HOT 9
- Unable to `go get` it HOT 2
- Password prompt should be printed to stderr HOT 5
- Update doc: use `go install` instead
- Bug: Length flag `-l` doesn't work HOT 2
- Migrate from Travis CI to GitHub Actions or another alternative?
- Description used for the password generation algorithm
- Package not installing on Mac HOT 2
- Broken design and Implementation HOT 3
- Error while install gokey command-line utility HOT 4
- Proposal: Willing to add autorelease support to GitHub actions HOT 7
- Feature request - allow setting of master pasword via environment variable HOT 2
- Tests fail with go1.19
- Same output is not generated on all OS HOT 2
- Go1.20 TestGetKey: keys with same invocation options do not match HOT 1
- Error compiling
- New Master Password for the same seed file HOT 2
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 gokey.