use P256 as the default curve for fips140 mode

This commit is contained in:
Wade Simmons
2026-07-29 16:04:25 -04:00
parent bf2f26b66f
commit a5cb635db4
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ func newKeygenFlags() *keygenFlags {
cf.set.Usage = func() {}
cf.outPubPath = cf.set.String("out-pub", "", "Required: path to write the public key to")
cf.outKeyPath = cf.set.String("out-key", "", "Required: path to write the private key to")
cf.curve = cf.set.String("curve", "25519", "ECDH Curve (25519, P256)")
cf.curve = cf.set.String("curve", defaultCurve(), "ECDH Curve (25519, P256)")
cf.p11url = p11Flag(cf.set)
return &cf
}