Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
salt.18607
set-passphrase-for-salt-ssh-keys-to-empty-strin...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File set-passphrase-for-salt-ssh-keys-to-empty-string-293.patch of Package salt.18607
From 49ff503626c8476afe795889c1ccf8ef248c1648 Mon Sep 17 00:00:00 2001 From: Alexander Graul <mail@agraul.de> Date: Thu, 5 Nov 2020 16:54:44 +0100 Subject: [PATCH] Set passphrase for salt-ssh keys to empty string (#293) Since the cmd is not passed to a shell anymore, the "" are taken literally and not as an empty string. Bugzilla report: https://bugzilla.suse.com/show_bug.cgi?id=1178485 --- salt/client/ssh/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/client/ssh/shell.py b/salt/client/ssh/shell.py index 27aba7b382..27ab9f4f1b 100644 --- a/salt/client/ssh/shell.py +++ b/salt/client/ssh/shell.py @@ -44,7 +44,7 @@ def gen_key(path): ''' Generate a key for use with salt-ssh ''' - cmd = ["ssh-keygen", "-P", '""', "-f", path, "-t", "rsa", "-q"] + cmd = ["ssh-keygen", "-P", "", "-f", path, "-t", "rsa", "-q"] if not os.path.isdir(os.path.dirname(path)): os.makedirs(os.path.dirname(path)) subprocess.call(cmd) -- 2.28.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor