As of Nintendo Switch Firmware 9.0.0, Nintendo retroactively added key generations for some public keys, including NCA Header and ACID public keys, so the various generations for these public keys will have to be supplied by the user.Header Signature is verified only in Program titles, by retrieving the with public key from the AccessControlInfoDesc stored in the code partition. | NCA | Header Signature, Header Signature | Header Signature is verified with the appropriate user supplied NCA Header public key. AccessControlInfoDesc signature is verfied with the appropriate user supplied ACID public key. | META | AccessControlInfo fields, AccessControlInfoDesc signature | AccessControlInfo fields are validated against the AccessControlInfoDesc. | NX GameCard Image | XCI Header Signature, HFS0 Hashes | XCI header signature is verified with user supplied XCI Header public key. | ES Ticket | Signature | If the user specifies a certificate chain with -cert option, the ticket will be verified against that certificate chain. Root signed certificates are verified with user supplied Root public key. | ES Certificate | Signature | If certificate is part of a certificate chain it will validate it as part of that chain. See the below table for file types that support optional validation: To validate files with NSTool, enable the verify mode with the -y or -verify option: nstool -y some_file.bin Some file types have signatures/hashes/fields that can be validated by NSTool, but this mode isn't enabled by default. | aset, asset | Homebrew NRO Asset Binary | Validate Input File | nacp | Nintendo Application Control Property | See below for a list of supported file type codes: In that example cnmt was selected, NSTool would process the file as Content Metadata. However you can override this and manually specify the file type with the -t or -type option: nstool -t cnmt some_file.bin NSTool will in most cases correctly identify the file type. To output all information, enable the verbose output mode with the -v or -verbose option: nstool -v some_file.bin To output key data generation and selection, use the -showkeys option: nstool -showkeys some_file.bin To output file-layout information, use the -showlayout option: nstool -showlayout some_file.bin However not all information is shown in this mode file-layout, key data and properties set to default values are omitted. To display general information the usage is as follows: nstool some_file.bin The default mode of NSTool is to show general information about a file. Nintendo Relocatable Object ( NRO0) (.nro).Nintendo Application Control Property (.nacp).General purpose reading/extraction tool for Nintendo Switch file formats.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |