sove he problem DSA key support was removed in #1009
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.