Sqlite EInvalidHash Error with V6.1.4 using Encryption

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jbucher
Posts: 13
Joined: Wed 20 Aug 2014 06:05

Sqlite EInvalidHash Error with V6.1.4 using Encryption

Post by jbucher » Thu 02 Jul 2015 09:32

Hi,

though everything went well with older releases i get an EInvalidHash error using encryption in a TUniTable with SQLite (direct mode).

BR
Juergen

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Sqlite EInvalidHash Error with V6.1.4 using Encryption

Post by AlexP » Thu 02 Jul 2015 10:16

Hello,

Please specify the moment when this error occurs: on insert data, query execution, etc.

jbucher
Posts: 13
Joined: Wed 20 Aug 2014 06:05

Re: Sqlite EInvalidHash Error with V6.1.4 using Encryption

Post by jbucher » Thu 02 Jul 2015 11:43

It happens when opening the table!

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Sqlite EInvalidHash Error with V6.1.4 using Encryption

Post by AlexP » Thu 02 Jul 2015 12:05

We cannot reproduce the problem. Please send your sample and DB file, in order for us to repeat the problem to alexp*devar*com .

jbucher
Posts: 13
Joined: Wed 20 Aug 2014 06:05

Re: Sqlite EInvalidHash Error with V6.1.4 using Encryption

Post by jbucher » Fri 03 Jul 2015 14:50

OK - just sent you a demo project + DB

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Sqlite EInvalidHash Error with V6.1.4 using Encryption

Post by AlexP » Mon 06 Jul 2015 09:37

Thank you for the sample, we have reproduced the described case. - and we will fix this behavior in the next version. Currently, to solve the issue, you can set the UniEncryptor1.InvalidHashAction proeprty to ihIgnoreError.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Sqlite EInvalidHash Error with V6.1.4 using Encryption

Post by AlexP » Mon 13 Jul 2015 12:07

We have already fixed the problem. The fix will be included in the next version.

Post Reply