diff --git a/lib/core/configuration.dart b/lib/core/configuration.dart index 0cdfc37277a87880a907c08ed9073689113f8d65..c00b648a6aa001d9e7d76176120cb8874ff70686 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 ad635b1708b628b8cd8a82d8d3d8267e46e3b589..401ff506b9c03546d4b3ca9bcabe703281b9c224 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"