-
-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SparkleShare does not work with hosts that do not supply RSA keys #1962
Comments
As a side note, I tried building it via the instructions found on https://github.com/hbons/org.sparkleshare.SparkleShare - that doesn't work, though:
|
I question why your IT people claim RSA is deprecated. (but thats neither here nor there) In any case there is an easy work around solution that can be done once you manage to install sparkleshare. (I was able to install it via flatpak by running the command on flathub, https://www.flathub.org/apps/details/org.sparkleshare.SparkleShare ) Now on to making Sparkleshare right now use ed25519. In Linux when you navigate to ${HOME}/.config/org.sparkleshare.SparkleShare/ssh You will notice thats where Sparkleshare puts the ssh key that is used and Sparkleshare really only checks that a *.key and *.key.pub file exist there. So its entirely possible to just over write those files with your ed25519 key there. (or other identity file there that your organization opts to use) And this works in linux. I tested it. Works like a boss. May be one day we will need to have sparkleshare move to ed25519 or some other key generation method and I may propose that when its a possibility. (the smaller key size is a nice feature and it seems this is what all the cool kids are using.) in windows its located under C:\Users\USERNAME\AppData\Roaming\sparkleshare |
when I manually update the msys binarioes (I just dumped all the binaries that the git sdk compiled into the bin folder of sparkleshare's bin folder) #1987 it also becomes able to use ed25519 keys. |
I use SparkleShare to sync some folders with our work gitlab. Ever since our it staff updated their server some months ago, I couldn't get SparkleShare to work again. I finally found some time to investigate... and it seems that SparkleShare does not work, when the server doesn't use RSA anymore. The IT folks decided to drop RSA support in favour of ECDAS and ED25519, effectively breaking my SparkleShare setup, but are reluctant to re-introduce an algorithm they consider at least deprecated, if not insecure.
I briefly checked the config files, but it seems that RSA usage is hardcoded into SparkleShare's code.
SparkleShare's logs:
Retrieving host keys manually:
The RSA algorithm seems to be hardcoded into SSHAuthenticationInfo.cs and SSHFetcher.cs - so I can't configure my way out of this. What would be the best way to introduce support for more key types? I'd argue for something in a config file, but there probably have been reasons to not do this in the first place, right?
The text was updated successfully, but these errors were encountered: