Skip to content

Commit

Permalink
document tls_fingerprint
Browse files Browse the repository at this point in the history
  • Loading branch information
t-8ch committed Aug 18, 2014
1 parent 0de3102 commit 8c77c57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vdirsyncer/storage/dav.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions vdirsyncer/storage/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8c77c57

Please sign in to comment.