Hi everyone,
[post edited 15.5.2017]
I created a small bash script to check integrity of files against hash found from Apostille. “.sig” files in e.g. http://bob.nem.ninja contain “txId” parameter that can be used to fetch cryptographic hash from Apostille (placed in NEM blockchain).
I downloaded today morning nis-ncc from bob and decided that I want to verify the signature. Unfortunately gpg told that .sig file does not contain anything that can be validated file with. Well, this led to investigation and I found a forum thread in which @rb2 and @filchef was pondering the same thing. From that thread I got some clues (cryptographic hashes are now moved to apostille) and I wrote general script that checks a file and signature file pair against hash found from NEM blockchain (apostille?).
Anyways, I am open to suggestions and improvements if anyone has anything to suggest.
Thread that inspired me is:
Script (checkIntegrityAgainstApostille.sh) can be found from:
https://github.com/whatilike/NemToolsLinux
So, if anyone downloads e.g. nis-ncc-0.6.87.tgz and nis-ncc-0.6.87.tgz.sig and wants to check that SHA256 hash is actually same than referenced in .sig file, you just need to run script with the filename “./checkIntegrityAgainstApostille.sh nis-ncc-0.6.87.tgz”.
Hmm, maybe I should write a powershell script also to do the same thing.
PS. I am new to this NEM thing, please forgive me any technical incorrectness in any subject
br,
SCF