From 14ffb08e594c557cd18468429b9dd8d49d6b5984 Mon Sep 17 00:00:00 2001 From: Aldair Cruz <17972991+aldaircruz@users.noreply.github.com> Date: Fri, 23 Aug 2019 01:34:10 +0100 Subject: [PATCH] fix(regex): update Postgres Password, Sentry Secret and Sentry Superuser Password regular expressions for validation (#89) --- public/v2/apps/sentry.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/v2/apps/sentry.json b/public/v2/apps/sentry.json index 43aeb45..469313a 100644 --- a/public/v2/apps/sentry.json +++ b/public/v2/apps/sentry.json @@ -156,14 +156,14 @@ { "id": "$$cap_pg_pass", "label": "Postgres Password", - "description": "Password strength requeriments: Should contain at least one digit, one lower case, one upper case and at least 12 from the mentioned characters.", - "validRegex": "/^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{12,}$/" + "description": "Password strength minimal requeriments: Should contain at least one digit, one lower case, one upper case, one special character and at least 12 from the mentioned characters.", + "validRegex": "/^(?=.*[A-Z])(?=.*[\/!?@±#§$€%^&*()\\\\-_=+{}~+´ºª`^\"';:,<.>\\|\\]\\[])(?=.*[0-9])(?=.*[a-z]).{12,}$/" }, { "id": "$$cap_sentry_secret", "label": "Sentry Secret", - "description": "A secret key used for cryptographic functions within Sentry. This key should be unique and consistent across all running instances. You can generate a new secret key doing something like: docker run --rm sentry config generate-secret-key. Minimum length: 50 characters.", - "validRegex": "/^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{50,}$/" + "description": "A secret key used for cryptographic functions within Sentry. This key should be unique and consistent across all running instances. Password strength minimal requeriments: Should contain at least one digit, one lower case, one special character and at least 50 from the mentioned characters. You can generate a new secret key doing something like: docker run --rm sentry config generate-secret-key", + "validRegex": "/^(?=.*[\/!?@±#§$€%^&*()\\\\-_=+{}~+´ºª`^\"';:,<.>\\|\\]\\[])(?=.*[0-9])(?=.*[a-z]).{50,}$/" }, { "id": "$$cap_sentry_superuser_email", @@ -173,8 +173,8 @@ { "id": "$$cap_sentry_superuser_password", "label": "Sentry Superuser Password", - "description": "Password strength requeriments: Should contain at least one digit, one lower case, one upper case and at least 12 from the mentioned characters.", - "validRegex": "/^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{12,}$/" + "description": "Password strength minimal requeriments: Should contain at least one digit, one lower case, one upper case, one special character and at least 12 from the mentioned characters.", + "validRegex": "/^(?=.*[A-Z])(?=.*[\/!?@±#§$€%^&*()\\\\-_=+{}~+´ºª`^\"';:,<.>\\|\\]\\[])(?=.*[0-9])(?=.*[a-z]).{12,}$/" }, { "id": "$$cap_sentry_server_mail",