From d3af6f477c9588dadfe12e71127856d294040072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Fri, 18 Mar 2022 23:07:24 +0100 Subject: [PATCH] remmina set password already encrypts it. --- .docker/remmina/run-remmina.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.docker/remmina/run-remmina.sh b/.docker/remmina/run-remmina.sh index 026a322..a981780 100755 --- a/.docker/remmina/run-remmina.sh +++ b/.docker/remmina/run-remmina.sh @@ -28,13 +28,8 @@ echo "Parsed url in 'REMMINA_URL': proto:$proto username:$user host:$host" [[ "$proto" != "vnc" && "$proto" != "rdp" && "$proto" != "spice" ]] && err "Unsupported protocol $proto in connection url 'REMMINA_URL'" profile="$profile_dir"/"$proto".remmina -if [[ -n "$pw" ]]; then - encpw=$(echo "$pw" | remmina --encrypt-password | grep Encrypted | sed 's/Encrypted password: //') - remmina --set-option password="$encpw" --update-profile "$profile" -else - remmina --set-option password= --update-profile "$profile" -fi remmina --set-option username="$user" --update-profile "$profile" +remmina --set-option password="$pw" --update-profile "$profile" remmina --set-option server="$host" --update-profile "$profile" # remmina --set-option window_maximize=1 --update-profile "$profile"