You must legally dump these keys from your own Nintendo Switch console. The standard method involves:
If it’s empty or has garbage text, re-extract keys.
./hactool --keyset=~/switch/prod.keys game.nsp
: If the keys are working but you want to hide the message, you can use the command --disablekeywarns exact command-line syntax for extracting a specific file type like XCI or NCA?
Use quotes in the variable value. On Windows, avoid spaces by moving the keys file to a simple path like C:\keys\prod.keys .