Commit graph

522 commits

Author SHA1 Message Date
f6cd374412 Major refactor so that cmd and lib are separated 2021-09-19 17:47:50 +02:00
5ceaf6a777
Create SECURITY.md 2021-05-01 14:52:05 +02:00
018fb4a07f
Updated build files for Arch Linux and OpenBSD
Also removed the Homebrew file
2021-04-29 14:36:00 +02:00
913f79c634
Merge pull request #26 from wneessen/v0.3.2
V0.3.2
2021-04-29 14:10:14 +02:00
39b023d56d
Updated README.md
README not only reflects the changes of v0.3.2 now, but also has
received a bunch of usage examples, as requested in #25.
2021-04-29 14:04:27 +02:00
db3327f527
Missing new line 2021-04-29 12:22:31 +02:00
5a29d4bc19
Added optional HIBP database check
Even though the generated passwords are generated in a secure
way, there is a minimal chance, that the same password was used
by someone before and this password was part of a leak.

If you want to be on the safe side, you can now use the "-p"
parameter, to have your newly generated password against the
HIBP (https://haveibeenpwned.com) database. This feature is
disabled by default, since it requires internet access and also
the API call might take ~500ms to 1sec.
2021-04-29 12:22:10 +02:00
0badd56291
Made bool parameters switchable so the make more sense
The previous behavior was wrong in a way, that default values
like "use lower case" defaulted to true and using the -L param
would not set it to false, but simple keep the true default which
made the parameter useless.

Now all parameters still use the same defaults but setting the
corresponding flag on the CLI will negate the default, so using
-L on the CLI would set "useLowerCase" to false instead of the
default of true.
2021-04-29 11:55:18 +02:00
98e81e4857
Bumping to v0.3.2 2021-04-29 11:52:35 +02:00
fb8c66584b
Merge pull request #24 from smortex/fix-doc
Fix usage output
2021-04-29 09:51:32 +02:00
Romain Tartière
bea26f11a4 Fix usage output
Special characters in passwords are disabled by default.  Fix the usage
output to match this.
2021-04-28 21:40:53 -10:00
44479e30f5
Merge pull request #23 from wneessen/dev
Filename needs to be formula.rb
2021-04-17 23:38:25 +02:00
a9ecb17571
Filename needs to be formula.rb 2021-04-17 23:38:01 +02:00
1539c265f6
Merge pull request #22 from wneessen/dev
Updated OpenBSD ports file and added brew formulae
2021-04-17 23:25:00 +02:00
98f4f998d1
Updated OpenBSD ports file and added brew formulae 2021-04-17 23:24:37 +02:00
822efb3ce6
Merge pull request #21 from wneessen/dev
Removed header from Makefile
2021-04-17 14:14:44 +02:00
a610fcbf92
Removed header from Makefile 2021-04-17 14:14:24 +02:00
9a0d30f829
Merge pull request #20 from wneessen/dev
Fixed typo
2021-04-17 14:12:05 +02:00
91f0ce2e18
Fixed typo 2021-04-17 14:11:45 +02:00
8dd24e4211
Merge pull request #19 from wneessen/dev
Added OpenBSD ports files
2021-04-17 14:02:11 +02:00
b1a201bcff
Added OpenBSD ports files 2021-04-17 13:55:31 +02:00
8021b6529f
Merge pull request #18 from wneessen/dev
Wrong AUR link
2021-04-17 11:57:08 +02:00
42d3868ea3
Wrong AUR link 2021-04-17 11:56:51 +02:00
7a08e3b429
Merge pull request #17 from wneessen/dev
Replaced "apg.go" with "apg-go"
2021-04-17 11:55:47 +02:00
ef67464d57
Replaced "apg.go" with "apg-go" 2021-04-17 11:55:32 +02:00
466e794320
Merge pull request #16 from wneessen/dev
Added "Ports/Packages" section to README.md
2021-04-17 11:54:36 +02:00
232497cd2e
Added "Ports/Packages" section to README.md 2021-04-17 11:54:17 +02:00
c1a7f7c907
Merge pull request #15 from wneessen/dev
Bump archlinux PKGBUILD file to v0.3.1
2021-04-17 11:34:48 +02:00
d53697e162
Bump archlinux PKGBUILD file to v0.3.1 2021-04-17 11:34:20 +02:00
3e001035f3
Merge pull request #14 from wneessen/dev
v0.3.1: New password length behaviour
2021-04-17 11:21:44 +02:00
31a15d2c22
A zero password length makes no sense... 2021-04-17 11:20:21 +02:00
e143d81e79
For some reason, the tests on GH fail 2021-04-17 11:15:35 +02:00
eaf4a4c57d
v0.3.1: New password length behaviour
To address issue #13, the password length behaviour of the
original APG has been reproduced. Previously, when a minLength
of 5 and a maxLength of 10 was given, apg-go se the pwLength to
the preferred maxLength.

With v0.3.1 it will choose a random length between minLength and
maxLength instead, same as the original C-lang apg did. For this
the minLength has been defaulted to a sane value of 12 (instead
of the 8 of the original apg). The default for maxLength stayed
at 20.

Also the default number of generated passwords has been changed
from 1 to 6, to replicate the behaviour of the original apg.
2021-04-17 11:11:54 +02:00
61f37d16bb
Update go.yml 2021-04-17 11:09:04 +02:00
68832df1ed
Update go.yml 2021-04-17 11:06:40 +02:00
9277e83fd4
v0.3.1: New password length behaviour
To address issue #13, the password length behaviour of the
original APG has been reproduced. Previously, when a minLength
of 5 and a maxLength of 10 was given, apg-go se the pwLength to
the preferred maxLength.

With v0.3.1 it will choose a random length between minLength and
maxLength instead, same as the original C-lang apg did. For this
the minLength has been defaulted to a sane value of 12 (instead
of the 8 of the original apg). The default for maxLength stayed
at 20.

Also the default number of generated passwords has been changed
from 1 to 6, to replicate the behaviour of the original apg.
2021-04-17 11:04:14 +02:00
6e624b8e3c Update issue templates 2021-04-03 16:01:48 +02:00
17d3c71262
Merge pull request #12 from wneessen/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2021-04-03 16:00:04 +02:00
1ae2b43a39
Create CODE_OF_CONDUCT.md 2021-04-03 15:59:54 +02:00
b2e3d75d77
Merge pull request #11 from wneessen/dev
Updated PKGBUILD for 0.3.0
2021-04-01 11:02:31 +02:00
f13ffdf406
Updated PKGBUILD for 0.3.0 2021-04-01 11:01:47 +02:00
b3b3d285aa
Merge pull request #10 from wneessen/dev
v0.3.0: Unified the naming convention
2021-04-01 10:54:51 +02:00
8a7c00a522
v0.3.0: Unified the naming convention 2021-04-01 10:53:51 +02:00
b3ac8550d6
Merge pull request #9 from wneessen/dev
Fixed PKGBUILD for v0.2.9
2021-03-30 22:54:40 +02:00
d47ebdb23c
Fixed PKGBUILD for v0.2.9 2021-03-30 22:54:11 +02:00
f20b0e2517
Update README.md 2021-03-30 19:49:05 +02:00
108e518701
Update README.md 2021-03-30 19:48:26 +02:00
6a919a1b72
Merge pull request #8 from wneessen/dev
v0.2.9: Updated PKGBUILD file
2021-03-28 11:55:10 +02:00
d331da951f
v0.2.9: Updated PKGBUILD file 2021-03-28 11:54:45 +02:00
092fa3b841
Merge pull request #7 from wneessen/dev
Dev
2021-03-28 11:53:01 +02:00