Repository navigation
Releases
AltServer-Linux-NG 2026-11-05
AltServer-Linux-NG 2026-11-05
A stable anisette identity, automatic choice between trusted-device and SMS two-factor codes, and logs
without secrets. Details in README-NG.md,
Fixes 5, 7 and 8 and "Log output".
Anisette v3: one identity, a code only once (Fix 8). AltServer-Linux now speaks the anisette v3
protocol (SideStore's anisette-v3-server, as omnisette and Sideloader do). It provisions one identity
through the server and Apple, and keeps it on this computer. Apple then sees the same Mac at every
sign-in and stops asking for a verification code every week. A v1 server such as new.ani.sidestore.io's
GET / hands out a new identity on every request. AltStore receives the same identity when it asks
AltServer for anisette data.
New default anisette server: https://new.ani.sidestore.io. It provides Mac anisette (required since
2026-10-21, Fix 5) and speaks v3. mac-ani.jkcoxson.com no longer works: since 2026-11-05 Apple
answers its identity with -80043, even for a made-up account.
Two-factor codes by SMS (Fix 7). Accounts without a trusted Apple device get their code by SMS.
AltServer only knew the trusted-device flow, so for these accounts the sign-in kept asking for a code.
SMS codes now go through Apple's SMS endpoints
(/auth/verify/phone, as rileytestut/AltSign#62 and isideload). The method is chosen automatically from
the account's 2FA info. At the code prompt, resend requests one new SMS.
The anisette identity is now also kept through a 2FA sign-in. With a server that rotates identities,
the code was validated for one device and the second sign-in came from another.
No secrets in the output. The log, with or without -d, no longer shows the GSA token (valid for
a year), the decrypted sign-in response, SRP byte dumps, SMS response bodies or anisette values. It
shows the steps, status codes, au/hsc and the first 8 characters of the anisette device ID.
-d also turns on libimobiledevice's own debug output for the device connection, as before.
Settings
| Variable | Values | Default |
|---|---|---|
ALTSERVER_ANISETTE_SERVER |
anisette server URL; must provide Mac anisette | https://new.ani.sidestore.io |
ALTSERVER_ANISETTE_PROTOCOL |
auto (v3 if the server answers /v3/client_info, else v1), v3, v1 |
auto |
ALTSERVER_2FA |
auto (from the account's 2FA info), sms, trusteddevice |
auto |
ALTSERVER_CLIENT_INFO, ALTSERVER_GSA_USER_AGENT |
unchanged (Fix 4) |
The v3 identity is kept in $XDG_CONFIG_HOME/AltServer/anisette-v3/<host>.json
(by default ~/.config/AltServer/anisette-v3/new.ani.sidestore.io.json), readable by its owner only.
Treat it like a password. Delete it to start over with a new identity; Apple will then ask for a code once.
The v3 client honours HTTPS_PROXY, HTTP_PROXY and NO_PROXY.
Tested
- x86_64 on Ubuntu with netmuxd over Wi-Fi, iOS 27.0: v3 provisioning, sign-in with the automatic 2FA
choice (trusted-device path), app installed. AltStore through AltServer then used the same identity
without a code. The full log had no secrets. This was the build before the final review fixes, which
change only the v3 client's proxy selection, its error handling and the identity file name for URLs
with a path. ALTSERVER_2FA=smswith an account that had no trusted device, on 2026-11-05: SMS code accepted,
app installed.- aarch64 (native) and x86_64 offline: with a made-up account, v3 provisioning against
new.ani.sidestore.io, the saved identity reused on the next run, and Apple answering at the
account level (-20970) both times, so the anisette passed every check before the password.
The logs had no secrets.
Not tested
- The automatic SMS choice (
noTrustedDevices) on a real account without a trusted device. If it
picks the trusted-device path for such an account, the sign-in ends with "Apple accepted the
verification code but still requires two-factor authentication".ALTSERVER_2FA=smsis the
known-good setting for that case. - armv7 and i586 at runtime (they build).
- Installs over USB.
AltStore's own SMS problem is not fixed here. AltStore signs in on the device itself, so its SMS bug
(altstoreio/AltStore#1844) stays as it is. As before, signing in once with this AltServer on the command
line lets AltStore borrow the identity Apple already trusts.
Binaries: AltServer-x86_64, AltServer-aarch64, AltServer-armv7, AltServer-i586, static builds
as before.
AltServer-Linux-NG 2026-10-20
Fixes for Apple's October 2026 sign-in changes. Since 2026-10-13 sign-ins from AltServer, AltStore, SideStore, Sideloadly and iLoader fail with -80045, and accounts with two-factor authentication then fail with -22411 without a code prompt. Details in README-NG.md.
-80045. Apple now checks that the client info matches the platform the anisette data was provisioned as. Measured against a local dadoum/anisette-v3-server, the anisette server's own Mac string is refused with -80045, an Android string gets HTTP 503, and the Windows iTunes identity reaches the normal account check. The default client info is now that Windows identity. ALTSERVER_CLIENT_INFO overrides it (anisette passes the server's own value through), and ALTSERVER_GSA_USER_AGENT overrides the GrandSlam User-Agent.
-22411 after the password. Apple now pushes the verification code by itself and answers with hsc 409 and no au. Ported rileytestut/AltSign#59: that response now leads to the code prompt instead of failing, and anisette data is refreshed before the code is validated.
AltStore still shows -22411 without a code prompt? That bug is inside the AltStore app. Sign in once with this AltServer on the command line and enter the code there. Apple then trusts the anisette identity, and AltStore, which borrows it from AltServer, signs in without a code. Verified on iOS 27: AltStore Classic from AltStore PAL signed in afterwards and re-signed and installed an app through this AltServer over Wi-Fi.
Also included, contributed by @ojura:
X-Apple-I-Client-Timeis parsed as UTC and validated (#1). Before, the client time sent to Apple was shifted by the host's UTC offset.- Bonjour advertising loads
libdns_sd.so.1, so the runtime Avahi compat package suffices, and fixes a pointer-size bug and the encoding of TXT bytes above 0x80 (#2).
Known cosmetic issue: "Signing Progress" lines print meaningless tiny numbers. Signing itself is unaffected.
Binaries: AltServer-x86_64, AltServer-aarch64, AltServer-armv7, AltServer-i586, static builds as before.
AltServer-Linux-NG 2026-09-13
AltServer-Linux fork that installs and signs apps for iOS 26.4 / 27 over Wi-Fi or USB. Upstream v0.0.5 (2022) fails on modern iOS for three independent reasons, all fixed here. Details and root-cause analysis in README-NG.md.
Fix 1 — signature rejected by iOS 26.4+ (AMFI: cmsBlobVerifyWithAgilityHash failed). The vendored 2022 ldid wrote the SHA-256 cdhash into the CMS hash-agility attribute truncated to 20 bytes; Apple requires the full 32. Replaced with the ldid from AltServer for Windows 1.7.4 (rileytestut/AltServer-Windows 62a7a2b), plus the small Signer.cpp adaptation for Linux.
Fix 2 — Apple ID sign-in blocked (HTTP 503 since September 2026). X-Mme-Client-Info is sanitized (com.apple.dt.Xcode → com.apple.akd) before the anisette data is used or handed to AltStore, the GrandSlam User-Agent is the current AuthKit string, and every GSA request uses a fresh connection.
Fix 3 — netmuxd ≥ 0.3 addressing. libimobiledevice now accepts both the BSD and the Linux NetworkAddress layout, so USBMUXD_SOCKET_ADDRESS can point straight at netmuxd; the old Unsupported address family 0x00 error is gone.
Verified on an iPhone running iOS 27: AltStore installed from Linux launches with no CoreTrust errors, and AltStore-driven installs through the daemon work.
Binaries are static builds from the upstream Alpine builder images: AltServer-x86_64, AltServer-aarch64, AltServer-armv7, AltServer-i586. Usage is unchanged:
ALTSERVER_ANISETTE_SERVER=http://127.0.0.1:6969 USBMUXD_SOCKET_ADDRESS=127.0.0.1:27015 \
./AltServer-x86_64 -u <UDID> -a <apple-id> -p <password> AltStore.ipa
Run without arguments for daemon mode (Bonjour-advertised, for AltStore on the device). Source: branch ng; submodules upstream_repo and libraries/libimobiledevice point at patched forks so git clone --recursive -b ng builds as-is.