From 8c77c57d4c95aa5ec18f6de910ef5bfe27c675c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Date: Mon, 18 Aug 2014 21:08:11 +0000 Subject: [PATCH] document tls_fingerprint --- vdirsyncer/storage/dav.py | 2 ++ vdirsyncer/storage/http.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/vdirsyncer/storage/dav.py b/vdirsyncer/storage/dav.py index bb43a57..169d52c 100644 --- a/vdirsyncer/storage/dav.py +++ b/vdirsyncer/storage/dav.py @@ -223,6 +223,8 @@ class DavStorage(Storage): :param password: Password for authentication. :param verify: Verify SSL certificate, default True. This can also be a local path to a self-signed SSL certificate. + :param tls_fingerprint: Optional. SHA1 or MD5 fingerprint of the + expected server certificate. :param auth: Optional. Either ``basic``, ``digest`` or ``guess``. Default ``guess``. If you know yours, consider setting it explicitly for performance. diff --git a/vdirsyncer/storage/http.py b/vdirsyncer/storage/http.py index 4bc2757..4e0ef11 100644 --- a/vdirsyncer/storage/http.py +++ b/vdirsyncer/storage/http.py @@ -54,6 +54,8 @@ class HttpStorage(Storage): :param password: Password for authentication. :param verify: Verify SSL certificate, default True. This can also be a local path to a self-signed SSL certificate. + :param tls_fingerprint: Optional. SHA1 or MD5 fingerprint of the + expected server certificate. :param auth: Optional. Either ``basic``, ``digest`` or ``guess``. Default ``guess``. If you know yours, consider setting it explicitly for performance.