EncryptTable creates truncated data

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

EncryptTable creates truncated data

Post by FredS » Sun 12 Nov 2017 22:30

Wanted to add a quick feature and then I get truncated data in UniDAC 7.1.4.

After using EncryptTable on two tables the data is truncated; "Administrator" becomes "Admini".
Both FB3 and MSSQL field size is [n]varchar(500).

To be clear, the field data is encrypted and de-crypts but only part of the original string is there.

TUniEncryptor uses default settings and SetKey.

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: EncryptTable creates truncated data

Post by Stellar » Tue 14 Nov 2017 15:11

Thank you for the information. We have fixed the issue, and the fix will be included in the next UniDAC build.

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: EncryptTable creates truncated data

Post by FredS » Tue 14 Nov 2017 16:51

Stellar wrote:Thank you for the information. We have fixed the issue, and the fix will be included in the next UniDAC build.
Hello Stellar,

That was fast, is it possible to get source code changes for this issue only from you before the next release?

Fred

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: EncryptTable creates truncated data

Post by Stellar » Wed 22 Nov 2017 15:21

Unfortunately, the issue fix has not been included in the stable UniDAC version. As soon as the fix is included and checked, we will let you know.

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: EncryptTable creates truncated data

Post by FredS » Sat 25 Nov 2017 21:49

Stellar wrote:Unfortunately, the issue fix has not been included in the stable UniDAC version. As soon as the fix is included and checked, we will let you know.
OK, hooked into your code and fixed this myself.
So no rush..

Post Reply