Commit b800292d authored by Kevin Lyda's avatar Kevin Lyda 💬
Browse files

No underscores lint says.

parent de3927de
Pipeline #1177 passed with stage
in 1 minute and 59 seconds
......@@ -19,14 +19,14 @@ import (
)
var (
u, _ = user.Current()
cfg = pflag.String("config", path.Join(u.HomeDir, ".cashier.conf"), "Path to config file")
ca = pflag.String("ca", "http://localhost:10000", "CA server")
keysize = pflag.Int("key_size", 2048, "Key size. Ignored for ed25519 keys")
validity = pflag.Duration("validity", time.Hour*24, "Key validity")
keytype = pflag.String("key_type", "rsa", "Type of private key to generate - rsa, ecdsa or ed25519")
public_key = pflag.String("public_key", "", "Filename for public key (optional, no default)")
public_cert = pflag.String("public_cert", "", "Filename for public cert (optional, no default)")
u, _ = user.Current()
cfg = pflag.String("config", path.Join(u.HomeDir, ".cashier.conf"), "Path to config file")
ca = pflag.String("ca", "http://localhost:10000", "CA server")
keysize = pflag.Int("key_size", 2048, "Key size. Ignored for ed25519 keys")
validity = pflag.Duration("validity", time.Hour*24, "Key validity")
keytype = pflag.String("key_type", "rsa", "Type of private key to generate - rsa, ecdsa or ed25519")
publicKey = pflag.String("public_key", "", "Filename for public key (optional, no default)")
publicCert = pflag.String("public_cert", "", "Filename for public cert (optional, no default)")
)
func main() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment