mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
Merge pull request #9324 from v1993/master
crypto: use user-provided keys whenever possible
This commit is contained in:
commit
ef6144bf48
1 changed files with 4 additions and 4 deletions
|
@ -578,18 +578,18 @@ KeyManager::KeyManager() {
|
||||||
|
|
||||||
if (Settings::values.use_dev_keys) {
|
if (Settings::values.use_dev_keys) {
|
||||||
dev_mode = true;
|
dev_mode = true;
|
||||||
LoadFromFile(yuzu_keys_dir / "dev.keys", false);
|
|
||||||
LoadFromFile(yuzu_keys_dir / "dev.keys_autogenerated", false);
|
LoadFromFile(yuzu_keys_dir / "dev.keys_autogenerated", false);
|
||||||
|
LoadFromFile(yuzu_keys_dir / "dev.keys", false);
|
||||||
} else {
|
} else {
|
||||||
dev_mode = false;
|
dev_mode = false;
|
||||||
LoadFromFile(yuzu_keys_dir / "prod.keys", false);
|
|
||||||
LoadFromFile(yuzu_keys_dir / "prod.keys_autogenerated", false);
|
LoadFromFile(yuzu_keys_dir / "prod.keys_autogenerated", false);
|
||||||
|
LoadFromFile(yuzu_keys_dir / "prod.keys", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
LoadFromFile(yuzu_keys_dir / "title.keys", true);
|
|
||||||
LoadFromFile(yuzu_keys_dir / "title.keys_autogenerated", true);
|
LoadFromFile(yuzu_keys_dir / "title.keys_autogenerated", true);
|
||||||
LoadFromFile(yuzu_keys_dir / "console.keys", false);
|
LoadFromFile(yuzu_keys_dir / "title.keys", true);
|
||||||
LoadFromFile(yuzu_keys_dir / "console.keys_autogenerated", false);
|
LoadFromFile(yuzu_keys_dir / "console.keys_autogenerated", false);
|
||||||
|
LoadFromFile(yuzu_keys_dir / "console.keys", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool ValidCryptoRevisionString(std::string_view base, size_t begin, size_t length) {
|
static bool ValidCryptoRevisionString(std::string_view base, size_t begin, size_t length) {
|
||||||
|
|
Loading…
Reference in a new issue