diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1fc0b02b..2af1d4c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ name: Release # Builds the installers on macOS, Windows and Linux and publishes them as a GitHub release when a version tag is -# pushed (v0.1.0-alpha.4). A tag with a pre-release part (-alpha, -beta, -rc) becomes a pre-release. The release +# pushed (v0.1.0-alpha.5). A tag with a pre-release part (-alpha, -beta, -rc) becomes a pre-release. The release # notes come from docs/releases/.md. Every file gets a Sigstore signature (.sigstore.json) made with # this workflow's GitHub identity, so anyone can check it was built here from that tag. The macOS app is signed with # IPAForge's self-signed certificate (secrets MAC_CODESIGN_P12 and MAC_CODESIGN_PASSWORD), so the keychain diff --git a/README.md b/README.md index 6f2d673f..d42a737d 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # IPAForge -[![CI](https://github.com/SirReaDy/ipaforge/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/SirReaDy/ipaforge/actions/workflows/ci.yml) -[![Downloads](https://img.shields.io/github/downloads/SirReaDy/ipaforge/total?label=downloads)](https://github.com/SirReaDy/ipaforge/releases) -[![Latest release](https://img.shields.io/github/v/release/SirReaDy/ipaforge?include_prereleases&label=release)](https://github.com/SirReaDy/ipaforge/releases/latest) +[![CI](https://github.com/IPAForge/ipaforge/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/IPAForge/ipaforge/actions/workflows/ci.yml) +[![Downloads](https://img.shields.io/github/downloads/IPAForge/ipaforge/total?label=downloads)](https://github.com/IPAForge/ipaforge/releases) +[![Latest release](https://img.shields.io/github/v/release/IPAForge/ipaforge?include_prereleases&label=release)](https://github.com/IPAForge/ipaforge/releases/latest) [![Licence: AGPL-3.0](https://img.shields.io/badge/licence-AGPL--3.0-blue.svg)](LICENSE) [![Sponsor](https://img.shields.io/badge/sponsor-%E2%9D%A4-ea4aaa?logo=githubsponsors)](https://github.com/sponsors/SirReaDy) **Install SideStore and your own apps on iPhone and iPad with a free Apple ID, from Windows, macOS or Linux.** -**[Website](https://ipaforge.github.io)** · **[Download](https://github.com/SirReaDy/ipaforge/releases)** · **[Discord](https://discord.gg/C87DKmAWhr)** · [Installing](docs/installing.md) · [Roadmap](docs/roadmap.md) +**[Website](https://ipaforge.github.io)** · **[Download](https://github.com/IPAForge/ipaforge/releases)** · **[Discord](https://discord.gg/C87DKmAWhr)** · [Installing](docs/installing.md) · [Roadmap](docs/roadmap.md) IPAForge is a free, open-source desktop app for sideloading. You plug in your iPhone, sign in with your Apple ID, and it does the rest: @@ -19,7 +19,7 @@ IPAForge is a free, open-source desktop app for sideloading. You plug in your iP After that it keeps them working: it shows when each app expires, refreshes them before they do, repairs SideStore when it stops refreshing, and explains every failure with the fixes that apply. The whole engine, code signing included, is written in TypeScript, with no native helpers or bundled command-line tools. > [!NOTE] -> **Alpha, 0.1.0-alpha.4.** Builds for macOS, Windows and Linux are on the [Releases page](https://github.com/SirReaDy/ipaforge/releases), and IPAForge updates itself from there. It isn't notarised or code-signed for Windows yet: [how to open it the first time](docs/installing.md#opening-ipaforge-the-first-time). Questions and feedback: [Discord](https://discord.gg/C87DKmAWhr) or [Issues](https://github.com/SirReaDy/ipaforge/issues). +> **Alpha, 0.1.0-alpha.5.** Builds for macOS, Windows and Linux are on the [Releases page](https://github.com/IPAForge/ipaforge/releases), and IPAForge updates itself from there. It isn't notarised or code-signed for Windows yet: [how to open it the first time](docs/installing.md#opening-ipaforge-the-first-time). Questions and feedback: [Discord](https://discord.gg/C87DKmAWhr) or [Issues](https://github.com/IPAForge/ipaforge/issues). ## Why IPAForge diff --git a/apps/desktop/electron-builder.yml b/apps/desktop/electron-builder.yml index 4a2d16ad..1d5e79f7 100644 --- a/apps/desktop/electron-builder.yml +++ b/apps/desktop/electron-builder.yml @@ -21,7 +21,7 @@ afterSign: build/after-sign.mjs publish: provider: github - owner: SirReaDy + owner: IPAForge repo: ipaforge releaseType: prerelease diff --git a/apps/desktop/package.json b/apps/desktop/package.json index dc8beaa3..350672f1 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@ipaforge/desktop", - "version": "0.1.0-alpha.4", + "version": "0.1.0-alpha.5", "license": "AGPL-3.0-or-later", "private": true, "type": "module", @@ -43,6 +43,6 @@ "productName": "IPAForge", "description": "Install SideStore and preload your apps onto iPhone and iPad.", "author": "Dan Motpan", - "homepage": "https://github.com/SirReaDy/ipaforge", + "homepage": "https://ipaforge.github.io", "desktopName": "ipaforge.desktop" } diff --git a/apps/desktop/src/main/constants.ts b/apps/desktop/src/main/constants.ts index 81af0960..e2488a1a 100644 --- a/apps/desktop/src/main/constants.ts +++ b/apps/desktop/src/main/constants.ts @@ -4,8 +4,8 @@ * verifying the email or accepting the agreement). Each entry is an origin and the path the page must start with. */ export const allowedExternalLinks = [ - { origin: 'https://github.com', path: '/SirReaDy/ipaforge/issues/new' }, - { origin: 'https://github.com', path: '/SirReaDy/ipaforge/releases' }, + { origin: 'https://github.com', path: '/IPAForge/ipaforge/issues/new' }, + { origin: 'https://github.com', path: '/IPAForge/ipaforge/releases' }, { origin: 'https://account.apple.com', path: '/' }, { origin: 'https://developer.apple.com', path: '/account' } ] as const diff --git a/apps/desktop/src/main/external-links.test.ts b/apps/desktop/src/main/external-links.test.ts index 044d6d25..1a464d1f 100644 --- a/apps/desktop/src/main/external-links.test.ts +++ b/apps/desktop/src/main/external-links.test.ts @@ -6,7 +6,7 @@ describe('isAllowedExternalLink', () => { it('allows a new IPAForge issue and Apple’s account and developer pages', () => { expect( isAllowedExternalLink( - 'https://github.com/SirReaDy/ipaforge/issues/new?title=x&body=y' + 'https://github.com/IPAForge/ipaforge/issues/new?title=x&body=y' ) ).toBe(true) expect(isAllowedExternalLink('https://account.apple.com')).toBe(true) @@ -18,10 +18,10 @@ describe('isAllowedExternalLink', () => { it('refuses everything else', () => { for (const url of [ // eslint-disable-next-line sonarjs/no-clear-text-protocols -- plain HTTP must be refused - 'http://github.com/SirReaDy/ipaforge/issues/new', - 'https://github.com/SirReaDy/ipaforge/settings', - 'https://github.com/SirReaDy/ipaforge/issues/newer', - 'https://github.com.evil.example/SirReaDy/ipaforge/issues/new', + 'http://github.com/IPAForge/ipaforge/issues/new', + 'https://github.com/IPAForge/ipaforge/settings', + 'https://github.com/IPAForge/ipaforge/issues/newer', + 'https://github.com.evil.example/IPAForge/ipaforge/issues/new', 'https://user:pass@account.apple.com', 'https://developer.apple.com/download', 'file:///etc/passwd', diff --git a/apps/desktop/src/main/updates/constants.ts b/apps/desktop/src/main/updates/constants.ts index 66489b6c..4385ee8c 100644 --- a/apps/desktop/src/main/updates/constants.ts +++ b/apps/desktop/src/main/updates/constants.ts @@ -2,11 +2,20 @@ import type { ManualFile } from '@desktop/main/updates/types.ts' import type { ManualPackage } from '@ipaforge/rpc' /** IPAForge's releases on GitHub: each one's page, and its files under `download/`. */ -export const RELEASES_URL = 'https://github.com/SirReaDy/ipaforge/releases' +export const RELEASES_URL = 'https://github.com/IPAForge/ipaforge/releases' -/** Who signs IPAForge's releases: its release workflow, through GitHub's OIDC issuer (`release.yml` on a tag). */ -export const RELEASE_WORKFLOW_IDENTITY = +/** + * Who signs IPAForge's releases: its release workflow (`release.yml` on a tag), through GitHub's OIDC issuer. The + * repository moved from SirReaDy/ipaforge to the IPAForge organization; releases made before the move carry the + * old name, so both are accepted, and nothing else. + */ +export const RELEASE_WORKFLOWS = [ + 'https://github.com/IPAForge/ipaforge/.github/workflows/release.yml', 'https://github.com/SirReaDy/ipaforge/.github/workflows/release.yml' +] as const + +/** What sigstore-js says when a signature is valid but made by someone else. */ +export const UNTRUSTED_SIGNER = 'UNTRUSTED_SIGNER_ERROR' export const SIGSTORE_ISSUER = 'https://token.actions.githubusercontent.com' /** How long the check may take before IPAForge opens without it (offline, a slow network). */ diff --git a/apps/desktop/src/main/updates/sigstore-verifier.test.ts b/apps/desktop/src/main/updates/sigstore-verifier.test.ts index ee6420b7..01c693f1 100644 --- a/apps/desktop/src/main/updates/sigstore-verifier.test.ts +++ b/apps/desktop/src/main/updates/sigstore-verifier.test.ts @@ -18,6 +18,15 @@ const setup = (verifyBundle = vi.fn(async () => ({}))) => { return { verifier, fetchJson, verifyBundle } } +const ORG = 'https://github.com/IPAForge/ipaforge/.github/workflows/release.yml' +const OLD = 'https://github.com/SirReaDy/ipaforge/.github/workflows/release.yml' + +/** sigstore-js's error for a valid signature made by another workflow. */ +const untrusted = () => + Object.assign(new Error('certificate identity error'), { + code: 'UNTRUSTED_SIGNER_ERROR' + }) + describe('createSigstoreVerifier', () => { it("checks the file's signature from its release, for the release workflow on the version's own tag", async () => { const { verifier, fetchJson, verifyBundle } = setup() @@ -25,25 +34,54 @@ describe('createSigstoreVerifier', () => { await verifier.verify(FILE, VERSION) expect(fetchJson).toHaveBeenCalledWith( - `https://github.com/SirReaDy/ipaforge/releases/download/v${VERSION}/IPAForge-${VERSION}-win-x64.exe.sigstore.json` + `https://github.com/IPAForge/ipaforge/releases/download/v${VERSION}/IPAForge-${VERSION}-win-x64.exe.sigstore.json` ) expect(verifyBundle).toHaveBeenCalledWith(BUNDLE, Buffer.from([1, 2, 3]), { certificateIssuer: 'https://token.actions.githubusercontent.com', - certificateIdentityURI: `https://github.com/SirReaDy/ipaforge/.github/workflows/release.yml@refs/tags/v${VERSION}`, + certificateIdentityURI: `${ORG}@refs/tags/v${VERSION}`, tufCachePath: '/data/sigstore' }) }) - it('rejects when the signature does not verify', async () => { - const { verifier } = setup( - vi.fn(async () => { - throw new Error('signature verification failed') - }) + it('accepts a release made before the move to the organization', async () => { + const verifyBundle = vi + .fn() + .mockRejectedValueOnce(untrusted()) + .mockResolvedValueOnce({}) + const { verifier } = setup(verifyBundle) + + await verifier.verify(FILE, VERSION) + + expect( + verifyBundle.mock.calls.map( + ([, , options]) => + (options as { certificateIdentityURI: string }).certificateIdentityURI + ) + ).toEqual([`${ORG}@refs/tags/v${VERSION}`, `${OLD}@refs/tags/v${VERSION}`]) + }) + + it('refuses a signature made by any other workflow', async () => { + const verifyBundle = vi.fn(async () => { + throw untrusted() + }) + const { verifier } = setup(verifyBundle) + + await expect(verifier.verify(FILE, VERSION)).rejects.toThrow( + 'certificate identity error' ) + expect(verifyBundle).toHaveBeenCalledTimes(2) + }) + + it('rejects a broken signature at once, without trying the other workflow', async () => { + const verifyBundle = vi.fn(async () => { + throw new Error('signature verification failed') + }) + const { verifier } = setup(verifyBundle) await expect(verifier.verify(FILE, VERSION)).rejects.toThrow( 'signature verification failed' ) + expect(verifyBundle).toHaveBeenCalledOnce() }) it('rejects when the release has no signature for the file', async () => { diff --git a/apps/desktop/src/main/updates/sigstore-verifier.ts b/apps/desktop/src/main/updates/sigstore-verifier.ts index 1a6791ae..0ca826cd 100644 --- a/apps/desktop/src/main/updates/sigstore-verifier.ts +++ b/apps/desktop/src/main/updates/sigstore-verifier.ts @@ -1,5 +1,5 @@ -// An update installs only if its file carries a Sigstore signature from IPAForge's release workflow for that very -// version: the release workflow signs every file it publishes (`cosign sign-blob`, keyless, with GitHub's OIDC +// An update installs only if its file carries a Sigstore signature from IPAForge's release workflow (under the +// repository's current name or its earlier one) for that very version: the release workflow signs every file it publishes (`cosign sign-blob`, keyless, with GitHub's OIDC // identity), and the signature is checked here against Sigstore's public logs. A file changed after the release, // or published by anything other than `release.yml` on the version's own tag, is refused. import { Buffer } from 'node:buffer' @@ -8,15 +8,19 @@ import { basename } from 'node:path' import { verify } from 'sigstore' import { - RELEASE_WORKFLOW_IDENTITY, + RELEASE_WORKFLOWS, RELEASES_URL, - SIGSTORE_ISSUER + SIGSTORE_ISSUER, + UNTRUSTED_SIGNER } from '@desktop/main/updates/constants.ts' import type { UpdateVerifier, UpdateVerifierDeps } from '@desktop/main/updates/types.ts' +const isUntrustedSigner = (error: unknown): boolean => + (error as { code?: unknown } | undefined)?.code === UNTRUSTED_SIGNER + export const createSigstoreVerifier = ({ fetchJson, readFile, @@ -33,14 +37,23 @@ export const createSigstoreVerifier = ({ }) }) const bytes = await readFile(file) - await verifyBundle( - bundle as Parameters[0], - Buffer.from(bytes.buffer, bytes.byteOffset, bytes.byteLength), - { - certificateIssuer: SIGSTORE_ISSUER, - certificateIdentityURI: `${RELEASE_WORKFLOW_IDENTITY}@refs/tags/v${version}`, - tufCachePath + const data = Buffer.from(bytes.buffer, bytes.byteOffset, bytes.byteLength) + // Each workflow in turn: only "signed by someone else" moves on to the next; any other failure is final. + const verifyAs = async (workflows: readonly string[]): Promise => { + const [workflow, ...others] = workflows + if (!workflow) return + try { + await verifyBundle(bundle as Parameters[0], data, { + certificateIssuer: SIGSTORE_ISSUER, + certificateIdentityURI: `${workflow}@refs/tags/v${version}`, + tufCachePath + }) + } catch (error) { + if (others.length === 0 || !isUntrustedSigner(error)) throw error + await verifyAs(others) } - ) + } + + await verifyAs(RELEASE_WORKFLOWS) } }) diff --git a/apps/desktop/src/main/updates/update-service.test.ts b/apps/desktop/src/main/updates/update-service.test.ts index 14e0d099..9a58b088 100644 --- a/apps/desktop/src/main/updates/update-service.test.ts +++ b/apps/desktop/src/main/updates/update-service.test.ts @@ -163,7 +163,7 @@ describe('createUpdateService', () => { phase: 'failed', version: NEXT, reason: 'net::ERR_CONNECTION_RESET', - url: `https://github.com/SirReaDy/ipaforge/releases/tag/v${NEXT}` + url: `https://github.com/IPAForge/ipaforge/releases/tag/v${NEXT}` }) service.retry() @@ -216,7 +216,7 @@ describe('createUpdateService', () => { version: NEXT, packageType: kind, fileName, - url: `https://github.com/SirReaDy/ipaforge/releases/download/v${NEXT}/${fileName}` + url: `https://github.com/IPAForge/ipaforge/releases/download/v${NEXT}/${fileName}` }) expect(updater.port.download).not.toHaveBeenCalled() } @@ -230,7 +230,7 @@ describe('createUpdateService', () => { phase: 'manual', version: NEXT, packageType: 'other', - url: `https://github.com/SirReaDy/ipaforge/releases/tag/v${NEXT}` + url: `https://github.com/IPAForge/ipaforge/releases/tag/v${NEXT}` }) }) }) diff --git a/docs/design/roadmap.md b/docs/design/roadmap.md index a85831af..317a2de9 100644 --- a/docs/design/roadmap.md +++ b/docs/design/roadmap.md @@ -105,6 +105,7 @@ Every feature below maps to the phases that deliver it. "Automatic" means the us - [x] release 0.1.0-alpha.2: the first release with the self-signed macOS app, the extra installers and Sigstore signatures (#65) - [x] release 0.1.0-alpha.3: app sources, detailed install progress and the Apps section with SideStore-style refresh (#69) - [x] release 0.1.0-alpha.4: Repair SideStore, SideStore QR codes, the on-device checklist, faster Wi-Fi installs, and the first version that updates itself, every update checked against its release's Sigstore signature (#75) + - [x] release 0.1.0-alpha.5, the first from the IPAForge organization: updates look for releases there (accepting signatures from the repository's old name too), the website and the AGPL-3.0 licence (#77) - [x] auto-update on launch with electron-updater from the GitHub releases: the window waits behind an update screen while IPAForge checks, downloads (with progress) and installs the new version, then reopens; offline or a slow check opens the app, a failed download offers Try again, the release page or going on; copies from a .msi, .deb or .rpm, which can't update themselves, name the file to download. The state reaches the UI over its own MessagePort (`serveUpdates`/`createUpdateClient` in `@ipaforge/rpc`). What's new opens once after an update (the notes in New, Changed, Fixed and Removed lists) and the changelog page lists every version; the notes are in English, bundled in the UI (#74) - [x] every update is checked before it installs: its file must carry a Sigstore signature from `release.yml` on that version's own tag (sigstore-js against Sigstore's public logs), else the update screen says it failed; an install that fails before IPAForge quits says so too. Two small pnpm patches (`patches/`) name SHA-256 where `@sigstore/core` and `@tufjs/models` verify EC and RSA signatures without a hash: OpenSSL assumes it, Electron's BoringSSL refuses (`NO_DEFAULT_DIGEST`) (#74) - [x] the certificates the OS trusts (company proxies, self-hosted anisette servers with their own CA) are trusted for Apple and anisette requests and by Node's default, alongside Node's bundled roots and Apple's (`tls.getCACertificates('system')`) (#74) diff --git a/docs/getting-started.md b/docs/getting-started.md index 2e468756..8f67f04e 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -4,7 +4,7 @@ ## Current status -IPAForge is in **alpha**: test builds are on the [Releases page](https://github.com/SirReaDy/ipaforge/releases). Phases 0–6 are complete: foundation, signer, device layer, Apple account, developer services, the installer and the UI foundation. Phase 8 (install and preload) is complete too: Preload with app sources, the Apps page with refresh, Repair SideStore, SideStore QR codes and the on-device checklist. Phase 9 (the desktop app) is complete too: installers for every system, Sigstore-signed releases, and updates itself; Windows code signing and Apple notarisation come with 1.0. Onboarding (Phase 7) comes next. See [Installing](installing.md) to try a build. +IPAForge is in **alpha**: test builds are on the [Releases page](https://github.com/IPAForge/ipaforge/releases). Phases 0–6 are complete: foundation, signer, device layer, Apple account, developer services, the installer and the UI foundation. Phase 8 (install and preload) is complete too: Preload with app sources, the Apps page with refresh, Repair SideStore, SideStore QR codes and the on-device checklist. Phase 9 (the desktop app) is complete too: installers for every system, Sigstore-signed releases, and updates itself; Windows code signing and Apple notarisation come with 1.0. Onboarding (Phase 7) comes next. See [Installing](installing.md) to try a build. | Area | State | |---|---| diff --git a/docs/installing.md b/docs/installing.md index 057f8cdb..617fbf24 100644 --- a/docs/installing.md +++ b/docs/installing.md @@ -2,11 +2,11 @@ # Installing IPAForge -> **IPAForge is in alpha.** The first test builds are on the **[Releases page](https://github.com/SirReaDy/ipaforge/releases)** as pre-releases. They work, but expect rough edges, and please [report](#problems) what breaks. +> **IPAForge is in alpha.** The first test builds are on the **[Releases page](https://github.com/IPAForge/ipaforge/releases)** as pre-releases. They work, but expect rough edges, and please [report](#problems) what breaks. ## Download -Get IPAForge from the **[Releases page](https://github.com/SirReaDy/ipaforge/releases)**, and only from there. Each release lists its files' SHA-256 checksums in `SHA256SUMS.txt`. +Get IPAForge from the **[Releases page](https://github.com/IPAForge/ipaforge/releases)**, and only from there. Each release lists its files' SHA-256 checksums in `SHA256SUMS.txt`. | Your computer | File | |---|---| @@ -24,10 +24,12 @@ Every file has a signature next to it, `.sigstore.json`, made by the relea ```sh cosign verify-blob IPAForge--mac-arm64.dmg \ --bundle IPAForge--mac-arm64.dmg.sigstore.json \ - --certificate-identity "https://github.com/SirReaDy/ipaforge/.github/workflows/release.yml@refs/tags/v" \ + --certificate-identity "https://github.com/IPAForge/ipaforge/.github/workflows/release.yml@refs/tags/v" \ --certificate-oidc-issuer https://token.actions.githubusercontent.com ``` +Releases up to 0.1.0-alpha.4 were made before the repository moved to the IPAForge organization: for those, the identity starts with `https://github.com/SirReaDy/ipaforge/`. + The macOS app itself is signed with IPAForge's own certificate. To check the app you installed: ```sh @@ -126,4 +128,4 @@ IPAForge places the pairing file and certificate SideStore needs automatically. ## Problems? - [Device](device.md) explains device errors, and [Apple Account](apple-account.md) explains sign-in errors. Each error message names its code. -- Still stuck? [Open an issue](https://github.com/SirReaDy/ipaforge/issues/new/choose) with the error code. **Never post** your Apple ID password, verification codes, pairing files, certificates or device UDID. +- Still stuck? [Open an issue](https://github.com/IPAForge/ipaforge/issues/new/choose) with the error code. **Never post** your Apple ID password, verification codes, pairing files, certificates or device UDID. diff --git a/docs/releases/0.1.0-alpha.5.md b/docs/releases/0.1.0-alpha.5.md new file mode 100644 index 00000000..eff54724 --- /dev/null +++ b/docs/releases/0.1.0-alpha.5.md @@ -0,0 +1,37 @@ +IPAForge has a home of its own: the project moves to the **[IPAForge organization](https://github.com/IPAForge)** on GitHub, with a website at **[ipaforge.github.io](https://ipaforge.github.io)** and a **[Discord](https://discord.gg/C87DKmAWhr)**. Please report problems in [Issues](https://github.com/IPAForge/ipaforge/issues), with the logs attached (**Logs**, ⌘L / Ctrl+L). + +## Updating + +Download and install this version once, over the one you have: your Apple IDs, apps and settings stay. 0.1.0-alpha.4 can't update itself to it, because it only accepts releases from the repository's old address (it offers the release page instead). From this version on, IPAForge updates itself from its new home. + +## What's new + +- **A new home:** the code, the releases and the issues move to [github.com/IPAForge/ipaforge](https://github.com/IPAForge/ipaforge). Old links keep working. +- **Updates follow:** IPAForge now looks for new versions there, and installs only updates signed by IPAForge's release workflow. +- **A website:** [ipaforge.github.io](https://ipaforge.github.io), with what IPAForge does, the downloads and the roadmap. +- **A new licence:** IPAForge is now released under the **GNU AGPL-3.0** (or later). It stays free to use, study, change and share, and anything built from it, including a modified version offered as a service, must be open source under the same licence. Versions up to 0.1.0-alpha.4 remain under the MIT licence they were released with. + +## Downloads + +| System | File | +|---|---| +| macOS, Apple silicon | `IPAForge-0.1.0-alpha.5-mac-arm64.dmg` | +| macOS, Intel | `IPAForge-0.1.0-alpha.5-mac-x64.dmg` | +| Windows 10/11 | `IPAForge-0.1.0-alpha.5-win-x64.exe` (or `.msi`, which doesn't update itself) | +| Linux, x64 | `.AppImage` (x86_64), `.deb` (amd64), `.rpm` (x86_64) | +| Linux, arm64 | `.AppImage` (arm64), `.deb` (arm64), `.rpm` (aarch64) | + +You can ignore the `.zip`, `.blockmap` and `latest*.yml` files: they are for automatic updates. Checksums are in `SHA256SUMS.txt`, and every file has a Sigstore signature (`.sigstore.json`), which IPAForge also checks before installing an update. + +## Before you start + +- **macOS:** + - IPAForge isn't notarised by Apple yet. Open it once, then go to *System Settings › Privacy & Security* and click **Open Anyway**. + - When asked about *IPAForge Safe Storage*, click **Always Allow**. +- **Windows:** + - SmartScreen warns about the download: click *More info › Run anyway*. + - Install *Apple Devices* from the Microsoft Store first. +- **Linux:** install `usbmuxd`. +- **Your device:** iOS 15 or later with a passcode; on iOS 16 and later, Developer Mode must be on. + +To check a download or the installed app, and for every step, see the [installation guide](https://github.com/IPAForge/ipaforge/blob/main/docs/installing.md). diff --git a/docs/roadmap.md b/docs/roadmap.md index 6c459916..5401baa8 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -15,7 +15,7 @@ The detailed roadmap, with each phase's scope, is [design/roadmap.md](design/roa | 6 | UI foundation ✓ | HeroUI + Tailwind shell, colour palettes, i18n, Engine connection, accounts, devices, install run, its questions, recovery, step details, the log viewer, and screenshot and accessibility tests (#28–#58) | | 7 | Onboarding | First-run guided wizard | | 8 | Install & preload UX ✓ | One-click SideStore ✓, live run view ✓, recovery screens ✓, Apple ID switch ✓, preload picker ✓ (#59), app sources ✓ (#66), detailed install progress ✓ (#67), the Apps section ✓ (#68), Repair SideStore ✓ (#70), SideStore QR codes ✓ (#71), on-device checklist ✓ (#72), the smaller notes ✓ (#73) | -| 9 | Desktop app ✓ (#61, #62, #63, #64, #65, #69, #74, #75) | Electron packages for Windows, macOS, Linux ✓; the macOS app signed with IPAForge's own certificate ✓; auto-update and What's new ✓ (#74); Windows signing and notarisation moved to 1.0 | +| 9 | Desktop app ✓ (#61, #62, #63, #64, #65, #69, #74, #75, #77) | Electron packages for Windows, macOS, Linux ✓; the macOS app signed with IPAForge's own certificate ✓; auto-update and What's new ✓ (#74); Windows signing and notarisation moved to 1.0 | | 10 | Management tools | Certificates, app IDs, pairing files, import/export | | 11 | Wireless & remote pairing | Wi-Fi installs and the iOS 17+ RP pairing file | | 12 | Release 1.0 | Docs site, translations, security review, Windows code signing and Apple notarisation, reusable packages on npm | diff --git a/packages/catalog/src/domain/config.ts b/packages/catalog/src/domain/config.ts index f8867f0f..a08cc835 100644 --- a/packages/catalog/src/domain/config.ts +++ b/packages/catalog/src/domain/config.ts @@ -17,7 +17,7 @@ export type CatalogConfig = { export const DEFAULT_CATALOG_CONFIG: CatalogConfig = { manifestUrl: - 'https://raw.githubusercontent.com/SirReaDy/ipaforge/main/catalog/sources.json', + 'https://raw.githubusercontent.com/IPAForge/ipaforge/main/catalog/sources.json', githubApi: 'https://api.github.com', maxDownloadBytes: 2 * 1024 * 1024 * 1024, requestTimeoutMs: 30_000, diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-ar-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-ar-chromium-linux.png index 2bb1cbe5..52215838 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-ar-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-ar-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-de-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-de-chromium-linux.png index 4bb64117..a5b2ee98 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-de-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-de-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-XA-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-XA-chromium-linux.png index aff47d0c..06b8da2a 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-XA-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-XA-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-chromium-linux.png index facedeca..80f4e623 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-dark-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-dark-chromium-linux.png index 1c7d5a48..00baad3e 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-dark-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-en-dark-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-ja-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-ja-chromium-linux.png index 1c240645..7dc9f02c 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-ja-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/changelog-ja-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-ar-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-ar-chromium-linux.png index 4b2e610f..1e8d70e3 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-ar-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-ar-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-de-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-de-chromium-linux.png index ff397800..e1386351 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-de-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-de-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-XA-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-XA-chromium-linux.png index bf24ec47..4f4647c7 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-XA-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-XA-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-chromium-linux.png index aab15d14..dae92dd3 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-dark-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-dark-chromium-linux.png index a1071541..7c15ba71 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-dark-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-en-dark-chromium-linux.png differ diff --git a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-ja-chromium-linux.png b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-ja-chromium-linux.png index f97f0ddf..9e3c53ae 100644 Binary files a/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-ja-chromium-linux.png and b/packages/ui/src/__screenshots__/screens.browser.test.tsx/whats-new-ja-chromium-linux.png differ diff --git a/packages/ui/src/__tests__/screens.ts b/packages/ui/src/__tests__/screens.ts index ca244a7f..d7d0c3d5 100644 --- a/packages/ui/src/__tests__/screens.ts +++ b/packages/ui/src/__tests__/screens.ts @@ -81,7 +81,7 @@ export const renderWhatsNew = async ({ }) ) await waitFor(() => - expect(all('[role="dialog"] li').length).toBeGreaterThanOrEqual(4) + expect(all('[role="dialog"] li')).toHaveLength(LATEST?.items.length ?? 0) ) } diff --git a/packages/ui/src/features/install/recovery/constants.ts b/packages/ui/src/features/install/recovery/constants.ts index 34ca84f6..ba0f832f 100644 --- a/packages/ui/src/features/install/recovery/constants.ts +++ b/packages/ui/src/features/install/recovery/constants.ts @@ -2,7 +2,7 @@ import { RecoveryAction as R } from '@ipaforge/rpc' import type { Fix } from '@ui/features/install/recovery/types.ts' /** Where problems are reported: Report the problem opens a new issue here, filled in. */ -export const ISSUES_URL = 'https://github.com/SirReaDy/ipaforge/issues' +export const ISSUES_URL = 'https://github.com/IPAForge/ipaforge/issues' const APPLE_ACCOUNT_URL = 'https://account.apple.com' const APPLE_DEVELOPER_URL = 'https://developer.apple.com/account' diff --git a/packages/ui/src/features/install/recovery/utils/issue-url.test.ts b/packages/ui/src/features/install/recovery/utils/issue-url.test.ts index 0bd5740d..1d401594 100644 --- a/packages/ui/src/features/install/recovery/utils/issue-url.test.ts +++ b/packages/ui/src/features/install/recovery/utils/issue-url.test.ts @@ -8,7 +8,7 @@ describe('issueUrl', () => { issueUrl('Install failed: device.locked', 'code: device.locked') ) expect(url.origin + url.pathname).toBe( - 'https://github.com/SirReaDy/ipaforge/issues/new' + 'https://github.com/IPAForge/ipaforge/issues/new' ) expect(url.searchParams.get('title')).toBe('Install failed: device.locked') expect(url.searchParams.get('body')).toContain( diff --git a/packages/ui/src/features/updates/update-gate.test.tsx b/packages/ui/src/features/updates/update-gate.test.tsx index 75ce5c71..42451db4 100644 --- a/packages/ui/src/features/updates/update-gate.test.tsx +++ b/packages/ui/src/features/updates/update-gate.test.tsx @@ -8,9 +8,9 @@ import { renderApp } from '@ui/__tests__/test-services.tsx' import { createFixedUpdateSource } from '@ui/services/updates/fixed-update-source.ts' const NEXT = '0.1.0-alpha.99' -const RELEASE = `https://github.com/SirReaDy/ipaforge/releases/tag/v${NEXT}` +const RELEASE = `https://github.com/IPAForge/ipaforge/releases/tag/v${NEXT}` const FILE = `IPAForge-${NEXT}-win-x64.msi` -const FILE_URL = `https://github.com/SirReaDy/ipaforge/releases/download/v${NEXT}/${FILE}` +const FILE_URL = `https://github.com/IPAForge/ipaforge/releases/download/v${NEXT}/${FILE}` const renderWith = (state: UpdateState) => { const updates = createFixedUpdateSource(state) diff --git a/packages/ui/src/features/whats-new/constants.ts b/packages/ui/src/features/whats-new/constants.ts index 73276c52..a8b17b11 100644 --- a/packages/ui/src/features/whats-new/constants.ts +++ b/packages/ui/src/features/whats-new/constants.ts @@ -3,7 +3,7 @@ import type { NoteKind, ReleaseNotes } from '@ui/features/whats-new/types.ts' import type { TranslationKey } from '@ui/i18n/setup/types.ts' /** IPAForge's releases on GitHub, each version's under `tag/v`. */ -export const RELEASES_URL = 'https://github.com/SirReaDy/ipaforge/releases' +export const RELEASES_URL = 'https://github.com/IPAForge/ipaforge/releases' /** The changelog page. */ export const WHATS_NEW_PATH = '/whats-new' @@ -40,6 +40,26 @@ export const noteKindDots = { * Add the new version's notes here with its release (docs/releases/.md has the longer ones). */ export const RELEASE_NOTES: readonly ReleaseNotes[] = [ + { + version: '0.1.0-alpha.5', + date: '2026-10-20', + lead: 'IPAForge has a home of its own, and stays open source for good.', + items: [ + { + kind: 'new', + title: 'A website', + text: 'ipaforge.github.io: what IPAForge does, the downloads, and a Discord to ask for help.' + }, + { + kind: 'changed', + text: 'IPAForge moves to github.com/IPAForge/ipaforge, and updates itself from there. Old links still work.' + }, + { + kind: 'changed', + text: 'IPAForge is now under the GNU AGPL-3.0: free to use, change and share, and anything built from it must stay open source too.' + } + ] + }, { version: '0.1.0-alpha.4', date: '2026-10-20', diff --git a/packages/ui/src/features/whats-new/whats-new.test.tsx b/packages/ui/src/features/whats-new/whats-new.test.tsx index e47f4196..4219a120 100644 --- a/packages/ui/src/features/whats-new/whats-new.test.tsx +++ b/packages/ui/src/features/whats-new/whats-new.test.tsx @@ -5,6 +5,8 @@ import { describe, expect, it } from 'vitest' import { t } from '@ui/__tests__/test-i18n.ts' import { renderApp } from '@ui/__tests__/test-services.tsx' import { + NOTE_KINDS, + noteKindKeys, RELEASE_NOTES, WHATS_NEW_SEEN_KEY } from '@ui/features/whats-new/constants.ts' @@ -26,16 +28,16 @@ describe("What's new", () => { const dialog = await screen.findByRole('dialog', dialogTitle) expect(dialog.textContent).toContain(LATEST?.lead) - // A section per kind of note: New, Changed and Fixed. + // A section per kind of note the version has, in the order New, Changed, Fixed, Removed. expect( within(dialog) .getAllByRole('heading', { level: 3 }) .map((heading) => heading.textContent) - ).toEqual([ - t('whatsNew.kind.new'), - t('whatsNew.kind.changed'), - t('whatsNew.kind.fixed') - ]) + ).toEqual( + NOTE_KINDS.filter((kind) => + LATEST?.items.some((item) => item.kind === kind) + ).map((kind) => t(noteKindKeys[kind])) + ) await user.click( within(dialog).getByRole('button', { name: t('whatsNew.dialog.close') }) diff --git a/packages/ui/src/screens.browser.test.tsx b/packages/ui/src/screens.browser.test.tsx index 152a9c7b..4b2d945a 100644 --- a/packages/ui/src/screens.browser.test.tsx +++ b/packages/ui/src/screens.browser.test.tsx @@ -28,7 +28,7 @@ import type { LanguageId } from '@ui/i18n/languages/types.ts' const LANGUAGES: readonly LanguageId[] = ['en', 'de', 'ar', 'ja', 'en-XA'] const NEXT = '0.1.0-alpha.99' -const RELEASE = `https://github.com/SirReaDy/ipaforge/releases/tag/v${NEXT}` +const RELEASE = `https://github.com/IPAForge/ipaforge/releases/tag/v${NEXT}` const screens = { 'install-home': async (options: ScreenOptions) => { diff --git a/packages/ui/src/services/engine/fake/fake-sources.ts b/packages/ui/src/services/engine/fake/fake-sources.ts index 76d0d907..42462ef9 100644 --- a/packages/ui/src/services/engine/fake/fake-sources.ts +++ b/packages/ui/src/services/engine/fake/fake-sources.ts @@ -119,7 +119,7 @@ export const createFakeSources = ( let entries: Entry[] = [ { id: 'ipaforge', - url: 'https://raw.githubusercontent.com/SirReaDy/ipaforge/main/catalog/sources.json', + url: 'https://raw.githubusercontent.com/IPAForge/ipaforge/main/catalog/sources.json', builtin: true, enabled: true, name: 'IPAForge catalog', diff --git a/packages/ui/src/services/updates/fake-updates.ts b/packages/ui/src/services/updates/fake-updates.ts index 9ccb2042..9f5f1b3f 100644 --- a/packages/ui/src/services/updates/fake-updates.ts +++ b/packages/ui/src/services/updates/fake-updates.ts @@ -3,7 +3,7 @@ import type { UpdateSource, UpdateState } from '@ipaforge/rpc' import { createFixedUpdateSource } from '@ui/services/updates/fixed-update-source.ts' const NEXT = '0.1.0-alpha.99' -const RELEASE = `https://github.com/SirReaDy/ipaforge/releases/tag/v${NEXT}` +const RELEASE = `https://github.com/IPAForge/ipaforge/releases/tag/v${NEXT}` /** A sample state for each phase. */ const sampleStates: Readonly> = {