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

[BUG] Unable to Extract via iOS #102

Closed
mchist-cloud opened this issue Jun 26, 2024 · 5 comments
Closed

[BUG] Unable to Extract via iOS #102

mchist-cloud opened this issue Jun 26, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@mchist-cloud
Copy link

mchist-cloud commented Jun 26, 2024

  • WhatsApp version: 2.24.12.78 - iOS
  • Platform: Windows
  • Branch and version: main - 0.10.0

Traceback

c:\TEMP\working_wts>wtsexporter -i -b "C:\Temp\Backup\00008101-001465640208801E"
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Python\Python312\Scripts\wtsexporter.exe\__main__.py", line 4, in <module>
  File "C:\Python\Python312\Lib\site-packages\Whatsapp_Chat_Exporter\__main__.py", line 11, in <module>
    from Whatsapp_Chat_Exporter import ios_handler, ios_media_handler
  File "C:\Python\Python312\Lib\site-packages\Whatsapp_Chat_Exporter\ios_media_handler.py", line 12, in <module>
    from iphone_backup_decrypt import FailedToDecryptError
ImportError: cannot import name 'FailedToDecryptError' from 'iphone_backup_decrypt' (C:\Python\Python312\Lib\site-packages\iphone_backup_decrypt\__init__.py)

When attempting to export, the export does not occur.
The backup is an encrypted iOS backup. I know the passphrase, but did not have a prompt or flag to declare it.

Steps to reproduce the behavior:

  1. Open CMD as admin
  2. Run: wtsexporter -i -b "C:\Temp\Backup\00008101-001465640208801E"
  3. See error

Screenshots
ErrorCapture

Maybe I need to declare the passphrase in some fashion that i've missed? I've read through the instructions and attempted this setup on two different PC's.

@KnugiHK
Copy link
Owner

KnugiHK commented Jun 26, 2024

Oops... I did some breaking changes to the iphone_backup_decrypt dependency that do not compatible with the current release.

While waiting for the fix, you can install the latest WhatsApp-Chat-Exporter with the dev branch.

@KnugiHK KnugiHK added the bug Something isn't working label Jun 26, 2024
@KnugiHK KnugiHK self-assigned this Jun 26, 2024
@mchist-cloud
Copy link
Author

Thank you for the quick response KnugiHK.

I can confirm that the dev branch is allowing it to decrypt and extract now.

Much appreciated!

@KnugiHK KnugiHK pinned this issue Jun 26, 2024
@KnugiHK
Copy link
Owner

KnugiHK commented Jun 26, 2024

I have rebased the iphone_backup_decrypt repository and the issue should be fixed now. Could you please try using the master branch of KnugiHK/iphone_backup_decrypt and the main branch of the exporter to see if it works?

@mchist-cloud
Copy link
Author

I uninstalled both and reinstalled via master and main branches. Can confirm that the exporter successfully decrypted an iOS backup.

@KnugiHK
Copy link
Owner

KnugiHK commented Jun 28, 2024

Thanks for your confirmation and report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants