diff --git a/lib/core/configuration.dart b/lib/core/configuration.dart index 0cdfc3727..c00b648a6 100644 --- a/lib/core/configuration.dart +++ b/lib/core/configuration.dart @@ -245,7 +245,10 @@ class Configuration { ) async { _logger.info('Start decryptAndSaveSecrets'); validatePreVerificationStateCheck( - attributes, password, getEncryptedToken()); + attributes, + password, + getEncryptedToken(), + ); _logger.info('state validation done'); final kek = await CryptoUtil.deriveKey( utf8.encode(password), @@ -263,7 +266,7 @@ class Configuration { Sodium.base642bin(attributes.keyDecryptionNonce), ); } catch (e) { - _logger.severe('master-key failed, incorrect password?'); + _logger.severe('master-key failed, incorrect password?', e); throw Exception("Incorrect password"); } _logger.info("master-key done"); diff --git a/pubspec.yaml b/pubspec.yaml index ad635b170..401ff506b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: ente photos application # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.6.28+358 +version: 0.6.29+359 environment: sdk: ">=2.10.0 <3.0.0"