Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread Slightly confused - encryption password
Tue, Jun 2 2009 1:23 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

A session has a LocalEncryptionPassword property but unlike the other Local properties its not configurable in EDBManager. Is this because the engine can only cope with one encryption password at a time?

If so what happens if you have UseLocalSessionEngineSettings set to true and have two or more sessions open with different LocalEncryptionPasswords?

If not why can't it be easily configured in EDBManager?

I am right in assuming LocalEncryptionPassword overrides engine.EncryptionPassword when UseLocalSessionEngineSettings is true am I?

Roy Lambert
Tue, Jun 2 2009 1:48 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

I think I've answered my own question about EncryptionPassword being overridden by LocalEncryptionPassword. As I expected it is.

I encrypted the database and then in EDBManager trying to open the session without changing the encryption password I get

---------------------------


ElevateDB Manager: edbmgr.exe - Unable To Locate Component
---------------------------
This application has failed to start because LIBEAY32.dll was not found. Re-installing the application may fix this problem.
---------------------------
OK  
---------------------------


Roy Lambert
Tue, Jun 2 2009 2:04 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

had to drop the session and recreate it to get the problem to go away.

Roy Lambert
Tue, Jun 2 2009 3:30 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< A session has a LocalEncryptionPassword property but unlike the other
Local properties its not configurable in EDBManager. Is this because the
engine can only cope with one encryption password at a time? >>

No, it's because we don't want end users to know that it is there and
modifiable as text in the .ini file (which, if they didn't know before, they
probably know now Smiley.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Jun 2 2009 3:31 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I think I've answered my own question about EncryptionPassword being
overridden by LocalEncryptionPassword. As I expected it is.

I encrypted the database and then in EDBManager trying to open the session
without changing the encryption password I get >>

Are you modifying the EDB Manager or re-compiling it at all ?  Or, are there
any .dlls in the configuration path that have dependencies to that .dll ?
EDB does not have any dependencies to LIBEAY32.dll at all.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jun 3 2009 2:48 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>Are you modifying the EDB Manager or re-compiling it at all ?

No - I just keep pestering you with suggestions Smiley

>Or, are there
>any .dlls in the configuration path that have dependencies to that .dll ?
>EDB does not have any dependencies to LIBEAY32.dll at all.

Whilst its always possible I had no idea what LIBEAY32.dll is or what it does. I just searched my system and find that its one of the SSL libraries that I've added into my news/mail reader (all I did was download the library didn't look at file names), and into the app I'm building but not into the dlls that get linked into EDBManager for word generation etc.

How on earth has EDBManager picked on that one to complain about?

Roy Lambert
Wed, Jun 3 2009 2:53 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>No, it's because we don't want end users to know that it is there and
>modifiable as text in the .ini file (which, if they didn't know before, they
>probably know now Smiley.

And I didn't keep looking and didn't realise there's one per session, just thought about that as I laid my weary head on the pillow last night - sorry

I'd suggest surfacing it on five grounds

1. convenience
2. developers will find it (even thick ones like me)
3. if app users need it hidden that's the developers responsibility
4. if an end user downloads EDBManager independently they deserve everything they get Smiley
5. the level of security isn't much lower

Roy Lambert
Wed, Jun 3 2009 3:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Whilst its always possible I had no idea what LIBEAY32.dll is or what it
does. I just searched my system and find that its one of the SSL libraries
that I've added into my news/mail reader (all I did was download the library
didn't look at file names), and into the app I'm building but not into the
dlls that get linked into EDBManager for word generation etc.

How on earth has EDBManager picked on that one to complain about? >>

Is it, or any DLL that imports it, in the configuration path ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jun 3 2009 3:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I'd suggest surfacing it on five grounds >>

Good points.  I'll mull it over and see what I can do.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jun 4 2009 2:53 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>Is it, or any DLL that imports it, in the configuration path ?

Yup - see other post

Roy Lambert
Image