Keyring files changing

A curiosity: I back up my preferences folder (without the cache) with Rclone, and I noticed that the keyring files change almost every time Duplicacy backups run.

Should not they be fixed? Why are they changed? I don’t know in depth the working of Windows crypt api…

1 Like

I guess that is because Duplicacy attempts to save the same password on every run and each time Windows crypt api would use a different salt.

The fix is to read the password first and only save it if the one to be saved is different from the old one.

1 Like

Fixed by Do not update the Windows keyring file if the password remains unchanged · gilbertchen/duplicacy@9d10cc7 · GitHub

1 Like