History Of Ticket 2059171e7d

Artifacts Associated With Ticket 2059171e7d

  1. Ticket change [c6366ab0bc] (rid 1375) by anonymous on 2019-03-10 21:25:58:

    1. foundin initialized to: "1.7.16"
    2. icomment:
      In tcltls-1.7.16 the command tls::status is supposed to return key-value pairs describing the connected peer.  
      It does this however, there is a difference in what is returned that is platform dependent. The difference 
      is associated with the value related to the "certificate" key within the list.
      The section of code that produces the "defective" value in the list is in the following section of tlsX509.c
          Tcl_ListObjAppendElement( interp, certPtr,
      	    Tcl_NewStringObj( "certificate", -1) );
          Tcl_ListObjAppendElement( interp, certPtr,
      	    Tcl_NewStringObj( certStr, -1) );
      In a Linux environment the full string of the certificate is returned as expected.  In a windows environment,
      the certificate is truncated (I think the returned value is consistently truncated to 1040 characters).
      Unfortunately, I do not have the knowledge/skills to debug this but thought it was significant enough to report.
      I would expect the behavior of this library to be the same despite the platform.
      This was tested/confirmed with different versions of openssl(1.0.2), Linux, and Windows.
    3. login: "anonymous"
    4. mimetype: "text/x-fossil-plain"
    5. private_contact initialized to: "0417dc32d04a6114b5b24db4b8fef85dbf18dde5"
    6. severity initialized to: "Severe"
    7. status initialized to: "Open"
    8. title initialized to:
      tls::status return value differs depending on platform in use.
    9. type initialized to: "Code Defect"
  2. Ticket change [3157a7e281] (rid 1378) by rkeene on 2019-04-09 17:44:46:

    1. icomment: "This will be fixed in TclTLS V1.7.17 and later"
    2. login: "rkeene"
    3. mimetype: "text/x-fossil-plain"
    4. priority changed to: "Immediate"
    5. resolution changed to: "Fixed"
    6. severity changed to: "Important"
    7. status changed to: "Fixed"
  3. Ticket change [d8c21f1599] (rid 1395) by rkeene on 2019-04-09 18:01:15:

    1. login: "rkeene"
    2. mimetype: "text/x-fossil-plain"
    3. status changed to: "Closed"