From 1d680c2098ec751b16ac2bcc6c566f1c2bfa5921 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 20 Jan 2024 11:16:25 +0800 Subject: [PATCH] Update SWITCH_KEYS.md to indicate title.keys is now supported. --- SWITCH_KEYS.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/SWITCH_KEYS.md b/SWITCH_KEYS.md index 1834679..70ea97a 100644 --- a/SWITCH_KEYS.md +++ b/SWITCH_KEYS.md @@ -203,4 +203,18 @@ nstool <32 char rightsid>.tik ##### Personalised Tickets If the ticket is personalised (encrypted with console unique RSA key), NSTool will not support it. You will need to use extract the title key with another tool and pass the encrypted title key directly with the `--titlekey` option. -# Title \ No newline at end of file +# Title Keys (title.keys) +In order for NSTool to decrypt NCA files that use external content keys, the ticket or key data be provided to NSTool. For convience NSTool supports the hactool `title.keys` format. This file can store a dictionary of title keys, so that specifying a ticket or key data manually is not required, provided it is present in `title.keys`. This file must be present in: ___$HOME/.switch/___ . + +## Format +* This file is in the format of (rights_id, title_key) pairs, each on their own line. +* There is no limit on the number of pairs. +* The `;` is the comment indicator. When parsing a file, it is treated as a new line character. +* The format is case insensitive + + +### Example +For example if rights id `010003000e1468000000000000000008` had a title key `8fa820b219781d331cca08968e6e5b52`, the row would look like this: +``` +010003000e1468000000000000000008 = 8fa820b219781d331cca08968e6e5b52 +``` \ No newline at end of file