Commit graph

286 commits

Author SHA1 Message Date
8bf103b73c Make GoLinter happy 2021-09-23 09:43:26 +02:00
15bccc3c42
Create .cirrus.yml 2021-09-23 09:39:25 +02:00
7da98e6389 Merge remote-tracking branch 'origin/cmd_refactor' into cmd_refactor 2021-09-23 09:36:00 +02:00
e773db2ee7 Bump version to 0.4.0-dev 2021-09-23 09:35:54 +02:00
2cc4ec8e1b
Update go.yml 2021-09-23 09:34:16 +02:00
30326b46d5
Update go.yml 2021-09-23 09:33:15 +02:00
27d05f497b Use go-hibp v1.0.0 for #30 2021-09-22 20:23:43 +02:00
097b4f1551
Update README.md 2021-09-22 17:41:48 +02:00
abc16cac15
Create FUNDING.yml 2021-09-22 17:41:33 +02:00
2087a4b60c
Implement new go-hibp package 2021-09-21 14:03:09 +02:00
7871b4307b Missing cmd/ 2021-09-21 11:31:39 +02:00
6ebd86d00a Updated WS 2021-09-21 09:23:11 +02:00
b490e9bf98 v0.3.3: Separated HIBP code into its own module 2021-09-19 18:20:16 +02:00
37e9e0cc02 Updated build files for Arch and OpenBSD 2021-09-19 17:55:00 +02:00
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