Skip to content

Conversation

@manvirsingh01
Copy link

OpenSSH 10.0 #1004

Here is the description of the changes:

What I changed: I updated the SSH key generation command in the relevant Python file to use the RSA algorithm instead of the deprecated DSA algorithm.

How I did it:

Located the file: I found the file src/jarabe/intro/window.py which contained the code for generating SSH keys.
Modified the code: I changed line 83 from: cmd = "ssh-keygen -q -t dsa -f %s -C '' -N ''" % (keypath, ) to: cmd = "ssh-keygen -q -t rsa -f %s -C '' -N ''" % (keypath, )
Refused other changes: I verified that other occurrences of "dsa" in the codebase were only inside translation files (like po/fy.po), so I left them alone as they were not related to the code logic.
This ensures that Sugar will generate keys compatible with OpenSSH 10.0.

@quozl
Copy link
Contributor

quozl commented Dec 7, 2025

Not sufficient.

@quozl quozl closed this Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants