Carlos, The TripleDES class is completely implemented in Mono. There is a issue in MACTripleDES because .NET 1.0 and 1.1 are incompatible in some cases (when the data length is a multiple of the block size) and Mono is currently only compatible with 1.0. However this isn't the MAC used in SSL nor TLS - so it shouldn't affect you.
When you say that it works under Windows/MS.NET do you mean your TLS code runs normally using the MS TripleDES implementation ? If so I may have an idea on how to debug this. Sebastien Pouliot Security Architect, Motus Technologies, http://www.motus.com/ work: [EMAIL PROTECTED] home: [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: 29 aout 2003 07:19 To: [EMAIL PROTECTED] Subject: [Mono-list] TripleDES encryption problem Hello: I'm making a basic TLS implementation in C#, now i'm testing it on linux using mono, using RC4 my sample code runs fine but if i use TripleDES the messages i sent seems to be bad encrypted, the openssl server raise a fatal alert of BAd record MAC ( This is working well using Windows and MS .NET ): ERROR 1024:error:1408F455:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac:s3_pkt.c:424: What is the status of the TripleDES classes ?? -- Best regards Carlos Guzman Alvarez Vigo-Spain _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
