diff options
author | Nikias Bassen | 2022-09-21 09:28:29 +0200 |
---|---|---|
committer | Nikias Bassen | 2022-09-21 09:28:29 +0200 |
commit | 6672bad275ed84a1c14e49cf24613261fe22098b (patch) | |
tree | 248cf34cf2279f20e65510dbec2ac1a2ec8f819a | |
parent | e9c800732b9a2be95f74b136ad6d2903d3bee56d (diff) | |
download | idevicerestore-6672bad275ed84a1c14e49cf24613261fe22098b.tar.gz idevicerestore-6672bad275ed84a1c14e49cf24613261fe22098b.tar.bz2 |
tss: Add NeRDEpoch to TSS requests for newer devices (iPhone 13 and up)
-rw-r--r-- | src/tss.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |