diff --git a/src/main/java/org/cryptomator/common/recovery/MasterkeyService.java b/src/main/java/org/cryptomator/common/recovery/MasterkeyService.java index a9f311b1d..5f89d3611 100644 --- a/src/main/java/org/cryptomator/common/recovery/MasterkeyService.java +++ b/src/main/java/org/cryptomator/common/recovery/MasterkeyService.java @@ -70,12 +70,12 @@ public final class MasterkeyService { .filter(p -> excludedFilenames.stream().noneMatch(p.toString()::endsWith)) .findFirst(); if (c9rFile.isEmpty()) { - LOG.info("No *.c9r file found in {}", vaultPath); + LOG.info("Unable to detect Crypto scheme: No *.c9r file found in {}", vaultPath); return Optional.empty(); } return determineScheme(c9rFile.get(), masterkey); // } catch (IOException e) { - LOG.debug("Failed to inspect vault", e); + LOG.info("Unable to detect Crypto scheme: Failed to inspect vault", e); return Optional.empty(); } } @@ -87,7 +87,7 @@ public final class MasterkeyService { .filter(s -> isDecryptable(header, new Masterkey(masterkey), s)) .findFirst(); } catch (IOException e) { - LOG.info("Failed to decrypt .c9r file", e); + LOG.info("Unable to detect Crypto scheme: Failed to decrypt .c9r file", e); return Optional.empty(); } }