Commit Graph

106 Commits

Author SHA1 Message Date
Greyson Parrelli
797ac54854 Merge branch 'master' of https://github.com/sqlcipher/sqlcipher-android 2024-08-26 09:28:42 -04:00
Nick Parker
1b75820828 Support binding null arguments for rawQuery 2024-08-12 11:33:11 -05:00
Stephen Lombardo
7f7e12b4f0 Adds support for 16 KB page sizes for android 2024-06-24 13:24:00 -04:00
Nick Parker
847befafb4 Adjust test to reference 4.6.0 2024-05-21 11:53:09 -05:00
Stephen Lombardo
a05b38f286 add buildType for release w/o x86 (32 bit) 2024-04-03 16:27:28 -04:00
Nick Parker
10e605a206 Update cipher_version test when built against 4.5.6 2024-01-17 10:02:59 -06:00
Nick Parker
6c132c90f5 Close non-primary connections after password change on primary connection 2023-11-27 13:22:57 -06:00
Nick Parker
02d5ff1f46 Merge branch 'proguard-rules' of https://github.com/eygraber/sqlcipher-android into eygraber-proguard-rules 2023-11-10 16:22:27 -06:00
Nick Parker
d3dc1ef0f8 Source min SDK version from project extension properties 2023-11-08 16:49:25 -06:00
Eliezer Graber
b5b6c6e3b4
Add proguard rules for consumers 2023-11-06 13:54:50 -05:00
Stephen Lombardo
cd681ad5a3 Merge branch 'master' of ssh://git.zetetic.net/sqlcipher-android 2023-06-28 14:49:04 -04:00
Stephen Lombardo
99c48d5d04 remove unused executeUpdateDeleteRaw method from SQLiteStatement 2023-06-28 14:48:29 -04:00
Stephen Lombardo
a492040732 change rawExecSQL to allow execution of SELECT operations 2023-06-28 14:47:48 -04:00
Nick Parker
22506fc3a9 Merge branch 'master' of https://github.com/richardgarcar/sqlcipher-android into richardgarcar-master 2023-06-28 08:40:11 -05:00
Nick Parker
7ef1132bbb Prevent value from being logged in exception handler to avoid data leak 2023-06-13 14:14:34 -05:00
Cody Henthorne
247c46de58 Update error logging. 2023-06-09 14:36:21 -04:00
Richard Garčár
aa6830b228 fix: set the default value of the minimumSupportedVersion parameter of SupportHelper as 0 2023-05-30 19:16:08 +02:00
Greyson Parrelli
a1cbd22a51 Throw a specific exception for SQLITE_NOTADB. 2023-05-01 16:49:04 -04:00
Stephen Lombardo
6545e4de98 update expected SQLCipher version number 2023-05-01 16:49:03 -04:00
Stephen Lombardo
71027c76e2 update invalid key tests to expect SQLiteException instead of SQLiteDatabaseCorruptException 2023-05-01 16:49:03 -04:00
Stephen Lombardo
0782125540 switch to use android.database.sqlite version of SQLiteAbortException 2023-05-01 16:49:03 -04:00
Stephen Lombardo
3960a8edd3 don't treat SQLITE_NOTADB error as a corruption because it can occur with mismatched keys 2023-05-01 16:49:03 -04:00
Stephen Lombardo
bb0c2af330 update minimum sdk version to 21 2023-05-01 16:49:03 -04:00
Nick Parker
9059ab254b Guard setExtras test with build version check 2023-05-01 16:49:03 -04:00
Nick Parker
15b9b0dfcb Add support for Upsert via Room API, remove custom exception classes
Removed the following exception classes for better integration with Room:

net.zetetic.database.SQLException
net.zetetic.database.sqlcipher.SQLiteAbortException
net.zetetic.database.sqlcipher.SQLiteAccessPermException
net.zetetic.database.sqlcipher.SQLiteBindOrColumnIndexOutOfRangeException
net.zetetic.database.sqlcipher.SQLiteBlobTooBigException
net.zetetic.database.sqlcipher.SQLiteCantOpenDatabaseException
net.zetetic.database.sqlcipher.SQLiteConstraintException
net.zetetic.database.sqlcipher.SQLiteDatabaseCorruptException
net.zetetic.database.sqlcipher.SQLiteDatabaseLockedException
net.zetetic.database.sqlcipher.SQLiteDatatypeMismatchException
net.zetetic.database.sqlcipher.SQLiteDiskIOException
net.zetetic.database.sqlcipher.SQLiteDoneException
net.zetetic.database.sqlcipher.SQLiteException
net.zetetic.database.sqlcipher.SQLiteFullException
net.zetetic.database.sqlcipher.SQLiteMisuseException
net.zetetic.database.sqlcipher.SQLiteOutOfMemoryException
net.zetetic.database.sqlcipher.SQLiteReadOnlyDatabaseException
net.zetetic.database.sqlcipher.SQLiteTableLockedException
2023-05-01 16:49:03 -04:00
Nick Parker
e7b5dcd6e7 Update Room to 2.5.0 2023-05-01 16:49:03 -04:00
Nick Parker
edd12456f4 Bump compile/target SDK version to 33 2023-05-01 16:49:03 -04:00
Greyson Parrelli
3d4e3aa66d Improve error logging. 2023-05-01 16:49:03 -04:00
Stephen Lombardo
ea2d4935d0 update expected SQLCipher version number 2023-04-06 14:55:02 -04:00
Stephen Lombardo
62d1344e95 update invalid key tests to expect SQLiteException instead of SQLiteDatabaseCorruptException 2023-04-06 14:54:27 -04:00
Stephen Lombardo
8e1cf3a513 switch to use android.database.sqlite version of SQLiteAbortException 2023-04-06 13:26:54 -04:00
Stephen Lombardo
5bc2e09691 don't treat SQLITE_NOTADB error as a corruption because it can occur with mismatched keys 2023-04-06 13:25:33 -04:00
Stephen Lombardo
6458f1418b update minimum sdk version to 21 2023-03-06 16:21:51 -05:00
Nick Parker
11bd6f37a2 Guard setExtras test with build version check 2023-02-24 15:36:06 -06:00
Nick Parker
81572c7207 Add support for Upsert via Room API, remove custom exception classes
Removed the following exception classes for better integration with Room:

net.zetetic.database.SQLException
net.zetetic.database.sqlcipher.SQLiteAbortException
net.zetetic.database.sqlcipher.SQLiteAccessPermException
net.zetetic.database.sqlcipher.SQLiteBindOrColumnIndexOutOfRangeException
net.zetetic.database.sqlcipher.SQLiteBlobTooBigException
net.zetetic.database.sqlcipher.SQLiteCantOpenDatabaseException
net.zetetic.database.sqlcipher.SQLiteConstraintException
net.zetetic.database.sqlcipher.SQLiteDatabaseCorruptException
net.zetetic.database.sqlcipher.SQLiteDatabaseLockedException
net.zetetic.database.sqlcipher.SQLiteDatatypeMismatchException
net.zetetic.database.sqlcipher.SQLiteDiskIOException
net.zetetic.database.sqlcipher.SQLiteDoneException
net.zetetic.database.sqlcipher.SQLiteException
net.zetetic.database.sqlcipher.SQLiteFullException
net.zetetic.database.sqlcipher.SQLiteMisuseException
net.zetetic.database.sqlcipher.SQLiteOutOfMemoryException
net.zetetic.database.sqlcipher.SQLiteReadOnlyDatabaseException
net.zetetic.database.sqlcipher.SQLiteTableLockedException
2023-02-24 12:00:53 -06:00
Nick Parker
cda3dc549b Update Room to 2.5.0 2023-02-23 15:57:43 -06:00
Nick Parker
ed7c7e7754 Bump compile/target SDK version to 33 2023-02-23 13:42:56 -06:00
Nick Parker
c12cef94f3 Adjustments to UPGRADE_INDEX and assertions to get tests passing 2023-02-09 08:41:49 -06:00
vitorhugods
314c15fd86
test: use the new SupportHelper constructor 2023-02-07 21:12:15 -03:00
vitorhugods
1b2b3ce2d1
test: add tests covering SupportHelperTest 2023-02-07 21:00:52 -03:00
vitorhugods
f38c14512b
fix: syntax errors 2023-02-07 19:31:50 -03:00
Vitor Hugo Schwaab
a1f57803f2
fix: typo on SupportHelper 2023-01-25 17:33:09 +01:00
Vitor Hugo Schwaab
47d46dd25f
chore: keep compatibility with current published version 2023-01-25 17:19:11 +01:00
Vitor Hugo Schwaab
6a1cde5797
fix: don't recreate db on every migration when using SupportHelper 2023-01-25 16:41:45 +01:00
Nick Parker
454149c8c4 Remove application element from manifest, rename package 2023-01-12 08:27:53 -06:00
Nick Parker
9ce46d578b Update test for 4.5.3 release 2022-12-20 11:44:44 -06:00
Nick Parker
1835e6c8d0 Support onDowngrade, onOpen, and onConfigure in SupportHelper.
Issue raised here: https://github.com/sqlcipher/sqlcipher-android/issues/7
2022-11-11 09:16:48 -06:00
Nick Parker
6623565e17 Fix cipher_version test for 4.5.2 release 2022-11-11 09:16:01 -06:00
Nick Parker
bc7c96a6de Adjustments for publishing artifacts to Maven Central 2022-08-03 14:42:26 -05:00
Nick Parker
f6230adf57 Explicitly allow specifying WAL journal mode with SQLiteOpenHelper constructor 2022-06-16 12:33:50 -05:00