def raise_weak_signature(certificate):

    message = 'Server certificate verification failed - weak certificate signature algorithm'
    raise TLSVerificationError(message, certificate)
Raises a TLSVerificationError when a certificate uses a weak signature
dataset/ETHPy150Open wbond/oscrypto/oscrypto/_tls.py/raise_weak_signature