seitime-frappe/frappe/integrations/doctype
Christoph Kappel c99e576e1b fix: offer all (also modern) supported tls versions (PROTOCOL_TLS_CLIENT [1]) to LDAP endpoints instead of only (deprecated) PROTOCOL_TLSv1 [2]
Background: Currently, when connecting to a ldap backend, ssl.PROTOCOL_TLSv1 [2] is offered as only option to the backend.

This leads to following issues:
- LDAP Backends that do not support TLSv1.0 (because of security reasons [3]) cannot be used in ERPNext
- erpnext can ONLY connect to LDAP Backends offering the insecure [3] TLSv1.0 protocol  (see ldap_settings.py ln: 61, 63)

With this change to ssl.PROTOCOL_TLS_CLIENT we allow erpnext customers to configure LDAP Backends that also support more modern/secure (TLSv1.2 and up) transport
while still ensure backwards compatibility and allowing TLSv1.0,
since ssl.PROTOCOL_TLS "Auto-negotiates the highest protocol version that both the client and server support" [1]

[1]: https://docs.python.org/3/library/ssl.html#ssl.PROTOCOL_TLS_CLIENT
[2]: https://docs.python.org/3/library/ssl.html#ssl.PROTOCOL_TLSv1
[3]: https://tools.ietf.org/id/draft-ietf-tls-oldversions-deprecate-02.html
2022-01-04 16:52:55 +01:00
..
braintree_settings chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
connected_app chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
dropbox_settings fix: remove/update older whitelist calls 2021-10-18 16:47:11 +05:30
google_calendar chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
google_contacts chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
google_drive chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
google_settings chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
integration_request chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
ldap_group_mapping chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
ldap_settings fix: offer all (also modern) supported tls versions (PROTOCOL_TLS_CLIENT [1]) to LDAP endpoints instead of only (deprecated) PROTOCOL_TLSv1 [2] 2022-01-04 16:52:55 +01:00
oauth_authorization_code chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
oauth_bearer_token chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
oauth_client chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
oauth_provider_settings chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
oauth_scope chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
paypal_settings chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
paytm_settings chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
query_parameters chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
razorpay_settings fix: Missing save doc. 2021-09-29 16:24:47 +05:30
s3_backup_settings chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
slack_webhook_url chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
social_login_key fix: removed unused imports 2021-11-09 14:49:27 +05:30
social_login_keys chore: Drop dead and deprecated code 2021-05-26 15:31:29 +05:30
stripe_settings chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
token_cache chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
webhook fix: don't run webhook in migrate 2021-12-25 22:53:17 +01:00
webhook_data chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
webhook_header chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
webhook_request_log chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
__init__.py Moved Backup Manager and Social Login keys to the new Integrations Module, prepared frappe for Mandrill Integration 2015-08-11 12:03:13 +05:30