From e9c57a9ed9a6be5e51fd323fc7e0bfd071ba97a5 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Wed, 12 Jun 2024 22:11:08 +0200 Subject: [PATCH] Remove support for generating EC keys over non-standard curve secp256k1 --- .../org/pgpainless/key/generation/type/ecc/EllipticCurve.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/type/ecc/EllipticCurve.kt b/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/type/ecc/EllipticCurve.kt index d9b51cb3..c3d0e2b2 100644 --- a/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/type/ecc/EllipticCurve.kt +++ b/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/type/ecc/EllipticCurve.kt @@ -18,7 +18,6 @@ enum class EllipticCurve(val curveName: String, val bitStrength: Int) { _P521( "secp521r1", 521), // secp521r1 is equivalent to P-521, see https://tools.ietf.org/search/rfc4492#page-32 - _SECP256K1("secp256k1", 256), _BRAINPOOLP256R1("brainpoolP256r1", 256), _BRAINPOOLP384R1("brainpoolP384r1", 384), _BRAINPOOLP512R1("brainpoolP512r1", 512),