EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Runtime error : AdjustKeyAndIVLengths

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#28894
Posted: 03/21/2014 09:36:27
by Martin Lundberg (Standard support level)
Joined: 03/17/2014
Posts: 1

Hi,

We got the following error after upgrading SecureBlackBox from 9.xxx to 11.0.246:

SBMessages.EElMessageError: Invalid key length

at SBMessages.TElMessageEncryptor.AdjustKeyAndIVLengths(Byte[]& Key, Byte[]& IV)

at SBMessages.TElMessageEncryptor.Encrypt(Byte[] InBuffer, Byte[]& OutBuffer, Int32& OutSize)

at SBSMIMECore.TElMessagePartHandlerSMime.OnAssemble@3@1(TElMessageEncryptor& me, Int32& OutSize, TAnsiStringStream smRefCryptSource, Int32& iErrCode, TAnsiStringStream& smCrypt, TAnsiStringStream& smDest, TElBase64Stream& smBase64)

at SBSMIMECore.TElMessagePartHandlerSMime.OnAssemble@3(TAnsiStringStream Destination, Byte[] Charset, TElHeaderEncoding HeaderEncoding)

at SBSMIMECore.TElMessagePartHandlerSMime.OnAssemble(TAnsiStringStream Destination, Byte[] Charset, TElHeaderEncoding HeaderEncoding, Byte[] BodyEncoding, Byte[] AttachEncoding, TElOnAssembleState State, Int32 Item, Byte[] sBoundary, Boolean& bIsHandled, Boolean& bStopAssemble)

at SBMIME.TElMultiPartList.Assemble(Stream Destination, Byte[] Charset, TElHeaderEncoding HeaderEncoding, Byte[] BodyEncoding, Byte[] AttachEncoding, Boolean bAssembleSource)

at SBMIME.TElMessage.AssembleMessage(Stream Destination, Byte[] ACharset, TElHeaderEncoding HeaderEncoding, Byte[] BodyEncoding, Byte[] AttachEncoding, Boolean bAssembleSource)

at SBMIME.TElMessage.AssembleMessage(Stream Destination, String Charset, TElHeaderEncoding HeaderEncoding, String BodyEncoding, String AttachEncoding, Boolean bAssembleSource)

at SBMIME.TElMessage.AssembleMessage(Stream Destination, Boolean AssembleSource)

at SBSimpleMIME.TElSimpleMIMEMessage.DoAssemble(Stream Stream)

at SBSMIMECore.TElSimpleSMIMEMessage.DoAssemble(Stream Stream)

at SBSimpleMIME.TElSimpleMIMEMessage.SaveToStream(Stream Stream)

at SBSMTPClient.TElSMTPClient.Send(TElSimpleMIMEMessage Message)

We suspect that the error have something to do with the following feature implemented in version 11.0.243 : * [All] (Base) TElMessageEncryptor used default key lengths for symmetric algorithms. Now variable key length can be
set using its BitsInKey property.

Any ideas ?

Rgds
#28895
Posted: 03/21/2014 09:47:53
by Alexander Ionov (EldoS Corp.)

Thank you for the report.

We're working on this issue right now. The fix will be available in the nearest SecureBlackbox build.


--
Best regards,
Alexander Ionov

Reply

Statistics

Topic viewed 387 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!