Skip to content

Commit

Permalink
change key format
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikey committed Sep 29, 2023
1 parent 6e8d5f0 commit 3e4a2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/keyforge/key_management.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func LoadOrCreateKeys(privKeyFile string, outputDir string) (crypto.PrivKey, cry
var err error

if _, err := os.Stat(privKeyFile); os.IsNotExist(err) {
priv, pub, err = crypto.GenerateKeyPair(crypto.Ed25519, 0)
priv, pub, err = crypto.GenerateKeyPair(crypto.ECDSA, 0)
if err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit 3e4a2ce

Please sign in to comment.