Skip to content

Commit

Permalink
Set RSA explicitly | refs #38669
Browse files Browse the repository at this point in the history
Since openssh 9.5p1 the default type is ed25519 which is not yet
supported by MirisManager.

To avoid incompatibility and as RSA 4096 bits is secure we stay on RSA
for now.

Ref:

    openssh/openssh-portable@e1c284d
  • Loading branch information
ubifred authored and sdiemer committed Oct 24, 2023
1 parent 1491af7 commit 81e41d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm_client/lib/ssh_tunnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_ssh_public_key():
else:
logger.info('Creating new SSH key: "%s".', ssh_key_path)
p = subprocess.Popen(
['ssh-keygen', '-b', '4096', '-f', str(ssh_key_path), '-N', ''],
['ssh-keygen', '-t', 'rsa', '-b', '4096', '-f', str(ssh_key_path), '-N', ''],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT
Expand Down

0 comments on commit 81e41d4

Please sign in to comment.