• imgtool: add 'getpubhash' command to dump the sha256 hash of the public key