From b4089ab2f44962814a82735561fb8541bcb8266f Mon Sep 17 00:00:00 2001 From: Christian Tosta Date: Mon, 9 Jun 2025 11:55:15 -0300 Subject: [PATCH] =?UTF-8?q?Retira=20caracteres=20inv=C3=A1lidos=20da=20sen?= =?UTF-8?q?ha?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sig-installer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sig-installer b/sig-installer index 3187b98..bb03203 100755 --- a/sig-installer +++ b/sig-installer @@ -3,7 +3,7 @@ set -euo pipefail self=$(basename ${0}) self=${self/.*bash} -version=2506.2 +version=2506.3 # == Funções Gerais ============================================================================== # @@ -645,7 +645,7 @@ function produto.install { # Create/Alter PostgreSQL user local _dbuser="openerp" - local _password=$(openssl rand -base64 32 | sed 's/\//|/g') + local _password=$(openssl rand -base64 32 | sed 's/[/+-_=]//g') ${ui}.status info $"Criando/Atualizando usuário do banco de dados [%s]" ${PRODUTO} sudo -iu postgres \ psql -c \ @@ -772,7 +772,7 @@ function produto.install { # -- Configuração do banco de dados PostgreSQL local _db_name=${PRODUTO} local _db_user=${_db_name} - local _db_pass=$(openssl rand -base64 32 | sed 's/\//|/g') + local _db_pass=$(openssl rand -base64 32 | sed 's/[/+-_=]//g') ${ui}.status info $"Configurando o banco de dados [%s]" ${_db_name}} sudo -iu postgres \ psql -c \