DebianArch64 / DebProvision

An alternative to Cydia Impactor and AltServer for ALL computers.
1.13k stars 134 forks source link

Failed on installing Scarlet MacOS Sonoma #185

Closed Ralweb closed 1 year ago

Ralweb commented 1 year ago

I can't install scarlet after the OS upgrade to Sonoma. I installed on mac the last version of ScarletCloud but when trying to install scarlet on iphone I receive this error: Failed installing scarlet: failed installing: receive packet: ApplicationVerificationFailed (Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.ZHH68g/extracted/Payload/Scarlet.app: Oxe8008017 (A signed resource has been added, modified, or deleted.))

Does someone knows how to fix it?

DebianArch64 commented 1 year ago

I can't install scarlet after the OS upgrade to Sonoma. I installed on mac the last version of ScarletCloud but when trying to install scarlet on iphone I receive this error: Failed installing scarlet: failed installing: receive packet: ApplicationVerificationFailed (Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.ZHH68g/extracted/Payload/Scarlet.app: Oxe8008017 (A signed resource has been added, modified, or deleted.))

Does someone knows how to fix it?

I haven't pushed any updates since a few days ago, it's weird that this is starting to happen to some now

Ralweb commented 1 year ago

Thank you so much, I'll wait for news

DebianArch64 commented 1 year ago

Thank you so much, I'll wait for news

I'm sure this build I made works, but I want to make sure it also works for you before pushing it out

Do you have discord or twitter that I can send it through

DebianArch64 commented 1 year ago

nvm here: https://we.tl/t-BaT4z1pJ4N

tell me if you run into anything with this build if everything is smooth I'll push this update to the releases section

Notail07 commented 1 year ago

Im having the same problem

Notail07 commented 1 year ago

nvm here: https://we.tl/t-BaT4z1pJ4N

tell me if you run into anything with this build if everything is smooth I'll push this update to the releases section

I tried this build but the same problem arises

Ralweb commented 1 year ago

nvm here: https://we.tl/t-BaT4z1pJ4N

tell me if you run into anything with this build if everything is smooth I'll push this update to the releases section

I tried the build you send but the error is not fixed, still the same problem (I deleted the previous version with appcleaner to be sure everything was clean before than try your build)

alkhany1 commented 1 year ago

iam have the same problem with the new build too 14 Sonoma and iOS 17.0

DebianArch64 commented 1 year ago

I'm pushed out a new build a few minutes ago it adds in:

I did confirm that this build does write the P12 and mobileprovision in the same config folder and signs the app properly, so tell me how it goes 😎

Ralweb commented 1 year ago

I tried the version you just drop out but the issue is not solved. I still get the same error. Is it possible is a different problem than just the release?

Notail07 commented 1 year ago

i thought it was just me, the problem is not fixed maybe its related with ios 17?

I'm pushed out a new build a few minutes ago it adds in:

  • Working JIT below iOS 17 (I'll work on support for iOS 17 during the weekend)
  • Better+Faster app refresh
  • iPhone can talk to itself while wired as it can wireless, meaning both will have the same features and consistency
  • Multiple bug fixes, including one where in some cases the device needed a wired connection before being allowed to do wireless

I did confirm that this build does write the P12 and mobileprovision in the same config folder and signs the app properly, so tell me how it goes 😎

DebianArch64 commented 1 year ago

i thought it was just me, the problem is not fixed maybe its related with ios 17?

I'm pushed out a new build a few minutes ago it adds in:

  • Working JIT below iOS 17 (I'll work on support for iOS 17 during the weekend)
  • Better+Faster app refresh
  • iPhone can talk to itself while wired as it can wireless, meaning both will have the same features and consistency
  • Multiple bug fixes, including one where in some cases the device needed a wired connection before being allowed to do wireless

I did confirm that this build does write the P12 and mobileprovision in the same config folder and signs the app properly, so tell me how it goes 😎

Nope not related to iOS 17 - somehow the system either thinks it doesn't have permission to access the mobileprovision file or that it doesn't exist

Are you sure you have the latest update installed ? Delete the other ScarletCloud you have including the config folder

alkhany1 commented 1 year ago

so every file is in his place but also not signing the apps

Notail07 commented 1 year ago

i thought it was just me, the problem is not fixed maybe its related with ios 17?

I'm pushed out a new build a few minutes ago it adds in:

  • Working JIT below iOS 17 (I'll work on support for iOS 17 during the weekend)
  • Better+Faster app refresh
  • iPhone can talk to itself while wired as it can wireless, meaning both will have the same features and consistency
  • Multiple bug fixes, including one where in some cases the device needed a wired connection before being allowed to do wireless

I did confirm that this build does write the P12 and mobileprovision in the same config folder and signs the app properly, so tell me how it goes 😎

Nope not related to iOS 17 - somehow the system either thinks it doesn't have permission to access the mobileprovision file or that it doesn't exist

Are you sure you have the latest update installed ? Delete the other ScarletCloud you have including the config folder

  • does the mobileprovision and p12 file show in the config folder, when attempting to install scarlet ?

I went to applications, scarlet, content, mac os theres only scarlet no config folder.

Notail07 commented 1 year ago

Connected -> 00008110-000A44C82286401E 00008110-000A44C82286401E response: {"X-Apple-I-MD-M":"j\/\/NzO0NPuABK5oUJlFBCBScch+eeSCyuJd\/lnxyrjH\/Iu52jdf1GjbxGpMTz3ZtHhu9BqCCtfL1H0T6","X-Mme-Device-Id":"037F261E-A62D-58A7-8E0C-BA4E87FD3B45","X-Apple-I-Client-Time":"2023-10-08T17:05:35Z","X-Apple-I-MD":"AAAABQAAABDrB0OtBH9B7sDyJVKxQUPEAAAAAQ==","X-Apple-I-TimeZone":"IST","X-MMe-Client-Info":"<MacBookPro15,1> <Mac OS X;10.15.2;19C57> <com.apple.AuthKit\/1 (com.apple.dt.Xcode\/3594.4.19)>","X-Apple-I-Locale":"en_IN"} response: {"X-Apple-I-MD-M":"j\/\/NzO0NPuABK5oUJlFBCBScch+eeSCyuJd\/lnxyrjH\/Iu52jdf1GjbxGpMTz3ZtHhu9BqCCtfL1H0T6","X-Mme-Device-Id":"037F261E-A62D-58A7-8E0C-BA4E87FD3B45","X-Apple-I-Client-Time":"2023-10-08T17:05:39Z","X-Apple-I-MD":"AAAABQAAABDrB0OtBH9B7sDyJVKxQUPEAAAAAQ==","X-Apple-I-TimeZone":"IST","X-MMe-Client-Info":"<MacBookPro15,1> <Mac OS X;10.15.2;19C57> <com.apple.AuthKit\/1 (com.apple.dt.Xcode\/3594.4.19)>","X-Apple-I-Locale":"en_IN"} Wrote 002015-08-381458d4-bfa5-4e4e-aebe-85b829b54673

This happens.

DebianArch64 commented 1 year ago

Connected -> 00008110-000A44C82286401E 00008110-000A44C82286401E response: {"X-Apple-I-MD-M":"j//NzO0NPuABK5oUJlFBCBScch+eeSCyuJd/lnxyrjH/Iu52jdf1GjbxGpMTz3ZtHhu9BqCCtfL1H0T6","X-Mme-Device-Id":"037F261E-A62D-58A7-8E0C-BA4E87FD3B45","X-Apple-I-Client-Time":"2023-10-08T17:05:35Z","X-Apple-I-MD":"AAAABQAAABDrB0OtBH9B7sDyJVKxQUPEAAAAAQ==","X-Apple-I-TimeZone":"IST","X-MMe-Client-Info":"<MacBookPro15,1> <Mac OS X;10.15.2;19C57> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>","X-Apple-I-Locale":"en_IN"} response: {"X-Apple-I-MD-M":"j//NzO0NPuABK5oUJlFBCBScch+eeSCyuJd/lnxyrjH/Iu52jdf1GjbxGpMTz3ZtHhu9BqCCtfL1H0T6","X-Mme-Device-Id":"037F261E-A62D-58A7-8E0C-BA4E87FD3B45","X-Apple-I-Client-Time":"2023-10-08T17:05:39Z","X-Apple-I-MD":"AAAABQAAABDrB0OtBH9B7sDyJVKxQUPEAAAAAQ==","X-Apple-I-TimeZone":"IST","X-MMe-Client-Info":"<MacBookPro15,1> <Mac OS X;10.15.2;19C57> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>","X-Apple-I-Locale":"en_IN"} Wrote 002015-08-381458d4-bfa5-4e4e-aebe-85b829b54673

  • Please wait as Scarlet sideloads. [Generating certificate] -> /Applications/ScarletCloud.app/Contents/MacOS/tmp_ipa/Payload/Scarlet.app 0060091500700000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:102:No supported data to decode. Input type: PEM 0060091500700000:error:1E08010C:DECODER routines:OSSL_DECODER_from_bio:unsupported:crypto/encode_decode/decoder_lib.c:102:No supported data to decode. Input type: DER, Input structure: type-specific 0060091500700000:error:068000A8:asn1 encoding routines:asn1_check_tlen:wrong tag:crypto/asn1/tasn_dec.c:1188: 0060091500700000:error:0688010A:asn1 encoding routines:asn1_d2i_ex_primitive:nested asn1 error:crypto/asn1/tasn_dec.c:752: 0060091500700000:error:0688010A:asn1 encoding routines:asn1_template_noexp_d2i:nested asn1 error:crypto/asn1/tasn_dec.c:685:Field=pkey, Type=PKCS8_PRIV_KEY_INFO 0060091500700000:error:068000A7:asn1 encoding routines:d2i_AutoPrivateKey_legacy:unsupported public key type:crypto/asn1/d2i_pr.c:208: 0060091500700000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:341:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()

Can't Load P12 or PrivateKey File! Please Input The Correct File And Password! failed installing: receive packet: ApplicationVerificationFailed (Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.1kuWy3/extracted/Payload/Scarlet.app : 0xe8008017 (A signed resource has been added, modified, or deleted.))

This happens.

This is an improvement - send the p12

alkhany1 commented 1 year ago

Until now not working can we signe the app wite a certificate from stor ?

DebianArch64 commented 1 year ago

Until now not working can we signe the app wite a certificate from stor ?

The main issue is solved, the mobileprovision in some cases wasn't accessible which caused the "couldn't find mobileprovision" message.

The other issue mentioned is because the generated certificate has some sort of conflict with the version of OpenSSL, I need someone to send a P12 from their config folder that has the issue to confirm a fix: "routines:d2i_AutoPrivateKey_legacy:unsupported public key type:crypto/asn1/d2i_pr.c:208:

0060091500700000:error:0308010C:digital envelope"

DebianArch64 commented 1 year ago

Confirmed fixed, thanks to @alkhany1 for providing a certificate to test on, now it's able to sign it just fine

It was an issue where OpenSSL 3 no longer supports the old certificate algorithms which some Apple certificates could be generated with. If no bugs are reported 24 hours after this update I'll close this issue

alkhany1 commented 1 year ago

Can't Load P12 or PrivateKey File! Please Input The Correct File And Password!

DebianArch64 commented 1 year ago

Can't Load P12 or PrivateKey File! Please Input The Correct File And Password!

Ah, I forgot to make ScarletCloud use the fixed static library. But did confirm that the changes work with the library

Now it's pushed properly, sorry again 😅

alkhany1 commented 1 year ago

Not working ![Uploading image.jpg…]()

alkhany1 commented 1 year ago

Idont know why

Ralweb commented 1 year ago

I installed the last build of 30 minutes ago but I'm still having the same issue: Failed installing scarlet: failed installing: receive packet: ApplicationVerificationFailed (Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.ZHH68g/extracted/Payload/Scarlet.app: Oxe8008017 (A signed resource has been added, modified, or deleted.))

do you need something can be useful to find the issue?

DebianArch64 commented 1 year ago

Idont know why

I built it again, Golang has an issue where it caches the builds I'm hoping that's the cause like it was in the past :,)

Notail07 commented 1 year ago

i tried the latest build but it has problem.

Can't Load P12 or PrivateKey File! Please Input The Correct File And Password!

Notail07 commented 1 year ago

is it fixed?

alkhany1 commented 1 year ago

Until now not work

alkhany1 commented 1 year ago

I have signed the app with the same certificate in bullfrog and install it then it Hase connect with my macOS wirelessly with wirguard but at end given me aproplem when install (Failed creating client handshake)

DebianArch64 commented 1 year ago

Someone confirmed that the fix works on Windows now, here is a Mac version of that build tell me if it works: https://we.tl/t-tB23jgUDBN

alkhany1 commented 1 year ago

not working same problem

alkhany1 commented 1 year ago

do you have anydesk? you can test it with my mac

DebianArch64 commented 1 year ago

do you have anydesk? you can test it with my mac

Message me on Discord "debianarch", I made another build that could work I'll send it to you on there

alkhany1 commented 1 year ago

alkhani

18sos commented 1 year ago

في ثلاثاء، 10 أكتوبر، 2023 في 22:10، كتب alkhany1 @.***

:

alkhani

— Reply to this email directly, view it on GitHub https://github.com/DebianArch64/DebProvision/issues/185#issuecomment-1756264666, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LDD3P3NUZH2SL6IMF5B23X6W2VPAVCNFSM6AAAAAA5W7J6VOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGI3DINRWGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ماهذا كله

DebianArch64 commented 1 year ago

Officially fixed thanks @alkhany1

18sos commented 1 year ago

في ثلاثاء، 10 أكتوبر، 2023 في 22:24، كتب DebianArch < @.***>:

Closed #185 https://github.com/DebianArch64/DebProvision/issues/185 as completed.

— Reply to this email directly, view it on GitHub https://github.com/DebianArch64/DebProvision/issues/185#event-10610158719, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LDD3LIQF46BJB5OSLYCSDX6W4KRAVCNFSM6AAAAAA5W7J6VOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQGYYTAMJVHA3TCOI . You are receiving this because you commented.Message ID: @.***>

ماهذا كله مالذي يحدث ؟؟

Spankyman2064 commented 8 months ago

the problem is once again showing up, what should i do?