From c7fe4dc5da57b79b3b4bc62b5c122f246cea4e51 Mon Sep 17 00:00:00 2001 From: Tobias Perschon Date: Fri, 27 Oct 2023 17:09:49 +0200 Subject: [PATCH] remove manual cert validation for vorwerk connections --- pybotvac/cert/ksecosys.com.crt | 36 ---------------------------------- pybotvac/vorwerk.py | 4 +--- 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 pybotvac/cert/ksecosys.com.crt diff --git a/pybotvac/cert/ksecosys.com.crt b/pybotvac/cert/ksecosys.com.crt deleted file mode 100644 index 0022397..0000000 --- a/pybotvac/cert/ksecosys.com.crt +++ /dev/null @@ -1,36 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIGMzCCBRugAwIBAgIQD5HqMsUA6BwpvxxeNCAkfzANBgkqhkiG9w0BAQsFADCB -jzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G -A1UEBxMHU2FsZm9yZDEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMTcwNQYDVQQD -Ey5TZWN0aWdvIFJTQSBEb21haW4gVmFsaWRhdGlvbiBTZWN1cmUgU2VydmVyIENB -MB4XDTIyMDcwNzAwMDAwMFoXDTIzMDcwNzIzNTk1OVowGTEXMBUGA1UEAwwOKi5r -c2Vjb3N5cy5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDFcyPy -ey9IumJwoOrkjtE/W2r0IgfaNm+YF+UQTq2qMekUy2JatJJ4ddxkOj8aMjXV2IdB -lHKbM+kdWd2PqdnaS4uk1AfEN6/SkGVoiwh3i7DctoijTieqYl99K18D8Rf8AsYh -BhPmOzOrUiwKmJj+iv4EQ7NzQTysLIwVuAyHYsazq8DOMTSIuL4NR5ZcACxfRHo+ -lNilnfhqmhpWLvVqenhvMF5SRDGDgXy9uGS3WyUVHrJ3MF4w/LSDtg4XMeMXr5TU -d+4ehY7Q07WnyAZho6vmaqYASXi1mePyWg57lrCZB6z/zy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/9KK -v7a1Yortb5/8EDTVw5/7EpAmsDANBgkqhkiG9w0BAQsFAAOCAQEAnInCkRNqSiCB -561X4DPBXFwfTnguFOnbtb9u2O0REBAsmGbR1xDm442VVnEOmIn6EN4kr0EPA8jS -CvBoE1tsGocRilZJaicI4P1tKMZrbKYRYoNGbLRpRMEWp4PwblPUhDmzJT0gHAn8 -mF4oIyX+/2ocQq2YZKO7bR7WLqjDK7puZUCJvpDhhsCIlV+DkfWqO4CZFq74wskQ -IzCJhRUrQMhpAOrACaFot80wmrHEx7unNV++B6m1gb8e+tXMXJ3kp7Z7lKKPc+xW -TLAiRt4Ln6P5UzGVZmNtyyYWysW/+DlbYKGUetHUcDxp9Cx+nxb2mTfXRHPQZumO -pr+HrJaOoQ== ------END CERTIFICATE----- diff --git a/pybotvac/vorwerk.py b/pybotvac/vorwerk.py index a38da5c..b2ba0ff 100644 --- a/pybotvac/vorwerk.py +++ b/pybotvac/vorwerk.py @@ -1,5 +1,3 @@ -import os - from .neato import Vendor @@ -11,4 +9,4 @@ class Vorwerk(Vendor): scope = ["openid", "email", "profile", "read:current_user", "offline_access"] audience = "https://mykobold.eu.auth0.com/userinfo" source = "vorwerk_auth0" - cert_path = os.path.join(os.path.dirname(__file__), "cert", "ksecosys.com.crt") + cert_path = True