Tk Library Source Code

View Ticket
Login
Ticket UUID: 1403369
Title: Fix non-standard usage of TLS
Type: RFE Version: None
Submitter: andreas_kupries Created on: 2006-01-11 22:15:50
Subsystem: ldap Assigned To: patthoyts
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-09-28 09:20:09
Resolution: Closed By: sf-robot
    Closed on: 2006-09-28 02:20:09
Description:
Well, I am not sure if we have a standard, actually. I
know that SMTP can use TLS, with graceful fallback if
TLS is not available.

The ldap package also has code using TLS, but it was
done differently and there is no graceful fallback.

Please have a look at ldap and see if it can be
(re)done similarly to SMTP.
User Comments: sf-robot added on 2006-09-28 09:20:09:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

mic42 added on 2006-09-13 21:51:36:
Logged In: YES 
user_id=302287

Added the new starttls code to the ldap module, which allows
to upgrade a standard connection to TLS secured.

As the LDAP RFC is more critical about validating TLS
connections an automatic fallback to unencrypted is not a
good idea. 

Please have a look at the current code in CVS, I'll set the
status to Pending, so it gets closed if there is no response.

mic42 added on 2006-09-01 21:19:34:
Logged In: YES 
user_id=302287

I'll submit an updated ldap.tcl (version 1.6), which
supports StartTLS. Not sure if that does a graceful fallback
yet, but should improve things.

mic42 added on 2006-08-27 03:35:18:
Logged In: YES 
user_id=302287

The current ldap TLS code just uses a different port and
wraps the connection into TLS. A different solution would be
to do the ldap starttls handshake to setup a TLS connection.
Its not hard to do and i have it nearly done.