#NEWLINE# def _get_key_finger( self , path ) : #NEWLINE# #INDENT# '\n        Return a sha256 kingerprint for the key\n        ' #NEWLINE# with salt . utils . fopen ( path , 'r' ) as fp_ : #NEWLINE# #INDENT# keydata = self . serial . loads ( fp_ . read ( ) ) #NEWLINE# key = 'pub: {0}\nverify: {1}' . format ( keydata [ 'pub' ] , keydata [ 'verify' ] ) #NEWLINE# #UNINDENT# return hashlib . sha256 ( key ) . hexdigest ( )