Sure, here you go: https://gist.github.com/klemens/821e8e8727452e206253
The first patch results in the default protocols used (SSLv3 and TLSv1 for android 4.4). But I would recommend the second one, which enables TLSv1 and TLSv1.1, but disables TLSv1.2 to avoid problems with SHA2.
last synced date in google account preferences not correct
i have following setup:
- sync with local owncloud server in my local LAN (not reachable from outside)
- in the account settings, it is set to sync over WiFi only, and restrict (with SSID name) to my own WLAN.
However, when I am at work all day, and look at preferences -> accounts -> DAVdroid, it shows “last synced” + a time where I definitely have not been at home.
In my understanding:
- No sync should have been started (SSID restriction)
- Even if, the sync cannot be successful (because I am not in my home network, and have no VPN to it)
Why does the accounts screen tell me, it has synced?
in case you need the debug info:
Syncs are scheduled by Android, which also shows the time of the last sync it has started. DAVdroid just checks whether WiFi is active and does nothing when the conditions are not met.
Works as intended. Fur further information, please have a look at the source code.
Thanks for the quick reply, I understand.
So I understand another downside of this is, that after connecting to my home LAN, the sync is not started immediately.
Since this is now more or less a feature request, I created a follow up in the feature discussion board.
regards, and thanks for the good work!