summaryrefslogtreecommitdiffstats
path: root/src/tss.c
AgeCommit message (Collapse)AuthorFilesLines
2021-06-07tss: fix restore rules not applied for recoveryosGravatar Benjamin BOURGEAIS1-4/+0
2021-05-08tss: Add new callsGravatar Benjamin BOURGEAIS1-3/+342
- Local policy (non persistent) - recoveryOS - recoveryOS Local policy (persistent) The local policy TSS request differs slightly between the one for the restore process and the recoveryOS. The one for the restore process is meant to be used only once, and the one for the recovery os is meant to be loaded from disk, and thus has a different request. See the Ap,LocalBoot parameter.
2020-10-16fix two English typosGravatar Yves-Alexis Perez1-1/+1
2020-06-23tss: Fix logical bug in tss_request_add_ap_tags() when selecting 'only ↵Gravatar Nikias Bassen1-2/+6
firmware components'
2020-06-08Remove trailing whitespace errors from all filesGravatar Martin Szulecki1-1/+1
2020-04-20Use uint64_t and appropriate standard PRI* format specifiers everywhereGravatar Nikias Bassen1-1/+1
2019-09-27tss: Fix Baseband TSS request for iPhone XSGravatar Nikias Bassen1-11/+13
2019-09-25tss: Add support for new Vinyl (eUICC), Rose (Rap), and Veridian (BMU) ↵Gravatar Nikias Bassen1-2/+291
ticket requests
2019-09-11tss: Fix crash due to use-after-free in tss_request_send() if connection failsGravatar 1377349491-3/+4
2019-08-29Add support to "preboard" a device on update restore to prevent 'Attempting ↵Gravatar Nikias Bassen1-0/+8
data recovery'
2019-08-29tss: Properly apply RestoreRequestRules which can also be EPRO:false or ↵Gravatar Nikias Bassen1-4/+4
ESEC:false instead of always assuming true
2019-08-29tss: Allow missing ApECID in tss_request_add_common_tags()Gravatar Nikias Bassen1-4/+2
2019-08-29tss: Silence warnings about missing BbChipID and BbSkeyId entriesGravatar Nikias Bassen1-2/+2
2019-01-25restore: Move Yonkers component selection code to tss_request_add_yonkers_tags()Gravatar Nikias Bassen1-1/+66
2019-01-24restore: Fix Savage firmware handling for iPhone XR/XS/XS maxGravatar Nikias Bassen1-10/+26
2019-01-16restore/tss: Add support for Yonkers firmware data and TSS requestGravatar Rudolf Tammekivi1-0/+90
2019-01-16restore: Add support for newer SEP firmware (Chip ID 0x64)Gravatar Nikias Bassen1-18/+11
2018-04-27tss: Warn about unsupported SE,ChipID value and prevent passing NULL key to ↵Gravatar Nikias Bassen1-1/+3
plist_dict_get_item()
2018-04-27Decide what to do when updating SE firmware based on chip IDGravatar BALATON Zoltan1-6/+17
This should be more accurate than guessing based on what is in the build identity and avoid doing unexpected things for unknown hardware.
2017-11-13Define a constant for user agent string instead of duplicate stringsGravatar BALATON Zoltan1-1/+1
2017-11-06Add support for Savage firmware updating (found in iPhone X)Gravatar Nikias Bassen1-0/+167
2016-09-30tss: Add helper function to create Secure Element TSS requestGravatar Nikias Bassen1-0/+106
2016-06-26tss: Add 'OS' entry to TSS request, required for iOS 10Gravatar Nikias Bassen1-1/+1
2015-05-05tss: Fix request for older devices (such as iPhone 3G). We only needGravatar BALATON Zoltan1-5/+9
to add digest for Trusted items.
2014-10-28tss: Make ApECID key mandatory and also use it for baseband TSS requestsGravatar Martin Szulecki1-18/+9
2014-10-28tss: Intercept server status code 126 indicating malformed requestGravatar Martin Szulecki1-0/+3
2014-10-21tss: Fix request xml adding new tags and missing partsGravatar BALATON Zoltan1-1/+28
2014-10-21tss: handle status code 69Gravatar BALATON Zoltan1-1/+1
The corresponding message was also "This device isn't eligible for the requested build" with this status code.
2014-03-22Use "plist_dict_set_item" instead of deprecated "plist_dict_insert_item"Gravatar Martin Szulecki1-42/+42
2014-03-21move curl_global_init/_cleanup to a global contextGravatar Nikias Bassen1-2/+0
2014-02-09tss: make Bb*KeyHash "WARNING:" debug messages and sound less dramaticGravatar Nikias Bassen1-4/+4
2014-02-09tss: make "ERROR: Unable to find %s entry in TSS response" debug messages ↵Gravatar Nikias Bassen1-3/+3
and sound less harmful
2014-01-07tss: make tss_write_callback staticGravatar Nikias Bassen1-1/+1
2013-12-02tss: don't fail if BbChipID is missing for devices without basebandGravatar Nikias Bassen1-6/+6
2013-12-01tss: silence compiler warning about variable signednessGravatar Nikias Bassen1-1/+1
2013-11-27Refactor TSS parameter handling and parse RestoreRequestRules properlyGravatar Nikias Bassen1-133/+281
2013-11-20tss: Add FIXME note to properly parse build manifest rulesGravatar Martin Szulecki1-0/+1
2013-11-20tss: Make sure to free iter variable in loopsGravatar Martin Szulecki1-0/+4
2013-11-20tss: remove Info node from BasebandFirmware data for TSS requestGravatar Nikias Bassen1-1/+5
2013-11-20restore/tss: do not add an empty BbNonce node to TSS requestGravatar Nikias Bassen1-5/+3
2013-11-20tss: add ApProductionMode to Image4 tss requestGravatar Nikias Bassen1-0/+12
2013-11-20tss: add ApECID to Image4 tss requestGravatar Nikias Bassen1-0/+9
2013-11-20tss: correctly name SepNonce (instead of ApSepNonce) for tss requestGravatar Nikias Bassen1-1/+1
2013-11-20tss: Split img3 tag add helpers into common, img3 and img4Gravatar Martin Szulecki1-1/+10
2013-11-20tss: Fix Image4 ticket getter which used the wrong key nameGravatar Martin Szulecki1-1/+1
2013-11-20tss: Fix check on ApSecurityMode which is a booleanGravatar Martin Szulecki1-1/+1
2013-11-19tss: only add EPRO/ESEC if we are sending an Image4 requestGravatar Nikias Bassen1-3/+4
2013-11-19tss: Check for ApSecurityDomain as uint instead of string correctlyGravatar Martin Szulecki1-2/+2
2013-11-19tss: Fix typos in Ap keys which caused faulty require errorsGravatar Martin Szulecki1-6/+6
2013-11-19tss: Fix check on ApECID as uint instead of stringGravatar Martin Szulecki1-1/+1