From 9efcd7af261506b7b098297ffd2d77cf6b357f0b Mon Sep 17 00:00:00 2001 From: Gravit Date: Fri, 25 Sep 2020 17:19:57 +0700 Subject: [PATCH] [FIX] secp256k1 #414 --- .../src/main/java/pro/gravit/utils/helper/SecurityHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LauncherCore/src/main/java/pro/gravit/utils/helper/SecurityHelper.java b/LauncherCore/src/main/java/pro/gravit/utils/helper/SecurityHelper.java index 06bf3aeb..70d11eba 100644 --- a/LauncherCore/src/main/java/pro/gravit/utils/helper/SecurityHelper.java +++ b/LauncherCore/src/main/java/pro/gravit/utils/helper/SecurityHelper.java @@ -26,7 +26,7 @@ public final class SecurityHelper { public static final String EC_ALGO = "EC"; // EC Algorithm constants - public static final String EC_CURVE = "secp256k1"; + public static final String EC_CURVE = "secp256r1"; public static final String EC_SIGN_ALGO = "SHA256withECDSA"; public static final String EC_CIPHER_ALGO = "ECIES"; public static final int TOKEN_LENGTH = 16;