ipadecrypt icon indicating copy to clipboard operation
ipadecrypt copied to clipboard

Some old versions of apps like YouTube before 2019 fail using the new method

Open DavidCGranger opened this issue 1 month ago • 4 comments

Describe the bug Some old versions of apps like YouTube before 2019 fail using the new method. Downgrading to the old method works

To Reproduce Steps to reproduce the behavior:

  1. Download com.google.ios.youtube version 833345246, for instance
  2. Try to decrypt it
decrypting com.google.ios.youtube_833345246.ipa
decrypted 7 binary(s), 17988 page(s) (144.7 MB → /tmp/ipatool-stage/com.google.ios.youtube_833345246_decrypted.ipa)
[err] verify failed: 7 still encrypted
    Payload/YouTube.app/YouTube still encrypted (cryptid != 0)
    Payload/YouTube.app/Frameworks/Module_Framework.framework/Module_Framework still encrypted (cryptid != 0)
    Payload/YouTube.app/Frameworks/widevine_cdm_secured_ios.framework/widevine_cdm_secured_ios still encrypted (cryptid != 0)
    Payload/YouTube.app/PlugIns/BroadcastUIExtension.appex/BroadcastUIExtension still encrypted (cryptid != 0)
    Payload/YouTube.app/PlugIns/BroadcastUploadExtension.appex/BroadcastUploadExtension still encrypted (cryptid != 0)
    Payload/YouTube.app/PlugIns/MessagesExtension.appex/MessagesExtension still encrypted (cryptid != 0)
    Payload/YouTube.app/PlugIns/NotificationServiceExtension.appex/NotificationServiceExtension still encrypted (cryptid != 0)```

Any version from 2020 onwards works and decrypts

Expected behavior The IPA decrypts A clear and concise description of what you expected to happen.

Environment

  • Dopamine
  • iOS 15.8.3
  • iPhone SE 2016

Additional context It worked for 2020-2026 versions basically instantly. Great work!

DavidCGranger avatar Oct 25 '26 17:10 DavidCGranger

In addition it fails on any app that supports 32 bit

DavidCGranger avatar Oct 26 '26 08:10 DavidCGranger

Hopefully @londek can simply keep the old implementation around to fallback to whenever issues crop up with the new fairplay method.

joshuaseltzer avatar Oct 26 '26 10:10 joshuaseltzer

Yep I guess that's what I have to do for rc.2. I didn't because this approach worked wonderfully for what I needed

londek avatar Oct 26 '26 10:10 londek

I agree that the new method is fantastic and should be the first attempt in most cases, but having the old way of doing it on-device as a fallback will be nice for any edge cases.

joshuaseltzer avatar Oct 26 '26 10:10 joshuaseltzer