File tree Expand file tree Collapse file tree 4 files changed +17
-12
lines changed
Expand file tree Collapse file tree 4 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 1- # Advanced Password Generator (APG) Clone
2- _ apg-go_ is a simple APG-like password generator script written in Go. It tries to replicate the
1+ # A "Automated Password Generator"-Clone
2+ ![ Go workflow] ( https://github.com/wneessen/apg-go/actions/workflows/go.yml/badge.svg )
3+ ![ CodeQL workflow] ( https://github.com/wneessen/apg-go/actions/workflows/codeql-analysis.yml/badge.svg )
4+
5+ _ apg-go_ is a simple APG-like password generator written in Go. It tries to replicate the
36functionality of the
47"[ Automated Password Generator] ( https://web.archive.org/web/20130313042424/http://www.adel.nursat.kz:80/apg ) ",
58which hasn't been maintained since 2003. Since more and more Unix distributions are abondoning the tool, I was
Original file line number Diff line number Diff line change 99
1010// Constants
1111const DefaultPwLenght int = 20
12- const VersionString string = "0.2.9 "
12+ const VersionString string = "0.3.0 "
1313
1414type Config struct {
1515 minPassLen int
@@ -30,9 +30,11 @@ type Config struct {
3030}
3131
3232// Help text
33- const usage = `Usage:
34- apg [-m <length>] [-x <length>] -L -U -N -S -H
35- apg [-m <length>] [-x <length>] -M LUNsh -E <list of chars>
33+ const usage = `apg-go // A "Automated Password Generator"-clone
34+ Copyright (c) 2021 Winni Neessen
35+
36+ apg [-m <length>] [-x <length>] [-L] [-U] [-N] [-S] [-H] [-C]
37+ [-l] [-M mode] [-E char_string] [-n num_of_pass] [-v] [-h]
3638
3739Options:
3840 -m LENGTH Minimum length of the password to be generated (Default: 20)
@@ -61,7 +63,7 @@ func main() {
6163
6264 // Show version and exit
6365 if config .showVersion {
64- _ , _ = os .Stderr .WriteString ("Advanced Password Generator Clone (apg.go) v" + VersionString + "\n " )
66+ _ , _ = os .Stderr .WriteString (`apg-go // A "Automated Password Generator"-clone v` + VersionString + "\n " )
6567 _ , _ = os .Stderr .WriteString ("(C) 2021 by Winni Neessen\n " )
6668 os .Exit (0 )
6769 }
Original file line number Diff line number Diff line change 33pkgname=apg-go
44pkgver=0.2.9
55pkgrel=1
6- pkgdesc=' Advanced Password Generator Clone '
6+ pkgdesc=' A "Automated Password Generator"-clone '
77arch=(' i686' ' x86_64' ' armv6h' ' armv7h' ' aarch64' )
88url=' https://github.com/wneessen/apg-go'
99license=(' MIT' )
You can’t perform that action at this time.
0 commit comments