Skip to content

Commit 6546bfd

Browse files
committed
Add 6.2.0 key name, add tsec_root_key alias.
1 parent 0388e1b commit 6546bfd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

extkeys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ void extkeys_initialize_keyset(nca_keyset_t *keyset, FILE *f) {
260260
} else if (strcmp(key, "tsec_key") == 0) {
261261
parse_hex_key(keyset->tsec_key, value, sizeof(keyset->tsec_key));
262262
matched_key = 1;
263-
} else if (strcmp(key, "tsec_root_key") == 0) {
263+
} else if (strcmp(key, "tsec_root_key") == 0 || strcmp(key, "tsec_root_key_00") == 0) {
264264
parse_hex_key(keyset->tsec_root_key, value, sizeof(keyset->tsec_root_key));
265265
matched_key = 1;
266266
} else if (strcmp(key, "beta_nca0_exponent") == 0) {

utils.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ const char *get_key_revision_summary(uint8_t key_rev) {
196196
case 4:
197197
return "5.0.0-5.1.0";
198198
case 5:
199-
return "6.0.0-6.0.1";
199+
return "6.0.0-6.1.0";
200+
case 6:
201+
return "6.2.0-";
200202
default:
201203
return "Unknown";
202204
}

0 commit comments

Comments
 (0)