Not goodŠ

Never tried it yet on MonoTouch, but I'll need at least a password.
Enterprise clients didn't like databases open.

Karl

From:  riteshsahu <rs...@epicor.com>
Reply-To:  "monodroid@lists.ximian.com" <monodroid@lists.ximian.com>
Date:  Tue, 16 Aug 2011 16:30:22 -0700 (PDT)
To:  "monodroid@lists.ximian.com" <monodroid@lists.ximian.com>
Subject:  Re: [mono-android] Encrypted Database

Don't think that actually works. By the looks of it, the SQLlite
implementation on Android does not have the implementation of the
sqlite3_key method that actually does the encryption.
Calling the ChangePassword method results in this error:

I/MonoDroid( 2415): UNHANDLED EXCEPTION: System.EntryPointNotFoundException:
sqlite3_key
I/MonoDroid( 2415): at (wrapper managed-to-native)
Mono.Data.Sqlite.UnsafeNativeMethods.sqlite3_key (intptr,byte[],int)
<0x00094>
I/MonoDroid( 2415): at Mono.Data.Sqlite.SQLite3.SetPassword (byte[])
<0x00023>
I/MonoDroid( 2415): at Mono.Data.Sqlite.SqliteConnection.Open () <0x0067f>

We've been looking at encryption as well and haven't found anything that's
readily available. Might need to look into some of the commercial sqlite
versions which support encryption.. although I'm not sure how many of them
actually have a Mono version.

--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Encrypted-Database-tp4705209p4
706159.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid



_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to