#NEWLINE# def check_signature_algorith_for_sha1( self , cert_item ) : #NEWLINE# #INDENT# '\n        alert when a cert is using sha1 for the hashing part of\n         its signature algorithm.\n        Microsoft and Google are aiming to drop support for sha1 by January 2017.\n        ' #NEWLINE# sig_alg = cert_item . config . get ( 'signature_algorithm' , None ) #NEWLINE# if ( sig_alg and ( 'sha1' in sig_alg . lower ( ) ) ) : #NEWLINE# #INDENT# self . add_issue ( 1 , 'Cert uses an SHA1 signature Algorithm' , cert_item , notes = sig_alg )