Update version number in README and apg.go for proper semver ruling

The version number has been corrected to 1.1.0 from 1.0.1. This change was made in both the README.md file and the apg.go file. This update reflects the new algorithm for binary secrets introduction in version 1.1.0 instead of version 1.0.1.
This commit is contained in:
Winni Neessen 2024-03-17 18:31:58 +01:00
parent 9f035c5834
commit 4a6b9b325f
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D
2 changed files with 2 additions and 2 deletions

View file

@ -336,7 +336,7 @@ Heads
``` ```
### Binary mode ### Binary mode
Since v1.0.1 apg-go has a new algorithm for binary secrets. This is a very basic mode that will ignore Since v1.1.0 apg-go has a new algorithm for binary secrets. This is a very basic mode that will ignore
most of the available options, as it will only generate binary secrets with full 256 bits of randomness. most of the available options, as it will only generate binary secrets with full 256 bits of randomness.
The only available options for this mode are: `-f` to set the length of the returned secret in bytes, The only available options for this mode are: `-f` to set the length of the returned secret in bytes,
`-bh` to tell apg-go to output the generated secret in hexadecial representation and `-bn` to instruct `-bh` to tell apg-go to output the generated secret in hexadecial representation and `-bn` to instruct

2
apg.go
View file

@ -5,7 +5,7 @@
package apg package apg
// VERSION represents the version string // VERSION represents the version string
const VERSION = "1.0.1" const VERSION = "1.1.0"
// Generator is the password generator type of the APG package // Generator is the password generator type of the APG package
type Generator struct { type Generator struct {