RequiresEncryptionKey Not Working?

Barry G. Sumpter barrysum at bigpond.net.au
Fri Sep 25 02:19:29 CDT 2009


Yes please on windows and later MAC.

I'm thinking you have to have an open database first.
The vDB = opendb(f)
Then decrypt it or encrypt it.
Leaving it assigned as a vDB.

Then ask it if vdb.RequiresEncrytionKey.

???

A workaround could be to open the vDB and trap from the "wrong key" error.




-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan Zasukhin
Sent: Friday, September 25, 2009 4:59 PM
To: Valentina Developers; Ivan Smahin
Subject: Re: RequiresEncryptionKey Not Working?

On 9/25/09 3:37 AM, "Barry G. Sumpter" <barrysum at bigpond.net.au> wrote:

Hi Barry,

> I can't get this to work in REALbasic.
> I think we have to open the db first.  ???
> 
> RequiresEncryptionKey() as boolean
> Returns True if the database is encrypted, otherwise returns False.

> This function can be used with programs such as Valentina Studio to check
> wether it is necessary to show an user the dialog for password entry.
> Example:
> res = db.RequiresEncryptionKey()

I remember 2 weeks ago was similar question.

We have checked Encryption examples, and they not use this function at all.

Please checkout examples. We have MANY on encryption.

Ivan, please check this function carefully once again.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list