hbons / SparkleShare

Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
https://sparkleshare.org
Other
4.88k stars 577 forks source link

SparkleShare does not work anymore with bitbucket #1999

Closed inolil closed 1 year ago

inolil commented 1 year ago

Hi,

What happened:

After many years without any problems, SparkleShare does not work anymore with my bitbucket repository.

I am using SparkleShare to sync a shared folder between a windows laptop and a linux one.

Atlassian announced a change about ssh keys : https://bitbucket.org/blog/ssh-host-key-changes?utm_source=alert-email&utm_medium=email&utm_campaign=ssh-key-rotation_EML-15880&jobid=106086290&subid=1531456283

Since this moment, SparkleShare stopped to work.

On Linux, I followed Atlassian instructions and Git work. I checked that /home/me/.config/org.sparkleshare.SparkleShare/ssh/known_hosts contains bitbucket.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPIQmuzMBuKdWeF4+a2sjSSpBK0iqitSQ+5BM9KhpexuGt20JpTVM7u5BDZngncgrqDMbWdxMWWOGtZ9UgbqgZE= bitbucket.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIazEu89wgQZ4bqs3d63QSMzYVa0MuJ2e2gKTKqu+UUO

But SparkleShare does not work. "Not everything synced". "Can't reach the host".

On Windows, I don't understand how SparkleShare could work because git is not installed, nor putty or openSSH. But it worked until june 20. Now, SparkleShare says : "Host's identity has changed" and do not synchronized. I checked that c:\users\me.ssh\known_hosts contains bitbucket.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPIQmuzMBuKdWeF4+a2sjSSpBK0iqitSQ+5BM9KhpexuGt20JpTVM7u5BDZngncgrqDMbWdxMWWOGtZ9UgbqgZE= bitbucket.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIazEu89wgQZ4bqs3d63QSMzYVa0MuJ2e2gKTKqu+UUO

I attach log files.

Linux = Linux Mint 20.3, SparkleShare 3.28.0 Windows = Windows 10 Pro, SparkleShare 1.4.0

Thank you for your help Regards

linux_log_2023-07-31.6.txt windows_debug_log_2023-07-31.1.txt

hbons commented 1 year ago

Fixed by 63fe3710e50ac71b115d500c7e1e9b59b6092ba8

inolil commented 1 year ago

Thank you for your answer, I manually edited bitbucket.xml as in your commit, then restarted SparkleShare. But same result... log_2023-08-14.2.txt

/usr/share/sparkleshare/presets/bitbucket.xml :

`<?xml version="1.0" encoding="UTF-8"?>

Bitbucket Free code hosting for Git and Mercurial bitbucket.png Git 4c:eb:19:11:0d:d6:19:65:7b:6a:40:8a:fb:b7:4d:51:81:a1:7a:07:74:4a:b5:22:0c:91:86:42:74:88:9b:bc
ssh://git@bitbucket.org/
/username/project True

`

inolil commented 11 months ago

After a linux distrib upgrade, everything works fine.