Description of problem: When creating an ssh authorized_keys file prior to executing the push-pem command, the geo-rep setup inserts an extra space before the "ssh-rsa" label. This gets flagged by an enterprise customer's security scan as a security violation. Version-Release number of selected component (if applicable): RHGS 3.4 How reproducible: Work through the geo-replication setup Steps to Reproduce: 1. 2. 3. Actual results: There are two spaces between 'command="/usr/libexec/glusterfs/gsyncd"' and 'ssh-rsa' Expected results: There should only be one space. Additional info:
Upstream Patch : https://review.gluster.org/#/c/glusterfs/+/22246
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:3249