Skip to content

Commit

Permalink
fix: curve
Browse files Browse the repository at this point in the history
  • Loading branch information
skynet2 committed Nov 27, 2024
1 parent e78c88e commit 1e13649
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/kms/aws/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ var kmsKeyTypes = map[types.SigningAlgorithmSpec]arieskms.KeyType{
// nolint: gochecknoglobals
var keySpecToCurve = map[types.KeySpec]elliptic.Curve{
types.KeySpecEccSecgP256k1: btcec.S256(),
types.KeySpecEccNistP256: elliptic.P256(),
types.KeySpecEccNistP384: elliptic.P384(),
types.KeySpecEccNistP521: elliptic.P521(),
}

const (
Expand Down

0 comments on commit 1e13649

Please sign in to comment.