|
|
50dc83 |
From 1df830953b9a09404f9ca6a0539172e9f23ecbf4 Mon Sep 17 00:00:00 2001
|
|
|
50dc83 |
From: Sunny Kumar <sunkumar@redhat.com>
|
|
|
50dc83 |
Date: Wed, 17 Apr 2019 15:13:12 +0530
|
|
|
50dc83 |
Subject: [PATCH 112/124] geo-rep : fix incorrectly formatted authorized_keys
|
|
|
50dc83 |
|
|
|
50dc83 |
Problem : While Geo-rep setup when creating an ssh authorized_keys
|
|
|
50dc83 |
the geo-rep setup inserts an extra space before the "ssh-rsa" label.
|
|
|
50dc83 |
This gets flagged by an enterprise customer's security scan as a
|
|
|
50dc83 |
security violation.
|
|
|
50dc83 |
|
|
|
50dc83 |
Solution: Remove extra space in GSYNCD_CMD & TAR_CMD.
|
|
|
50dc83 |
|
|
|
50dc83 |
>Upstream patch: https://review.gluster.org/#/c/glusterfs/+/22246/
|
|
|
50dc83 |
>Change-Id: I956f938faef0e0883703bbc337b1dc2770e4a921
|
|
|
50dc83 |
>fixes: bz#1679401
|
|
|
50dc83 |
>Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
|
|
|
50dc83 |
|
|
|
50dc83 |
BUG: 1671862
|
|
|
50dc83 |
Change-Id: I194a2bddcf2ee9b8286b204f8c4da5c480a528b3
|
|
|
50dc83 |
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
|
|
|
50dc83 |
Reviewed-on: https://code.engineering.redhat.com/gerrit/168144
|
|
|
50dc83 |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
50dc83 |
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
|
50dc83 |
---
|
|
|
50dc83 |
geo-replication/src/peer_georep-sshkey.py.in | 4 ++--
|
|
|
50dc83 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
50dc83 |
|
|
|
50dc83 |
diff --git a/geo-replication/src/peer_georep-sshkey.py.in b/geo-replication/src/peer_georep-sshkey.py.in
|
|
|
50dc83 |
index 2196fd7..58696e9 100644
|
|
|
50dc83 |
--- a/geo-replication/src/peer_georep-sshkey.py.in
|
|
|
50dc83 |
+++ b/geo-replication/src/peer_georep-sshkey.py.in
|
|
|
50dc83 |
@@ -30,8 +30,8 @@ from prettytable import PrettyTable
|
|
|
50dc83 |
|
|
|
50dc83 |
SECRET_PEM = "@GLUSTERD_WORKDIR@/geo-replication/secret.pem"
|
|
|
50dc83 |
TAR_SSH_PEM = "@GLUSTERD_WORKDIR@/geo-replication/tar_ssh.pem"
|
|
|
50dc83 |
-GSYNCD_CMD = 'command="@GLUSTERFS_LIBEXECDIR@/gsyncd" '
|
|
|
50dc83 |
-TAR_CMD = 'command="tar ${SSH_ORIGINAL_COMMAND#* }" '
|
|
|
50dc83 |
+GSYNCD_CMD = 'command="@GLUSTERFS_LIBEXECDIR@/gsyncd" '
|
|
|
50dc83 |
+TAR_CMD = 'command="tar ${SSH_ORIGINAL_COMMAND#* }" '
|
|
|
50dc83 |
COMMON_SECRET_FILE = "@GLUSTERD_WORKDIR@/geo-replication/common_secret.pem.pub"
|
|
|
50dc83 |
|
|
|
50dc83 |
|
|
|
50dc83 |
--
|
|
|
50dc83 |
1.8.3.1
|
|
|
50dc83 |
|