summaryrefslogtreecommitdiff
path: root/patches/zano/0006-increase-max-password.patch
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2025-03-04 12:27:45 +0100
committerGitHub <noreply@github.com>2025-03-04 12:27:45 +0100
commitfdb16635cbfe1d45a3d5869c0a55ec871d912ea0 (patch)
treeec6703c28b4f09c6d10f56339db78a3cdb2c8b82 /patches/zano/0006-increase-max-password.patch
parent991a0d0c97bce6ae8671dc763dd03876dfa9ea8a (diff)
chore(deps): update zano digest to fe85ce2 (#116)
* chore(deps): update zano digest to fe85ce2 * rebase needed patches * fix integration tests, generate checksum --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
Diffstat (limited to 'patches/zano/0006-increase-max-password.patch')
-rw-r--r--patches/zano/0006-increase-max-password.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/zano/0006-increase-max-password.patch b/patches/zano/0006-increase-max-password.patch
new file mode 100644
index 0000000..83415b0
--- /dev/null
+++ b/patches/zano/0006-increase-max-password.patch
@@ -0,0 +1,25 @@
+From cefa69627a46ec6fd54e3c44e82f1d777e3c98c0 Mon Sep 17 00:00:00 2001
+From: Czarek Nakamoto <cyjan@mrcyjanek.net>
+Date: Thu, 12 Dec 2024 09:00:57 -0500
+Subject: [PATCH 6/7] increase max password
+
+---
+ src/currency_core/currency_format_utils.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/currency_core/currency_format_utils.cpp b/src/currency_core/currency_format_utils.cpp
+index 56316dd5..d92e5793 100644
+--- a/src/currency_core/currency_format_utils.cpp
++++ b/src/currency_core/currency_format_utils.cpp
+@@ -3653,7 +3653,7 @@ namespace currency
+ return true;
+ }
+ //------------------------------------------------------------------
+- #define PASSWORD_REGEXP R"([A-Za-z0-9~!?@#$%^&*_+|{}\[\]()<>:;"'\-=/.,]{0,40})"
++ #define PASSWORD_REGEXP R"([A-Za-z0-9~!?@#$%^&*_+|{}\[\]()<>:;"'\-=/.,]{0,2048})"
+ bool validate_password(const std::string& password)
+ {
+ // OLD: static const std::string allowed_password_symbols = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~!?@#$%^&*_+|{}[]()<>:;\"'-=\\/.,";
+--
+2.48.1
+