Error #1: File format not support. (Android, iOS)
Unable to open File
Unknown error while trying to open file.
FormatException: Filter error, bad data
But other KeePass App Like KeePassDX can open the kdbx file, here is something about it:
Version: KeePass 2 - KDBX3.1
Compression: Gzip
Encryption algorithm: Rijndael (AES)
Key derivation function: AES
And the information of iOS device:
OS: ios 15.0.1
App Info: AuthPass (1.9.4+1872) [design.codeux.authpass.ios]
Device: {name: iPad, model: iPad, systemName: iOS, systemVersion: 15.0.1, localizedModel: iPad, utsname: {release: 21.0.0, version: Darwin Kernel Version 21.0.0: Sun Aug 9 20:55:51 PDT 2021; root:xnu-8019.12.5~1/RELEASE_ARM64_T8020, machine: iPad8,11, sysname: Darwin, nodename: iPad}}
And the log file on Android:
2021-10-09 18:06:21.999106 INFO logging_utils - Running in isolate main (804587422) main (804587422)
2021-10-09 18:06:22.000329 INFO main - targetPlatform: null
2021-10-09 18:06:22.000589 INFO main - Initialized logger. (android, OPR1.170623.032) 2
2021-10-09 18:06:22.607149 FINE simple_json_persistence - Deserializing AppData
2021-10-09 18:06:22.634497 FINE persistence_io - Writing into File: '/data/user/0/design.codeux.authpass/app_flutter/AppData.json'
2021-10-09 18:06:22.637888 FINE main - Building AuthPass App state. route: /
2021-10-09 18:06:22.641904 FINE authpass_cloud_bloc - Creating AuthPassCloudBloc with FeatureFlags {
authpassCloud=true,
authpassCloudUri=https://cloud.authpass.app/,
}
2021-10-09 18:06:22.643108 FINEST authpass_cloud_bloc - Loading token.
2021-10-09 18:06:22.658172 FINER format_utils - Initialized with locale zh
2021-10-09 18:06:22.685418 FINE main - initialRoute: /
2021-10-09 18:06:22.686356 FINEST main - didPush
2021-10-09 18:06:22.707117 FINE main - Building AuthPass App state. route: /
2021-10-09 18:06:22.707331 FINE main - appData.themeFontSizeFactor: null
2021-10-09 18:06:22.707429 FINE main - appData.themeFontSizeFactor: null
2021-10-09 18:06:22.709065 FINER format_utils - Initialized with locale zh
2021-10-09 18:06:22.737125 FINE onboarding - height: 821.3903408197274
2021-10-09 18:06:22.739436 FINE onboarding - with: 462.03206671109666
2021-10-09 18:06:22.741384 FINE onboarding - with: 462.03206671109666
2021-10-09 18:06:23.009040 FINE analytics - Got PackageInfo: AuthPass, 1657, design.codeux.authpass - UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; MI 5s Plus; zh-cn) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36
2021-10-09 18:06:23.041330 FINEST biometric_storage - getting storage. was created: true
2021-10-09 18:06:23.081608 FINE file_picker_writable - Native Log: debug: main onNewIntent(null)
2021-10-09 18:06:23.082177 FINE file_picker_writable - Native Log: debug: main Got method call: init
2021-10-09 18:06:23.086666 FINER analytics - (ga) screen(/)
2021-10-09 18:06:23.087111 FINEST analytics - (ga) timing(startup, 687, category: startup, label: startup firstRun)
2021-10-09 18:06:23.087376 FINER analytics - (ga) screen(/onboarding)
2021-10-09 18:06:23.087503 FINEST analytics - (ga) Registering analytics tracker. 7676d3e3-f7c2-4184-a618-1ec41f192345
2021-10-09 18:06:23.087928 FINER analytics - (ga) event(track, launch, , null) - parameters: {cd4: light}
2021-10-09 18:06:23.111420 FINER analytics - (ga) event(track, init, , 0) - parameters: {cd2: null, cd3: MI 5s Plus}
2021-10-09 18:06:23.112483 FINE main - Building AuthPass App state. route: /
2021-10-09 18:06:23.112678 FINE main - appData.themeFontSizeFactor: null
2021-10-09 18:06:23.112773 FINE main - appData.themeFontSizeFactor: null
2021-10-09 18:06:23.113715 FINER format_utils - Initialized with locale zh
2021-10-09 18:06:23.114957 FINE onboarding - height: 821.3903408197274
2021-10-09 18:06:23.115321 FINE onboarding - with: 462.03206671109666
2021-10-09 18:06:23.115907 FINE onboarding - with: 462.03206671109666
2021-10-09 18:06:23.197788 FINE logging_utils - Logging into File: '/data/user/0/design.codeux.authpass/cache/logs/app.log.txt'
2021-10-09 18:07:37.172900 FINEST main - didPush
2021-10-09 18:07:37.173713 FINER analytics - (ga) screen(/selectFile)
2021-10-09 18:07:37.176089 FINER analytics - (ga) event(onboarding, click, label=onboardingExisting, null) - parameters: {}
2021-10-09 18:07:37.182036 FINER authpass.select_file_screen - didChangeDependencies false
2021-10-09 18:07:37.238504 FINER future_task_state_mixin - Running task 快速解锁文件
2021-10-09 18:07:37.238789 FINE future_task_state_mixin - proxy: label changed to Quick unlocking files ... (null)
2021-10-09 18:07:37.239311 FINER authpass.select_file_screen - opening quick unlock. 1 true true
2021-10-09 18:07:37.239555 FINER kdbx_bloc - Checking quick unlock.
2021-10-09 18:07:37.239954 INFO future_task_state_mixin - Initialized task with Quick unlocking files ...
2021-10-09 18:07:37.240410 INFO main - KdbxBloc updated.
2021-10-09 18:07:37.253182 FINER kdbx_bloc - supportBiometricKeyStore: CanAuthenticateResponse.success
2021-10-09 18:07:37.303571 FINEST biometric_storage - getting storage. was created: true
2021-10-09 18:07:37.308611 FINE authpass.select_file_screen - Generating progress dialog with label Quick unlocking files ...
2021-10-09 18:07:37.317745 FINER kdbx_bloc - No quick unlock available.
2021-10-09 18:07:37.318459 FINER analytics - (ga) event(track, quickUnlock, , 0) - parameters: {}
2021-10-09 18:07:37.318934 INFO authpass.select_file_screen - opened 0 files with quick unlock. false
2021-10-09 18:07:37.319195 FINE future_task_state_mixin - Task 快速解锁文件 completed. 0 queued tasks remaining.
2021-10-09 18:07:38.639245 FINEST authpass.select_file_screen - contains: /data/user/0/design.codeux.authpass/app_flutter
2021-10-09 18:07:38.639791 FINEST authpass.select_file_screen - contains: /data/user/0/design.codeux.authpass/app_flutter
2021-10-09 18:07:38.642364 FINE authpass.select_file_screen - No kdbx files found, open FilePickerWritable
2021-10-09 18:07:38.642784 FINEST file_picker_writable - openFilePicker()
2021-10-09 18:07:38.656772 FINE file_picker_writable - Native Log: debug: main Got method call: openFilePicker
2021-10-09 18:07:44.332091 FINE file_picker_writable - Native Log: debug: main onActivityResult(40832, -1, content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/k.kdbx)
2021-10-09 18:07:44.343775 FINE file_picker_writable - Native Log: debug: main Got result content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/k.kdbx
2021-10-09 18:07:44.413141 FINE file_picker_writable - Native Log: debug: DefaultDispatcher-worker-2 Display Name: k.kdbx
2021-10-09 18:07:44.447341 FINE file_picker_writable - Native Log: debug: DefaultDispatcher-worker-2 Copy file content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/k.kdbx to /data/user/0/design.codeux.authpass/cache/k.kdbx8704221860783084461.tmp
2021-10-09 18:07:44.499127 FINEST main - didPush
2021-10-09 18:07:44.500211 FINER analytics - (ga) screen(/credentials)
2021-10-09 18:07:44.524907 FINEST authpass.select_file_screen - Precaching...
2021-10-09 18:07:44.570209 FINEST file_picker_writable - readFile()
2021-10-09 18:07:44.590647 FINE file_picker_writable - Native Log: debug: main Got method call: readFileWithIdentifier
2021-10-09 18:07:44.697349 FINE file_picker_writable - Native Log: debug: DefaultDispatcher-worker-2 Display Name: k.kdbx
2021-10-09 18:07:44.698951 FINE file_picker_writable - Native Log: debug: DefaultDispatcher-worker-2 Copy file content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/k.kdbx to /data/user/0/design.codeux.authpass/cache/k.kdbx5264134909582225249.tmp
2021-10-09 18:07:44.721671 FINEST file_source_local - Got uri: content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/k.kdbx
2021-10-09 18:07:44.841275 FINER format_utils - Initialized with locale zh
2021-10-09 18:07:45.868397 FINEST file_picker_writable - openFilePicker()
2021-10-09 18:07:45.886812 FINE file_picker_writable - Native Log: debug: main Got method call: openFilePicker
2021-10-09 18:07:46.318938 FINER format_utils - Initialized with locale zh
2021-10-09 18:07:52.041730 FINE file_picker_writable - Native Log: debug: main onActivityResult(40832, -1, content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/liraky.kpsha)
2021-10-09 18:07:52.075416 FINE file_picker_writable - Native Log: debug: main Got result content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/liraky.kpsha
2021-10-09 18:07:52.077952 FINE file_picker_writable - Native Log: debug: DefaultDispatcher-worker-2 Display Name: liraky.kpsha
2021-10-09 18:07:52.079937 FINE file_picker_writable - Native Log: debug: DefaultDispatcher-worker-2 Copy file content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/liraky.kpsha to /data/user/0/design.codeux.authpass/cache/liraky.kpsha2033605618803494348.tmp
2021-10-09 18:07:52.938621 FINER format_utils - Initialized with locale zh
2021-10-09 18:08:14.889120 FINER format_utils - Initialized with locale zh
2021-10-09 18:08:15.683297 FINER format_utils - Initialized with locale zh
2021-10-09 18:08:17.645011 WARNING kdbx.format - Unable to parse key file as hex or XML, use as is.
### FormatException: FormatException: Unexpected extension byte (at offset 11)
#0 _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1783)
#1 Utf8Decoder.convert (dart:convert/utf.dart:322)
#2 Utf8Codec.decode (dart:convert/utf.dart:63)
#3 new KeyFileCredentials (package:kdbx/src/kdbx_format.dart:160)
#4 new Credentials.composite (package:kdbx/src/kdbx_format.dart:43)
#5 _CredentialsScreenState._tryUnlock (package:authpass/ui/screens/select_file_screen.dart:1009)
<asynchronous suspension>
#6 _CredentialsScreenState.build.<anonymous closure> (package:authpass/ui/screens/select_file_screen.dart:977)
<asynchronous suspension>
2021-10-09 18:08:18.122605 FINER kdbx_bloc - {type: FileSourceLocal, uuid: 7fb7cbbb-92e3-43b7-8fa2-deccbfd7eab1, databaseName: null, displayPath: content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/k.kdbx, filePickerIdentifier: {"path":"/data/user/0/design.codeux.authpass/cache/k.kdbx8704221860783084461.tmp","identifier":"content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/k.kdbx","persistable":"true","uri":"content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/k.kdbx","fileName":"k.kdbx"}, local: internal} got from FileContentSource.memoryCache
2021-10-09 18:08:18.123066 FINER kdbx_bloc - reading kdbx file ...
2021-10-09 18:08:18.123334 FINER kdbx.header - Reading version: 3.1
2021-10-09 18:08:18.123740 FINEST kdbx.header - Reading header HeaderFields.CipherID (2) (size: 16)}
2021-10-09 18:08:18.123958 FINEST kdbx.header - Reading header HeaderFields.CompressionFlags (3) (size: 4)}
2021-10-09 18:08:18.124091 FINEST kdbx.header - Reading header HeaderFields.MasterSeed (4) (size: 32)}
2021-10-09 18:08:18.124225 FINEST kdbx.header - Reading header HeaderFields.TransformSeed (5) (size: 32)}
2021-10-09 18:08:18.124392 FINEST kdbx.header - Reading header HeaderFields.TransformRounds (6) (size: 8)}
2021-10-09 18:08:18.124520 FINEST kdbx.header - Reading header HeaderFields.EncryptionIV (7) (size: 16)}
2021-10-09 18:08:18.124640 FINEST kdbx.header - Reading header HeaderFields.ProtectedStreamKey (8) (size: 32)}
2021-10-09 18:08:18.124788 FINEST kdbx.header - Reading header HeaderFields.StreamStartBytes (9) (size: 32)}
2021-10-09 18:08:18.124911 FINEST kdbx.header - Reading header HeaderFields.InnerRandomStreamID (10) (size: 4)}
2021-10-09 18:08:18.125034 FINEST kdbx.header - EndOfHeader HeaderFields.EndOfHeader
2021-10-09 18:08:18.125339 FINER kdbx.format - Rounds: 8388608 (0x00 0x00 0x80 0x00 0x00 0x00 0x00 0x00)
2021-10-09 18:08:18.126811 FINEST file_picker_writable - readFile()
2021-10-09 18:08:18.139351 FINE file_picker_writable - Native Log: debug: main Got method call: readFileWithIdentifier
2021-10-09 18:08:18.146046 FINEST key_encrypter_kdf - Starting encryptAes for 8388608 rounds in isolate. 32 32
2021-10-09 18:08:18.181695 FINE file_picker_writable - Native Log: debug: DefaultDispatcher-worker-2 Display Name: k.kdbx
2021-10-09 18:08:18.200948 FINE file_picker_writable - Native Log: debug: DefaultDispatcher-worker-2 Copy file content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/k.kdbx to /data/user/0/design.codeux.authpass/cache/k.kdbx4699396728224503687.tmp
2021-10-09 18:08:18.249022 FINEST file_source_local - Got uri: content://com.demo.fileprovider/root/storage/emulated/0/Android/data/com.cxinventor.file.explorer/cache/webdav/1/1281647479/k.kdbx
2021-10-09 18:09:27.014501 FINEST key_encrypter_kdf - Done aes encrypt. 0:01:08.868470
2021-10-09 18:09:27.401927 FINER kdbx.format - compression: Compression.gzip
2021-10-09 18:09:28.675227 WARNING kdbx_bloc - Error while reading kdbx file.
### FormatException: FormatException: Filter error, bad data
#0 _FilterImpl.processed (dart:io-patch/filter_patch.dart:11)
#1 _FilterSink.addSlice (dart:io/data_transformer.dart:537)
#2 _FilterSink.add (dart:io/data_transformer.dart:521)
#3 ZLibDecoder.convert (dart:io/data_transformer.dart:395)
#4 Codec.decode (dart:convert/codec.dart:26)
#5 KdbxBinary.readBinaryXml (package:kdbx/src/kdbx_binary.dart:51)
#6 new KdbxMeta.read.<anonymous closure>.sync_op (package:kdbx/src/kdbx_meta.dart:53)
#7 _SyncIterator.moveNext (dart:core-patch/core_patch.dart:181)
#8 new _GrowableList._ofOther (dart:core-patch/growable_array.dart:198)
#9 new _GrowableList.of (dart:core-patch/growable_array.dart:152)
#10 new List.of (dart:core-patch/array_patch.dart:50)
#11 SetMixin.toList (dart:collection/set.dart:118)
#12 new KdbxMeta.read (package:kdbx/src/kdbx_meta.dart:57)
#13 KdbxFormat._loadXml (package:kdbx/src/kdbx_format.dart:803)
#14 KdbxFormat._loadV3 (package:kdbx/src/kdbx_format.dart:576)
<asynchronous suspension>
#15 KdbxFormat.read (package:kdbx/src/kdbx_format.dart:509)
<asynchronous suspension>
#16 KdbxBloc.readKdbxFile (package:authpass/bloc/kdbx_bloc.dart:534)
<asynchronous suspension>
#17 KdbxBloc._openFileContent (package:authpass/bloc/kdbx_bloc.dart:339)
<asynchronous suspension>
#18 KdbxBloc.openFile (package:authpass/bloc/kdbx_bloc.dart:316)
<asynchronous suspension>
#19 _CredentialsScreenState._tryUnlock (package:authpass/ui/screens/select_file_screen.dart:1017)
<asynchronous suspension>
#20 _CredentialsScreenState.build.<anonymous closure> (package:authpass/ui/screens/select_file_screen.dart:977)
<asynchronous suspension>
2021-10-09 18:09:28.680854 FINE authpass.select_file_screen - Unable to open kdbx file.
### String: FormatException: Filter error, bad data
#0 KdbxBloc._openFileContent (package:authpass/bloc/kdbx_bloc.dart:349)
<asynchronous suspension>
#1 KdbxBloc.openFile (package:authpass/bloc/kdbx_bloc.dart:316)
<asynchronous suspension>
#2 _CredentialsScreenState._tryUnlock (package:authpass/ui/screens/select_file_screen.dart:1017)
<asynchronous suspension>
#3 _CredentialsScreenState.build.<anonymous closure> (package:authpass/ui/screens/select_file_screen.dart:977)
<asynchronous suspension>
2021-10-09 18:09:28.682151 FINEST analytics - (ga) timing(tryUnlockFile, 71070, category: unlock, label: error: TryUnlockResult.failure)
2021-10-09 18:09:28.683221 FINER analytics - (ga) event(tryUnlock, alreadyOpen, ext=.kpsha,source=FileSourceLocal:content:com.demo.fileprovider, null) - parameters: {}
2021-10-09 18:09:28.684466 FINEST main - didPush
2021-10-09 18:09:28.685242 FINER analytics - (ga) screen(/dialog/alert/error/errorOpenFile)
2021-10-09 18:09:53.536368 FINER format_utils - Initialized with locale zh
Error #2: Could not read shared file on local storage (iOS)
PlatformException(ErrorProcessingResult, Error handling result url file:///private/var/mobile/Containers/Shared/AppGroup/😎.../k.kdbx: Error Domain=NSCocoaErrorDomain Code=260 "The file couldn't be opened because it doesn't exist." null, null)
And the information of iOS device:
OS: ios 15.0.1
App Info: AuthPass (1.9.4+1872) [design.codeux.authpass.ios]
Device: {name: iPad, model: iPad, systemName: iOS, systemVersion: 15.0.1, localizedModel: iPad, utsname: {release: 21.0.0, version: Darwin Kernel Version 21.0.0: Sun Aug 9 20:55:51 PDT 2021; root:xnu-8019.12.5~1/RELEASE_ARM64_T8020, machine: iPad8,11, sysname: Darwin, nodename: iPad}}
Hope will resolve them.