Age | Commit message (Collapse) | Author |
|
Update release date to today.
|
|
|
|
|
|
|
|
|
|
|
|
Adds i18n_set_exists function to check the linked list for potential
duplicates before adding a new character set.
|
|
This is default and we must have at least one character set always.
|
|
|
|
Add total count to output. Update "Count" string to say "Set count"
since it no longer represents the size of the whole set pool array.
|
|
These add upstream functionality to prevent usage of numerals and
capitals in the output password.
Also this fixes an issue with the character selection loop.
|
|
Previously, selected character sets were appended to a large array. This
made the program unable to easily mirror functionality of the
inspiration program pwgen in that removal of default character sets was
not very feasible.
This adds each character set into its own struct, which is a linked list
item, enabling easy addition to or removal from the character set list.
Further, character selection is now different as well. Since previously
the character pool was stored as one big array and now it is a linked
list of structs, a random character set type must be selected before
the character within that set is subsequently selected. This requires
two calls to rand now rather than only one.
|
|
|
|
|
|
These weren't committed in the original release (oops), so adding this
retroactively.
|
|
The new clean target deletes the obj dir, upwgen binary, and upwgen.1.gz
compiled man page if any exists.
|
|
This was unecessary.
|
|
|
|
Updated the make file to produce the man page during `make` and `make
install`. The make process interpolates the config using sed to find and
replace jinja-style variables for the release date and the build
version.
Added new variable RELDATE and MANPREFIX variables to the Makefile.
|
|
|
|
|
|
Set initial version to 1.0 because 1.1 isn't ready yet.
|
|
|
|
Added support for the -d,--debug switches. These will cause upwgen to
dump the assembled character array to stdout with hexidecimal and
decimal codes. Also prints a total pool character count.
|
|
|
|
Previously, only the -i,--i18n switch existed, which would append the
world's top ~10 languages to the unicode array. This was often
problematic because many fonts don't have glyphs for the lesser-used
writing systems. This also had the inadvertant effect of making many of
the generated i18n passwords unacceptable for many services. This is
because the more common unicode characters are accepted (eg: latin
basic, extended, suppliment, etc), but the less common are considered
"disallowed symbols", making most of the generated passwords
unacceptable.
This introduces the -1, -2, -3, and -4 switches to alleviate this. The
-1 switch includes only the most used scripts in the world (Latin and
IPA phonetic), which covers some of the biggest languages in use making
these passwords most likely to be acceptable. The subsequent switches
include lesser and lesser used scripts in sequence.
This commit splits out all i18n functions into the new i18n_cat library
to clean up main. Also made intrcat hidden, implementing
i18n_cat_ascii_* functions to replace all external calls to it.
|
|
Previously the user was required to specify a custom char set, or the
upwgen exited with an error. Now it assumes ascii 33 - 126, which
include all english lower case, upper case, numbers, and some symbols by
default (which is sane since this is what most password fields accept).
Also updated README to document this default.
|
|
Added runtime switch parsing. This adds the -c,--capitalize;
-y,--symbols; -l,--lower; -i,--i18n; -n,--numerals; and -h,--help
switches. These allow the end user to customer the output.
Set default password length to 32 long. User can still specify with old
syntax. Also added some better error checking on the input string to
ensure the user specifies an int.
Added helptext (usage function). Updated README.
|
|
|
|
Added makefile, readme, license, and source. Currently supports
user-specified password length.
|