summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-09-21 09:28:29 +0200
committerGravatar Nikias Bassen2022-09-21 09:28:29 +0200
commit6672bad275ed84a1c14e49cf24613261fe22098b (patch)
tree248cf34cf2279f20e65510dbec2ac1a2ec8f819a /src
parente9c800732b9a2be95f74b136ad6d2903d3bee56d (diff)
downloadidevicerestore-6672bad275ed84a1c14e49cf24613261fe22098b.tar.gz
idevicerestore-6672bad275ed84a1c14e49cf24613261fe22098b.tar.bz2
tss: Add NeRDEpoch to TSS requests for newer devices (iPhone 13 and up)
Diffstat (limited to 'src')
-rw-r--r--src/tss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tss.c b/src/tss.c
index c85758e..d8f9789 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -216,6 +216,7 @@ int tss_parameters_add_from_manifest(plist_t parameters, plist_t build_identity,
_plist_dict_copy_uint(parameters, build_identity, "eUICC,ChipID", NULL);
+ _plist_dict_copy_uint(parameters, build_identity, "NeRDEpoch", NULL);
_plist_dict_copy_data(parameters, build_identity, "PearlCertificationRootPub", NULL);
_plist_dict_copy_uint(parameters, build_identity, "Timer,BoardID,1", NULL);
@@ -289,6 +290,7 @@ int tss_request_add_ap_img4_tags(plist_t request, plist_t parameters)
}
_plist_dict_copy_data(request, parameters, "SepNonce", "ApSepNonce");
+ _plist_dict_copy_uint(request, parameters, "NeRDEpoch", NULL);
_plist_dict_copy_data(request, parameters, "PearlCertificationRootPub", NULL);
return 0;