Is there any point hashing Switch NCAs/NSPs?

General No-Intro related discussions.
Post Reply
Hiccup
Datter
Posts: 644
Joined: 09 Oct 2015 11:29

Is there any point hashing Switch NCAs/NSPs?

Post by Hiccup » 06 Apr 2019 15:25

NCAs are totally self-verifying as they use a hash hiarchy and signatures. The CNMT NCA of each title version contains SHA256 hashes and sizes of each NCA. So is there really any point of hashing Switch NCAs as they are done now?
Couldn't the dat be replaced simply by a dat of CNMT NCAs (which are small metadata files) and for easy use, the DoM metadata could list the sizes and hashes listed in that CNMT?

Whovian9369
Datter
Posts: 68
Joined: 09 Sep 2016 18:36

Re: Is there any point hashing Switch NCAs/NSPs?

Post by Whovian9369 » 06 Apr 2019 23:33

I'd say yes, since the NCA names are SHA256, which we don't normally dat.

So I'd say that we should dat them as normal.

Hiccup
Datter
Posts: 644
Joined: 09 Oct 2015 11:29

Re: Is there any point hashing Switch NCAs/NSPs?

Post by Hiccup » 07 Apr 2019 14:07

Its true that SHA256 isn't supported by ROM managers/datfiles, but that seems like a minor thing...

But in general, I think maybe it would be best to dat them normally, "just in case".

Post Reply