Skip to content

Commit

Permalink
Add 6.2.0 key name, add tsec_root_key alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
SciresM committed Nov 24, 2018
1 parent 0388e1b commit 6546bfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extkeys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 3 additions & 1 deletion utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 6546bfd

Please sign in to comment.