Hi,
I use the package https://github.com/urfave/cli, I write this:
keySize := cliContext.Int("key-size")
Later, I compare this variable
if keySize != 3072 || keySize != 4096 {
log.Warnln("RSA key size must be 3072 or 4096")
}
Then, when I launch my command, I have this output:
$ go run main.go csr --common-name test --key-size 4096
WARN[2022-09-20 09:55:04] RSA key size must be 3072 or 4096
keySize is equal to 4096, why my code have this behavior?