gibaBR / Switch-Backup-Manager

Complete Switch Backups management tool
375 stars 53 forks source link

fallback if MasterKey revision not supported by hactool #67

Closed garoxas closed 6 years ago

garoxas commented 6 years ago

recently it occurs to me that MasterKey revision info is taken directly from hactool, so there's a chance that user is using an old hactool that doesn't handle newer MasterKey revision for example, MasterKey4 is only supported on hactool 1.2.0 while MasterKey5 is not handled as of now

so I'm thinking to add a fallback implementation where if hactool returns Unknown for MasterKey firmware version, we handle it internally so we don't have to rely completely on hactool