From 2e27bbc45d44f0473757b8b6bc59cbfd4cebfe6c Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Sun, 13 Mar 2016 17:01:35 +0100 Subject: [PATCH] Stop the repair process if the filelists could not be decrypted, most likely this is caused by a wrong password --- Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs b/Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs index 5cadeccc3..751e6ccd2 100644 --- a/Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs +++ b/Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs @@ -230,6 +230,9 @@ namespace Duplicati.Library.Main.Operation m_result.AddWarning(string.Format("Failed to process file: {0}", entry.Name), ex); if (ex is System.Threading.ThreadAbortException) throw; + + if (ex is System.Security.Cryptography.CryptographicException) + throw; } //Make sure we write the config