

def add_device(self, bind_data, cert, transports=0):
    certificate = object_session(self).query(Certificate).filter((Certificate.fingerprint == b2a_hex(cert.fingerprint(hashes.SHA1())))).first()
    if (certificate is None):
        certificate = Certificate(cert)
    return Device(self, cert, certificate, transports)

dataset/ETHPy150Open Yubico/u2fval/u2fval/model.py User.add_device/VarMisuse@79/92 `bind_data`->`cert`