diff --git a/app/lib/common-libs/constants.ts b/app/lib/common-libs/constants.ts
index 3c501ab4c7ee6eb182d9294e3fc7eda581b2422a..081b25041590552d22dc475cd619e5bced4a52a0 100755
--- a/app/lib/common-libs/constants.ts
+++ b/app/lib/common-libs/constants.ts
@@ -18,7 +18,7 @@ const GT = "g1-test";
 const CURRENCY = "[a-zA-Z0-9-_ ]{2,50}";
 const BASE58 = "[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]+";
 const PUBKEY =
-  "[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}";
+  "[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{40,44}";
 const SIGNATURE = "[A-Za-z0-9+\\/=]{87,88}";
 const USER_ID = "[A-Za-z0-9_-]{2,100}";
 const INTEGER = "(0|[1-9]\\d{0,18})";
diff --git a/app/modules/bma/lib/constants.ts b/app/modules/bma/lib/constants.ts
index adb86d061c9dea7a88054b59092e4058264be526..6e47402a82f947d57ffcbd3f6ec59897dc123ba4 100644
--- a/app/modules/bma/lib/constants.ts
+++ b/app/modules/bma/lib/constants.ts
@@ -23,7 +23,7 @@ export const BMAConstants = {
   PORT_START: 15000,
   UPNP_INTERVAL: 300,
   UPNP_TTL: 600,
-  PUBLIC_KEY: /^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$/,
+  PUBLIC_KEY: /^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{40,44}$/,
   SHA256_HASH: /^[A-F0-9]{64}$/,
 
   ERRORS: {