aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Dynamically allocate password instead of using VLANicholas Tay2021-12-021-1/+16
| | | | | | | | | | This allows the code to compile with `cl` (MS Windows). Additionally allows massive passwords to be made more easily I suppose, as we aren't allocating (potentially dangerously) on the stack anymore. But, generation may be slightly slower due to allocation of memory. We could possibly have some statically allocated memory (e.g. 20 bytes) and if we go over then malloc().
* More explicit custom grammar flag for free()Nicholas Tay2021-12-021-2/+4
| | | | This also allows the program to be compiled with Clang.
* CRLF -> LFNicholas Tay2021-12-024-136/+136
|
* Less syscalls the better? Call getrandom() every generationNicholas Tay2021-12-021-6/+3
| | | | | Seems to hang every few executions if we getrandom one big chunk. Probably not enough entropy?
* Enforce C99Nicholas Tay2021-12-021-1/+1
|
* Add better RNG for LinuxNicholas Tay2021-12-021-3/+19
|
* Automatic commit of package [passgen] release [0.1.1-1].Nicholas Tay2021-12-012-4/+4
| | | | | | Created by command: /usr/bin/tito tag
* Ignore executable in gitignoreNicholas Tay2021-12-011-1/+4
|
* Fix VLA for password charsNicholas Tay2021-12-011-1/+2
| | | | | | I wasn't very clued in on how this works, and I thought it'd initialise properly, but clearly not. Need to include space for the null terminator and explicitly set it.
* Automatic commit of package [passgen] release [0.1.0-2].Nicholas Tay2021-12-012-2/+5
| | | | | | Created by command: /usr/bin/tito tag --keep-version
* RPM spec: add gcc, make to BuildRequiresNicholas Tay2021-12-011-0/+3
|
* Automatic commit of package [passgen] release [0.1.0-1].Nicholas Tay2021-12-012-2/+6
| | | | | | Created by command: /usr/bin/tito tag --use-version 0.1.0
* Add in RPM spec (tested on Fedora)Nicholas Tay2021-12-011-0/+34
|
* Initialized to use tito.Nicholas Tay2021-12-012-0/+8
|
* Improve Makefile with changeable name + install functionNicholas Tay2021-12-011-5/+12
|
* Add LICENCENicholas Tay2021-12-011-0/+17
|
* Add config file, refactor classes to be cleaner with macrosNicholas Tay2021-12-012-20/+18
|
* Missing string.h importNicholas Tay2021-12-011-0/+1
|
* Take a single argument as a grammarNicholas Tay2021-12-011-1/+6
|
* Add readmeNicholas Tay2021-12-011-0/+7
|
* Take in triplet/specials/numbers argumentsNicholas Tay2021-12-011-2/+32
|
* Adjust seeding and compiler errorsNicholas Tay2021-11-301-9/+6
|
* Add makefileNicholas Tay2021-11-301-0/+11
|
* Initial passgen with no customisable grammarNicholas Tay2021-11-302-0/+118