If your keys are on your Desktop:
Place the file in: ~/.switch/
bao3 commented. bao3. on Dec 27, 2020 · edited by bao3. OK. I had the same issue,but I fixed it , just put the prod.keys at $HOME/ hactool prod.keys does not exist
When running hactool without a properly placed keyset file, the program will display a warning: [WARN] prod.keys does not exist . This occurs because the tool requires specific cryptographic keys to decrypt and extract Nintendo Switch files like NCAs or XCIs. Feature Implementation: Key Placement If your keys are on your Desktop: Place the file in: ~/
Locate your prod.keys file. Ensure it is a plain text file. but I fixed it