IOS/ES: Add VerifyContainer

Will be used from several functions to verify the signatures for
different containers (TMDs, tickets, device signed blobs).

An option was added to disable signature checks, because that could be
useful for people trying to import unsigned stuff.
This commit is contained in:
Léo Lam
2017-06-11 15:00:33 +02:00
parent 34c9bf391e
commit 88348e2903
4 changed files with 159 additions and 0 deletions

View File

@ -168,6 +168,8 @@ struct SConfig : NonCopyable
std::set<std::pair<u16, u16>> m_usb_passthrough_devices;
bool IsUSBDeviceWhitelisted(std::pair<u16, u16> vid_pid) const;
bool m_enable_signature_checks = true;
// SYSCONF settings
int m_sensor_bar_position = 0x01;
int m_sensor_bar_sensitivity = 0x03;