Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot restore seedvault during initial set up - An error occured while loading the backups - OPENSSL_internal:BAD_DECRYPT #808

Open
ni-ka opened this issue Dec 9, 2024 · 7 comments
Labels
needs info Requires more information from reporter

Comments

@ni-ka
Copy link

ni-ka commented Dec 9, 2024

Hi,

Reported this to grapheeos and it was closed as upstream bug with recommendation to copy to device first: GrapheneOS/os-issue-tracker#4466

I am trying to move from GrapheneOS on a Pixel 6a to a Pixel 9 Pro.
I have a work account setup and so I have backed up both personal and work accounts.
During backup of the personal account I was getting backup errors so I deleted all seedvault data & cache and restarted from scratch, it successfully finished the backup. I did store both backups to the same USB as I read that it should be supported. It didn't get to the point to ask about passcode.

The error occurs during the initial setup while trying to restore, here is the info displayed:

An error occurred while loading the backups.

java.io.IOException: error:1e000065:Cipher 
functions:OPENSSL__internal:BAD_DECRYPT
StreamingAead Decrypting Stream 
segmentNr:0
ciphertextSegmentSize: 1048576
headerRead:true
endOfCiphertext:true
endOfPlaintext:false
decryptionErrorOccured:true
ciphertextSgement position:400533
limit:400533
plaintextSegment position:0 limit:0
segmentNr:0 endOfCiphertext:true

And the corresponding section from the logs

12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: [DefaultDispatcher-worker-1] Error loading Snapshot(repoId=f91118e0389539d1759fb7d98e6947607728b3654071dd7931d13247b8ab513f, hash=afa0046d14215b78c29ba606f4b30eea14ef54158be6e354da4a4c70c334717c) from local cache. Trying backend...java.io.IOException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: StreamingAeadDecryptingStream
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: segmentNr:0
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: ciphertextSegmentSize:1048576
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: headerRead:true
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: endOfCiphertext:true
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: endOfPlaintext:false
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: decryptionErrorOccured:true
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: ciphertextSgement position:132580 limit:132580
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: plaintextSegment position:0 limit:0
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: segmentNr:0 endOfCiphertext:true
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment(StreamingAeadDecryptingStream.java:176)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read(StreamingAeadDecryptingStream.java:231)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read(StreamingAeadDecryptingStream.java:208)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.repo.PaddedInputStream.<init>(PaddedInputStream.kt:21)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.repo.Loader.loadFromStream(Loader.kt:107)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.repo.Loader.loadFromStream$default(Loader.kt:75)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.repo.Loader.loadFile(Loader.kt:55)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.repo.SnapshotManager.loadSnapshot(SnapshotManager.kt:137)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.transport.restore.RestoreCoordinator.getAvailableBackups(RestoreCoordinator.kt:95)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.restore.RestoreViewModel$loadRestoreSets$1.invokeSuspend(RestoreViewModel.kt:115)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: Caused by: javax.crypto.AEADBadTagException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at java.lang.reflect.Constructor.newInstance0(Native Method)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.android.org.conscrypt.OpenSSLAeadCipher.throwAEADBadTagExceptionIfAvailable(OpenSSLAeadCipher.java:320)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.android.org.conscrypt.OpenSSLAeadCipher.doFinalInternal(OpenSSLAeadCipher.java:348)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.android.org.conscrypt.OpenSSLAeadCipher.engineDoFinal(OpenSSLAeadCipher.java:262)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at javax.crypto.Cipher.doFinal(Cipher.java:2369)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.google.crypto.tink.subtle.AesGcmHkdfStreaming$AesGcmHkdfStreamDecrypter.decryptSegment(AesGcmHkdfStreaming.java:333)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment(StreamingAeadDecryptingStream.java:168)
12-09 07:27:07.117 10044  6889  6955 E c.s.s.r.SnapshotManager: 	... 17 common frames omitted
12-09 07:27:07.117 10044  6889  6955 D a.g.s.c.b.s.SafBackend: [DefaultDispatcher-worker-1] load(Snapshot(repoId=f91118e0389539d1759fb7d98e6947607728b3654071dd7931d13247b8ab513f, hash=afa0046d14215b78c29ba606f4b30eea14ef54158be6e354da4a4c70c334717c))
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: Failed to apply ContentProviderOperation(type=insert uri=content://media/internal/file values={instance_id=null, compilation=null, disc_number=null, duration=null, album_artist=null, resolution=null, orientation=null, artist=null, author=null, height=null, is_drm=0, date_modified=1733271083, writer=null, composer=null, _modifier=3, datetaken=null, mime_type=application/octet-stream, bitrate=null, cd_track_number=null, year=null, _data=/mnt/media_rw/F7F7-B020/.SeedVaultAndroidBackup/f91118e0389539d1759fb7d98e6947607728b3654071dd7931d13247b8ab513f/afa0046d14215b78c29ba606f4b30eea14ef54158be6e354da4a4c70c334717c.snapshot, _size=132621, album=null, genre=null, title=afa0046d14215b78c29ba606f4b30eea14ef54158be6e354da4a4c70c334717c, width=null, document_id=null, capture_framerate=null, num_tracks=null, original_document_id=null, media_type=0} exceptionAllowed)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: java.lang.IllegalArgumentException: Requested path /mnt/media_rw/F7F7-B020/.SeedVaultAndroidBackup/f91118e0389539d1759fb7d98e6947607728b3654071dd7931d13247b8ab513f/afa0046d14215b78c29ba606f4b30eea14ef54158be6e354da4a4c70c334717c.snapshot doesn't appear under [/system/media, /oem/media, /product/media]
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.insert(MediaProvider.java:5376)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProviderOperation.applyInternal(ContentProviderOperation.java:375)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProviderOperation.apply(ContentProviderOperation.java:347)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProvider.applyBatch(ContentProvider.java:2706)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.applyBatch(MediaProvider.java:5726)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProvider.applyBatch(ContentProvider.java:2697)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentResolver.applyBatch(ContentResolver.java:2274)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.scan.ModernMediaScanner$Scan.applyPending(ModernMediaScanner.java:973)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.scan.ModernMediaScanner$Scan.walkFileTree(ModernMediaScanner.java:468)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.scan.ModernMediaScanner$Scan.runInternal(ModernMediaScanner.java:430)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.scan.ModernMediaScanner$Scan.run(ModernMediaScanner.java:419)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.scan.ModernMediaScanner.scanFile(ModernMediaScanner.java:285)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.scanFile(MediaProvider.java:2158)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.getResultForScanFile(MediaProvider.java:7118)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.callInternal(MediaProvider.java:6841)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.call(MediaProvider.java:6820)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProvider.call(ContentProvider.java:2732)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProvider$Transport.call(ContentProvider.java:634)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:307)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at android.os.Binder.execTransactInternal(Binder.java:1529)
12-09 07:27:07.450 10135  3371  3607 W ModernMediaScanner: 	at android.os.Binder.execTransact(Binder.java:1468)
12-09 07:27:07.452 10052  4052  6964 W FileSystemProvider: Failed to retrieve media store URI for: /mnt/media_rw/F7F7-B020/.SeedVaultAndroidBackup/f91118e0389539d1759fb7d98e6947607728b3654071dd7931d13247b8ab513f/afa0046d14215b78c29ba606f4b30eea14ef54158be6e354da4a4c70c334717c.snapshot
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: Error while getting restore set Snapshot(repoId=f91118e0389539d1759fb7d98e6947607728b3654071dd7931d13247b8ab513f, hash=afa0046d14215b78c29ba606f4b30eea14ef54158be6e354da4a4c70c334717c)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: java.io.IOException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: StreamingAeadDecryptingStream
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: segmentNr:0
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: ciphertextSegmentSize:1048576
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: headerRead:true
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: endOfCiphertext:true
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: endOfPlaintext:false
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: decryptionErrorOccured:true
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: ciphertextSgement position:132580 limit:132580
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: plaintextSegment position:0 limit:0
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: segmentNr:0 endOfCiphertext:true
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment(StreamingAeadDecryptingStream.java:176)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read(StreamingAeadDecryptingStream.java:231)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read(StreamingAeadDecryptingStream.java:208)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.repo.PaddedInputStream.<init>(PaddedInputStream.kt:21)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.repo.Loader.loadFromStream(Loader.kt:107)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.repo.Loader.loadFile(Loader.kt:47)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.repo.SnapshotManager.loadSnapshot(SnapshotManager.kt:140)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.transport.restore.RestoreCoordinator.getAvailableBackups(RestoreCoordinator.kt:95)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.restore.RestoreViewModel$loadRestoreSets$1.invokeSuspend(RestoreViewModel.kt:115)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: Caused by: javax.crypto.AEADBadTagException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at java.lang.reflect.Constructor.newInstance0(Native Method)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.android.org.conscrypt.OpenSSLAeadCipher.throwAEADBadTagExceptionIfAvailable(OpenSSLAeadCipher.java:320)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.android.org.conscrypt.OpenSSLAeadCipher.doFinalInternal(OpenSSLAeadCipher.java:348)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.android.org.conscrypt.OpenSSLAeadCipher.engineDoFinal(OpenSSLAeadCipher.java:262)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at javax.crypto.Cipher.doFinal(Cipher.java:2369)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.google.crypto.tink.subtle.AesGcmHkdfStreaming$AesGcmHkdfStreamDecrypter.decryptSegment(AesGcmHkdfStreaming.java:333)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment(StreamingAeadDecryptingStream.java:168)
12-09 07:27:07.454 10044  6889  6955 E RestoreCoordinator: 	... 16 more
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: [DefaultDispatcher-worker-1] Error loading Snapshot(repoId=0c91fc1f0e6060bb968de3282518899ecfd5b1d2c39d509531937ed596817532, hash=6a3b11f77c343342a5fe1ced484badbecb8411dde704c0eec2b1daecf8042851) from local cache. Trying backend...java.io.IOException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: StreamingAeadDecryptingStream
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: segmentNr:0
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: ciphertextSegmentSize:1048576
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: headerRead:true
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: endOfCiphertext:true
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: endOfPlaintext:false
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: decryptionErrorOccured:true
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: ciphertextSgement position:400533 limit:400533
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: plaintextSegment position:0 limit:0
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: segmentNr:0 endOfCiphertext:true
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment(StreamingAeadDecryptingStream.java:176)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read(StreamingAeadDecryptingStream.java:231)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read(StreamingAeadDecryptingStream.java:208)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.repo.PaddedInputStream.<init>(PaddedInputStream.kt:21)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.repo.Loader.loadFromStream(Loader.kt:107)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.repo.Loader.loadFromStream$default(Loader.kt:75)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.repo.Loader.loadFile(Loader.kt:55)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.repo.SnapshotManager.loadSnapshot(SnapshotManager.kt:137)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.transport.restore.RestoreCoordinator.getAvailableBackups(RestoreCoordinator.kt:95)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.stevesoltys.seedvault.restore.RestoreViewModel$loadRestoreSets$1.invokeSuspend(RestoreViewModel.kt:115)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: Caused by: javax.crypto.AEADBadTagException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at java.lang.reflect.Constructor.newInstance0(Native Method)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.android.org.conscrypt.OpenSSLAeadCipher.throwAEADBadTagExceptionIfAvailable(OpenSSLAeadCipher.java:320)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.android.org.conscrypt.OpenSSLAeadCipher.doFinalInternal(OpenSSLAeadCipher.java:348)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.android.org.conscrypt.OpenSSLAeadCipher.engineDoFinal(OpenSSLAeadCipher.java:262)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at javax.crypto.Cipher.doFinal(Cipher.java:2369)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.google.crypto.tink.subtle.AesGcmHkdfStreaming$AesGcmHkdfStreamDecrypter.decryptSegment(AesGcmHkdfStreaming.java:333)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment(StreamingAeadDecryptingStream.java:168)
12-09 07:27:07.457 10044  6889  6955 E c.s.s.r.SnapshotManager: 	... 17 common frames omitted
12-09 07:27:07.457 10044  6889  6955 D a.g.s.c.b.s.SafBackend: [DefaultDispatcher-worker-1] load(Snapshot(repoId=0c91fc1f0e6060bb968de3282518899ecfd5b1d2c39d509531937ed596817532, hash=6a3b11f77c343342a5fe1ced484badbecb8411dde704c0eec2b1daecf8042851))
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: Failed to apply ContentProviderOperation(type=insert uri=content://media/internal/file values={instance_id=null, compilation=null, disc_number=null, duration=null, album_artist=null, resolution=null, orientation=null, artist=null, author=null, height=null, is_drm=0, date_modified=1733271083, writer=null, composer=null, _modifier=3, datetaken=null, mime_type=application/octet-stream, bitrate=null, cd_track_number=null, year=null, _data=/mnt/media_rw/F7F7-B020/.SeedVaultAndroidBackup/0c91fc1f0e6060bb968de3282518899ecfd5b1d2c39d509531937ed596817532/6a3b11f77c343342a5fe1ced484badbecb8411dde704c0eec2b1daecf8042851.snapshot, _size=400574, album=null, genre=null, title=6a3b11f77c343342a5fe1ced484badbecb8411dde704c0eec2b1daecf8042851, width=null, document_id=null, capture_framerate=null, num_tracks=null, original_document_id=null, media_type=0} exceptionAllowed)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: java.lang.IllegalArgumentException: Requested path /mnt/media_rw/F7F7-B020/.SeedVaultAndroidBackup/0c91fc1f0e6060bb968de3282518899ecfd5b1d2c39d509531937ed596817532/6a3b11f77c343342a5fe1ced484badbecb8411dde704c0eec2b1daecf8042851.snapshot doesn't appear under [/system/media, /oem/media, /product/media]
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.insert(MediaProvider.java:5376)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProviderOperation.applyInternal(ContentProviderOperation.java:375)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProviderOperation.apply(ContentProviderOperation.java:347)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProvider.applyBatch(ContentProvider.java:2706)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.applyBatch(MediaProvider.java:5726)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProvider.applyBatch(ContentProvider.java:2697)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentResolver.applyBatch(ContentResolver.java:2274)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.scan.ModernMediaScanner$Scan.applyPending(ModernMediaScanner.java:973)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.scan.ModernMediaScanner$Scan.walkFileTree(ModernMediaScanner.java:468)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.scan.ModernMediaScanner$Scan.runInternal(ModernMediaScanner.java:430)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.scan.ModernMediaScanner$Scan.run(ModernMediaScanner.java:419)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.scan.ModernMediaScanner.scanFile(ModernMediaScanner.java:285)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.scanFile(MediaProvider.java:2158)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.getResultForScanFile(MediaProvider.java:7118)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.callInternal(MediaProvider.java:6841)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at com.android.providers.media.MediaProvider.call(MediaProvider.java:6820)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProvider.call(ContentProvider.java:2732)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProvider$Transport.call(ContentProvider.java:634)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:307)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at android.os.Binder.execTransactInternal(Binder.java:1529)
12-09 07:27:07.805 10135  3371  3607 W ModernMediaScanner: 	at android.os.Binder.execTransact(Binder.java:1468)
12-09 07:27:07.807 10052  4052  6921 W FileSystemProvider: Failed to retrieve media store URI for: /mnt/media_rw/F7F7-B020/.SeedVaultAndroidBackup/0c91fc1f0e6060bb968de3282518899ecfd5b1d2c39d509531937ed596817532/6a3b11f77c343342a5fe1ced484badbecb8411dde704c0eec2b1daecf8042851.snapshot
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: Error while getting restore set Snapshot(repoId=0c91fc1f0e6060bb968de3282518899ecfd5b1d2c39d509531937ed596817532, hash=6a3b11f77c343342a5fe1ced484badbecb8411dde704c0eec2b1daecf8042851)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: java.io.IOException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: StreamingAeadDecryptingStream
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: segmentNr:0
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: ciphertextSegmentSize:1048576
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: headerRead:true
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: endOfCiphertext:true
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: endOfPlaintext:false
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: decryptionErrorOccured:true
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: ciphertextSgement position:400533 limit:400533
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: plaintextSegment position:0 limit:0
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: segmentNr:0 endOfCiphertext:true
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment(StreamingAeadDecryptingStream.java:176)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read(StreamingAeadDecryptingStream.java:231)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read(StreamingAeadDecryptingStream.java:208)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.repo.PaddedInputStream.<init>(PaddedInputStream.kt:21)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.repo.Loader.loadFromStream(Loader.kt:107)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.repo.Loader.loadFile(Loader.kt:47)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.repo.SnapshotManager.loadSnapshot(SnapshotManager.kt:140)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.transport.restore.RestoreCoordinator.getAvailableBackups(RestoreCoordinator.kt:95)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.stevesoltys.seedvault.restore.RestoreViewModel$loadRestoreSets$1.invokeSuspend(RestoreViewModel.kt:115)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: Caused by: javax.crypto.AEADBadTagException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at java.lang.reflect.Constructor.newInstance0(Native Method)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.android.org.conscrypt.OpenSSLAeadCipher.throwAEADBadTagExceptionIfAvailable(OpenSSLAeadCipher.java:320)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.android.org.conscrypt.OpenSSLAeadCipher.doFinalInternal(OpenSSLAeadCipher.java:348)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.android.org.conscrypt.OpenSSLAeadCipher.engineDoFinal(OpenSSLAeadCipher.java:262)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at javax.crypto.Cipher.doFinal(Cipher.java:2369)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.google.crypto.tink.subtle.AesGcmHkdfStreaming$AesGcmHkdfStreamDecrypter.decryptSegment(AesGcmHkdfStreaming.java:333)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment(StreamingAeadDecryptingStream.java:168)
12-09 07:27:07.813 10044  6889  6955 E RestoreCoordinator: 	... 16 more

Greatful for any pointers or suggestions.

@grote
Copy link
Collaborator

grote commented Dec 9, 2024

Do you have a screenshot of the restore page? I'd be curious to see how this error is reported to the user.

Have you ever used more than one recovery code? Sounds a bit like the story in #804 where the reporter had another recovery code without remembering it.

It didn't get to the point to ask about passcode.

This sounds like it was using a recovery code you had already set up. Could it be that you have forgotten it? Can you use the verify code feature to make sure you have the right code for the source device?

@grote grote added the needs info Requires more information from reporter label Dec 12, 2024
@ni-ka
Copy link
Author

ni-ka commented Dec 14, 2024

Hi @grote,

What I have tried in the meantime was to copy the backup from old device and to new device using adb on a fresh backup & avoid mixing personal and work profile backups. I am able to correctly validate the recovery code on the target device but it fails after. Looks like the same error to me:

Here is how the error is reported:

Screenshot_20241214-121520

Will try now again from scratch by clearing all data on source & devices.

Thanks for any pointers.

@grote
Copy link
Collaborator

grote commented Dec 14, 2024

Here is how the error is reported:

Ok this means it can't decrypt the backups.

I am able to correctly validate the recovery code on the target device but it fails after.

What do you mean that it fails after?

Can you please try also validating the same code on the source device, so we can be sure both devices (and profiles!) are working on the same recovery code?

@0xDEADCADE
Copy link

I am getting this same issue, trying to restore a backup from DivestOS 20 (Android 13) to CalyxOS 6.2.1 (Android 15) on a Google Pixel 7 (panther).

ADB output
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: Error while getting restore set Metadata(token=1734975907514)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: java.io.IOException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: StreamingAeadDecryptingStream
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: segmentNr:0
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: ciphertextSegmentSize:1048576
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: headerRead:true
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: endOfCiphertext:true
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: endOfPlaintext:false
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: decryptionErrorOccured:true
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: ciphertextSgement position:19028 limit:19028
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: plaintextSegment position:0 limit:0
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: segmentNr:0 endOfCiphertext:true
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment(StreamingAeadDecryptingStream.java:176)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read(StreamingAeadDecryptingStream.java:231)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read(StreamingAeadDecryptingStream.java:208)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlin.io.ByteStreamsKt.copyTo(IOStreams.kt:106)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlin.io.ByteStreamsKt.copyTo$default(IOStreams.kt:103)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlin.io.ByteStreamsKt.readBytes(IOStreams.kt:136)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.stevesoltys.seedvault.metadata.MetadataReaderImpl.readMetadata(MetadataReader.kt:59)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.stevesoltys.seedvault.transport.restore.RestoreCoordinator.getAvailableBackups(RestoreCoordinator.kt:99)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.stevesoltys.seedvault.restore.RestoreViewModel$loadRestoreSets$1.invokeSuspend(RestoreViewModel.kt:115)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator: Caused by: javax.crypto.AEADBadTagException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at java.lang.reflect.Constructor.newInstance0(Native Method)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.android.org.conscrypt.OpenSSLAeadCipher.throwAEADBadTagExceptionIfAvailable(OpenSSLAeadCipher.java:320)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.android.org.conscrypt.OpenSSLAeadCipher.doFinalInternal(OpenSSLAeadCipher.java:348)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.android.org.conscrypt.OpenSSLAeadCipher.engineDoFinal(OpenSSLAeadCipher.java:262)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at javax.crypto.Cipher.doFinal(Cipher.java:2369)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.google.crypto.tink.subtle.AesGcmHkdfStreaming$AesGcmHkdfStreamDecrypter.decryptSegment(AesGcmHkdfStreaming.java:333)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     at com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment(StreamingAeadDecryptingStream.java:168)
12-24 16:02:29.756  5490  5515 E RestoreCoordinator:     ... 16 more

Since this is the same device, it is very difficult for me to go back and check on the "source" device. I did verify the codes manually after I wrote them down, and after the backup was fully completed, and they are the same 12 words.

@lucasmz-dev
Copy link
Contributor

I've also heard of another report on the Calyx main channel where the user had two phones: https://matrix.to/#/!UlsAcjNSfQqWJPccIO:matrix.org/$A3qMJCBzZkZktTkLTKmy3RYSDI4AflPc01i-oR4taCU?via=tchncs.de&via=matrix.org&via=calyx.dev

@0xDEADCADE
Copy link

Attempting to restore in DivestOS 20 (A13) on the same device gives a "No suitable backups found at given location". I'm afraid my backup may have gotten corrupted somehow.

@grote
Copy link
Collaborator

grote commented Dec 24, 2024

Have you ever had only one code? In #804 someone also thought they had the right code and eventually remembered a second code which turned out to be the real one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Requires more information from reporter
Projects
None yet
Development

No branches or pull requests

4 participants