cryptomator / cryptofs

Java Filesystem Provider with integrated encryption
GNU Affero General Public License v3.0
93 stars 35 forks source link

Check behaviour of old existing recovery dir #134

Open infeo opened 2 years ago

infeo commented 2 years ago

In 6a905dc0c24d7488eef50c3bdf42648f6f726f21 the name of the recovery dir was changed.

For a vault with an already existing old recovery dir, applying an orphan dir fix would create a new directory with the same dirId, effectivley linking two dirs together.

This is a rare edge case, nonetheless the effects should be investigated.