Seadrive client, key lost on encrypted library

Hi,
We encounter a problem on Seadrive client.
Sometimes and without any actions the encrypted library password get removed and need to be set again. This can occur multiple times on a client.
There is no errors on logs and on server.
Logs on client when the password of the library get removed :

[09/02/22 10:19:16] Transfer repo '********': ('normal', 'commit') --> ('normal', 'fs')
[09/02/22 10:19:16] Transfer repo '********': ('normal', 'commit') --> ('normal', 'fs')
[09/02/22 10:19:16] Transfer repo '********': ('normal', 'check') --> ('normal', 'commit')
[09/02/22 10:19:16] Transfer repo '********': ('normal', 'commit') --> ('normal', 'fs')
[09/02/22 10:19:16] Transfer repo '********': ('normal', 'fs') --> ('finished', 'finished')
[09/02/22 10:19:16] Repo 'Ma bibliothèque' sync state transition from 'downloading' to 'load repo'.
[09/02/22 10:19:16] Repo 'Ma bibliothèque' sync state transition from 'load repo' to 'synchronized'.
[09/02/22 10:19:17] Repo 'Ma bibliothèque' sync state transition from 'synchronized' to 'committing'.
[09/02/22 10:19:17] All events are processed for repo ********-****-****-****-************.
[09/02/22 10:19:17] Repo 'Ma bibliothèque' sync state transition from 'committing' to 'synchronized'.
[09/02/22 10:19:41] Transfer repo '********': ('normal', 'fs') --> ('finished', 'finished')
[09/02/22 10:19:41] Repo 'Clients-Prospects' sync state transition from 'downloading' to 'load repo'.
[09/02/22 10:19:41] Repo 'Clients-Prospects' sync state transition from 'load repo' to 'synchronized'.
[09/02/22 10:23:24] Transfer repo '********': ('normal', 'fs') --> ('finished', 'finished')
[09/02/22 10:23:24] Repo 'Commun' sync state transition from 'downloading' to 'load repo'.
[09/02/22 10:23:24] Repo 'Commun' sync state transition from 'load repo' to 'synchronized'.
[09/02/22 10:23:24] All repo fs trees are loaded.
[09/02/22 10:24:50] Process event deleted newly repo Partagé avec des groupes/Clients-Prospects - Raccourci.lnk.
[09/02/22 10:29:39] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:39] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:39] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:39] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:41] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:41] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:41] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:41] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:44] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:44] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:44] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:44] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:46] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:46] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:46] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:46] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:47] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:47] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:47] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:47] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:49] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:49] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:49] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:49] The current repo is encrypted, please enter your password and try again.
[09/02/22 10:29:51] The current repo is encrypted, please enter your password and try again.

Someone encountered this problem or finded a solution ?

Hi,

We’ve met the same problem with SeaDrive.
The problem never seemed to have occurred with the Seafile Client.
I was wondering if it could be a consequence of a Windows update…

Does anyone have a clue on this matter ?

The cause should be that the internal metadata for that library was removed on the client by antivirus software. When SeaDrive detects that it automatically un-sync and re-sync the library. But the current logic doesn’t reserver the keys for encrypted libraries. We’ll fix that in 3.0.14.

Thanks for your answer @Jonathan.
But last time I checked (now), SeaDrive was already in version 3.0.14 :slightly_smiling_face:

The issue is fixed in 3.0.14, in the sense that the keys will be kept in the next resync. But you have to enter passwords again for the libraries whose keys are already lost.

OK, great, thanks for the explanation !