Skip to content

Commit

Permalink
tss: Make missing ApNonce non-fatal for IMG3
Browse files Browse the repository at this point in the history
For IMG3 devices, DFU does not provide ApNonce, but a valid SHSH
is needed to boot into iBSS (which then does provide ApNonce).

Thanks to @tihmstar for providing the fix!
  • Loading branch information
nikias committed Sep 13, 2023
1 parent 7943b63 commit 5a00bbd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tss.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,7 @@ int tss_request_add_ap_img3_tags(plist_t request, plist_t parameters)
}

if (_plist_dict_copy_data(request, parameters, "ApNonce", NULL) < 0) {
error("ERROR: Unable to find required ApNonce in parameters\n");
return -1;
error("WARNING: Unable to find ApNonce in parameters\n");
}

plist_dict_set_item(request, "@APTicket", plist_new_bool(1));
Expand Down

0 comments on commit 5a00bbd

Please sign in to comment.