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.