| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This needs a lot of cleanup and commenting, but it works.
It's FAST. Even faster than the go-version.
|
|
|
|
|
|
|
|
|
|
| |
It's almost twice as fast now!
Had to use some hacks because POSIX sh don't support arrays. Well, it
supports *one*...
Still needs some cleanup, but it now has the same functionality as the
others!
|
|
|
|
|
|
| |
Go-version now matches zsh in functionality
also removed rogue whitespace from makepass.zsh
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First and foremost - the \ got removed from the special characterset in
the zsh-version (which atm is the authorative one) in commit 10f86a9.
This is because it was sometimes interpreted as an escapecharacter when
combined with certain other characters.
This should probably have been solved some other way, but the easiest
way was to just remove the character. I also don't have quotes in the
special characterset for the same reason - it might get interpreted the
wrong way.
Secondly, I updated the example.
Thirdly - updated the descriptions of the different versions a bit.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I got some suspiciously similar passwords and had to take a closer look
to make sure we throw away $RANDOM at the right places.
$RANDOM - from the zsh documentation:
> The values of RANDOM form an intentionally-repeatable pseudo-random sequence;
> subshells that reference RANDOM will result in identical pseudo-random values
> unless the value of RANDOM is referenced or seeded in the parent shell in
> between subshell invocations.
I think it's fixed now.
|
|
|
|
|
|
| |
Without any polish...
But makepass.bash is now about 5.5x faster than previously!
|
|
|
|
| |
and fixed a typo in zsh and readme
|
|
|
|
|
|
|
|
|
| |
Things are popping up with the zsh-version as I'm rewriting the
perl-version.
- Rename help-function
- I wanted zero-padding of PRINTLEN. Added it now.
- Change the way we set first and last character in randstring.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
I think I'm getting there with this round. `makepass.zsh` might not look
pretty, but it is beginning to look like something that might be
standardized on.
Next step is to rewrite some of the other scripts to match the zsh one.
|
|
|
|
|
| |
Further work on standardizing and cleaning up. Gotta break some eggs
etc.
|
|
|
|
|
|
| |
I want all the scripts to work in roughly the same way, with roughly the
same functions, doing roughly the same thing. That way the benchmark
means more. And also, I might learn something.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This will now be a separate repo
|
|
|
|
| |
Script now only uses zsh, and is over 700% faster. w00p
|
| |
|
| |
|
|
|
|
| |
also, RANDOM is reserved in ksh. Use var with other name.
|
| |
|
| |
|
|
|
|
| |
argument), so here's an updated version that runs on openbsd
|
| |
|
|
|
|
| |
characters
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
executing shuf
|
|
|
|
|
| |
I'm going with GPLv2 simply because I'm planning on stealing a few bits
from GRML :)
|
| |
|
|
|