Hi
I'm developing a biometric Credential Provider's for Windows, and I'm
storing fingerprint information to database. This information should be
encrypted on a database for increase the system security.
Now I'm
studying the possibility of include System.Data.Sqlite dll, but when
call sqlite_key(...) function in logon context, I get returns 2.
Otherwise, when I execute this code in a normal context works properly.
Sample code:
//Logon context
int error =
sqlite3_open("C:\\WINDOWS\\system32\\testpw2.db3", &db);
error =
sqlite3_key(db,"1111",strlen("1111")); //error = 2
->SQLITE_INTERNAL(An internal logic error in SQLite)
//Normal context:
int error = sqlite3_open("C:\\WINDOWS\\system32\\testpw2.db3",
&db);
error
= sqlite3_key(db,"1111",strlen("1111")); //SQLITE_OK
Can help me anyone?
PD:Sorry for my
poor English.
Thanks and regards,
Héctor Navarro