Skip to content

Fix #119, #126, #130, #133, #179 - #201

Merged
FrizzleM merged 6 commits into
mainfrom
issues-2026-12-05
Dec 5, 2026
Merged

FrizzleM merged 6 commits into
mainfrom
issues-2026-12-05

Conversation

@FrizzleM

@FrizzleM FrizzleM commented Dec 5, 2026

Copy link
Copy Markdown
Owner

Fixes from going through the open issues.

  • When I try to install an IPA using SideInstaller 2.0.1, the installation stops … #130 — SideStore's certificate: "MAC tag mismatch". SideStore 0.6.4 sends a certificate it kept from SideStore 0.5.x with the certificate's machine identifier as the password, but AltSign's ALTCertificate.p12Data() wrote that archive with the empty password. cert_import now falls back on the empty password, then the team's certificates' machine identifiers and serial numbers, as SideStore does with its own archive (p12::signing_keys_trying, certs::archive_keys). New fixture testdata/p12/altsign.p12, written by LibreSSL with an empty password as AltSign writes it.
  • FR: Add an import rp plist button in Tools > Pairing page #126 — Import button on Tools › Pairing. Same import as Install › Advanced, reported through the page's popups; the scanned apps reset for the new file.
  • Stopped at “Sign the app”: it tells me to revoke one of my 2 certificates, sideinstaller or siboot but if … #133 — Don't revoke SideInstaller's own certificate by mistake. On error 7460 the revoke chooser marks the certificate this copy of SideInstaller was signed with ("(signed SideInstaller)"), lists it last and says revoking it stops SideInstaller from opening; Tools › Certificates marks it too. It's read from the app's own code signature (CodeSignature: Mach-O → LC_CODE_SIGNATURE → CMS → certificates), because the profile lists every certificate the team had when it was made. 3 new strings, translated in all 9 languages.
  • On jit it doent wanna download smth #179 — Disk image download: HTTP 504. Each file of doronz88/DeveloperDiskImage is tried from github.com, then raw.githubusercontent.com, then jsDelivr (every file is under its 20 MB limit).
  • Stopped at “Sign the app”: i was trying to install an ipa then i stopped at sign the app and this appeared #119 — "Failed to extract application archive … Operation not permitted". isideload extracted IPAs with ZipArchive::extract, which applies each file's whole mode, setuid/setgid included, and iOS refuses those in an app's container. extract_archive keeps only the permission bits (plus owner read/write, which signing needs) and refuses a path that leaves the folder, by .. or through a link, before creating anything outside. Vendored isideload local change 17. The reporter's IPA wasn't attached, so the cause is the likeliest one rather than confirmed.

Fixes #119
Fixes #126
Fixes #130
Fixes #133
Fixes #179

Checked

  • scripts/test-rust.sh: all pass (rust-core 71, isideload 62 with the two new extraction tests, idevice, apple-codesign-quick).
  • scripts/check-ios.sh: simulator build and 88 SideInstallerTests pass, including the new CodeSignatureTests.
  • scripts/check_translations.py --base origin/main: nothing newly untranslated.
  • Not checked: any of it on an iPhone, the new button and labels on screen, or a real SideStore 0.5.x certificate (only an archive written the same way).

🤖 Generated with Claude Code

FrizzleM and others added 6 commits December 5, 2026 14:41
…#130)

SideStore 0.6.4 sends the certificate it kept from SideStore 0.5.x with
the certificate's machine identifier as the password, while AltSign's
ALTCertificate.p12Data() wrote that archive with the empty password, so
the import stopped at "MAC tag mismatch". cert_import now falls back on
the empty password, then the team's certificates' machine identifiers and
serial numbers, as SideStore does with its own archive. Tested with an
archive LibreSSL writes as AltSign does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page that generates and exports the pairing file now imports one too,
through the Install tab's import, with the page's own popups. The import
resets the scanned apps and lets the page scan again for the new file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On error 7460 the revoke chooser listed SideInstaller's own certificate
like any other, and revoking it stops SideInstaller from opening. It's
now marked "(signed SideInstaller)", listed last, and the chooser says
what revoking it does; Tools › Certificates marks it and says so in its
revoke alert. The certificate is read from SideInstaller's own code
signature (the CMS blob's certificates), not the profile, which names
every certificate the team had when it was made. Three new strings,
translated in all nine languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JIT stopped at "Downloading BuildManifest.plist failed (HTTP 504)" when
github.com didn't answer. Each of the mirror's files is now tried from
github.com, then raw.githubusercontent.com, then jsDelivr (all under its
20 MB limit), and the first failure is the one reported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…119)

ZipArchive::extract sets each file's whole mode from the archive, and iOS
refuses setuid and setgid in an app's container: the likeliest cause of
"Failed to extract application archive ... Operation not permitted". The
extraction now keeps only the permission bits and lets the owner read and
write each file, which signing needs; a path that would leave the folder,
by .. or through a link, is refused before anything outside is made.
Local change 17 in the vendored README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-05T13:46:20.526469Z bc45e48 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@FrizzleM
FrizzleM merged commit 5fb683b into main Dec 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment