Add 6.2.0 key name, add tsec_root_key alias.

This commit is contained in:
Michael Scire 2018-11-24 01:03:40 -08:00
parent 0388e1bdaa
commit 6546bfda4c
2 changed files with 4 additions and 2 deletions

View File

@ -260,7 +260,7 @@ void extkeys_initialize_keyset(nca_keyset_t *keyset, FILE *f) {
} else if (strcmp(key, "tsec_key") == 0) {
parse_hex_key(keyset->tsec_key, value, sizeof(keyset->tsec_key));
matched_key = 1;
} else if (strcmp(key, "tsec_root_key") == 0) {
} else if (strcmp(key, "tsec_root_key") == 0 || strcmp(key, "tsec_root_key_00") == 0) {
parse_hex_key(keyset->tsec_root_key, value, sizeof(keyset->tsec_root_key));
matched_key = 1;
} else if (strcmp(key, "beta_nca0_exponent") == 0) {

View File

@ -196,7 +196,9 @@ const char *get_key_revision_summary(uint8_t key_rev) {
case 4:
return "5.0.0-5.1.0";
case 5:
return "6.0.0-6.0.1";
return "6.0.0-6.1.0";
case 6:
return "6.2.0-";
default:
return "Unknown";
}