def _get_key_finger(self, path):
        with salt.utils.fopen(path, 'r') as fp_:
            keydata = self.serial.loads(fp_.read())
            key = 'pub: {0}\nverify: {1}'.format(
                    keydata['pub'],
                    keydata['verify'])
        return hashlib.sha256(key).hexdigest()
Return a sha256 kingerprint for the key
dataset/ETHPy150Open saltstack/salt/salt/key.py/RaetKey._get_key_finger