Tk Library Source Code

View Ticket
Login
Ticket UUID: 630381
Title: Cannot save multi-part MIME
Type: Bug Version: None
Submitter: jaspert Created on: 2002-10-29 10:49:07
Subsystem: mime Assigned To: mrose
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-01-07 06:39:18
Resolution: Fixed Closed By: patthoyts
    Closed on: 2003-01-06 23:39:18
Description:
I am using the ActiveTcl 8.4.1 which I downloaded and installed yesterday
on a Windows ME machine

Trying to save a multi-part MIME with the command
    mime::copymessage $multiT $stream
I get this error message:

cannot open libcrypt
cannot open libcrypt
    while executing
"md5 -- $key"
    (procedure "mime::copymessageaux" line 62)
    invoked from within
"mime::copymessageaux $token $channel "
    invoked from within
"mime::copymessage $multiT $stream"

It occurs to me that this might be something to do with US export controls
        --Jasper
User Comments: patthoyts added on 2003-01-07 06:39:18:
Logged In: YES 
user_id=202636

I've checked in a small change to use the tcllib md5 package
if Trf isn't available. The md5 package tries to use Trf and
then uses a tcl only implementation if Trf isn't available.
This bug is also present in the tcllib md5 package - but
we'll handle that to.

patthoyts added on 2003-01-06 23:29:58:
Logged In: YES 
user_id=202636

Once upon a time the Trf package included some crypto
functions. These have since been split off into the Trfcrypt
package but the md5 function remains in the core Trf but
depends on something that comes with Trfcrypt.

The mime package should be modified to cope without Trfcrypt
in the way it currently handles missing Trf. 

In fact - better would be to fix mime to use the tcllib md5
package, and then fix the md5 package to check that the md5
call actually works. This is a bug for the md5 package too.

jaspert added on 2002-11-02 00:50:08:
Logged In: YES 
user_id=456242

I get the same thing when uing ActiveTcl 8.4.1.0 on a Linux
(Mandrake 8.2) box. Here the error is 
Cannot open libmd5crypt.so
--Jasper