]> Cypherpunks repositories - keks.git/commitdiff
Leave -algo default value for convenience
authorSergey Matveev <stargrave@stargrave.org>
Thu, 12 Dec 2024 17:59:48 +0000 (20:59 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 12 Dec 2024 17:59:48 +0000 (20:59 +0300)
gyac/yacpki/cmd/yacertool/main.go

index 446ccd3103d05066f8a312bca3ada9ceeaf1fc11cc0f6c7cdc6956943657148d..3742be66dfea7ba7f46aa58f89524c031ef852b56654a7a0bbbda86102c5e556 100644 (file)
@@ -52,7 +52,7 @@ func main() {
                "Optional notBefore, \"2006-01-02 15:04:05\" format")
        lifetime := flag.Uint("lifetime", 365,
                "Lifetime of the certificate, days")
-       algo := flag.String("algo", "", "Public key algorithm")
+       algo := flag.String("algo", yacpki.GOST3410256A, "Public key algorithm")
        issuingPrv := flag.String("ca-prv", "",
                "Path to private key file for issuing with")
        reuseKey := flag.Bool("reuse-key", false,