Martin Kleusberg
564d54ec5e
Use cipher_default_* PRAGMAs when attaching an encrypted database
...
When attaching an SQLCipher encrypted database we need to set the page
size, KDF iterations, and HMAC and KDF algorithms. This needs to be done
before actually attaching the database but we tried to do it afterwards
which silently fails until the first statement is executed on the
attached database. This commit modifies the "default" values for these
pragmas in order to make sure SQLCipher uses the correct values right at
the beginning.
See issue #1799 .
2019-03-25 18:49:19 +01:00
..
2019-03-21 22:48:28 +11:00
2019-03-06 21:30:53 +01:00
2019-02-27 12:24:44 +01:00
2019-03-23 22:14:18 +01:00
2019-03-01 20:45:23 +01:00
2019-03-06 12:01:39 +01:00
2019-02-09 13:33:56 +01:00
2014-05-11 12:31:51 +02:00
2019-03-08 00:02:44 +01:00
2018-12-25 19:42:55 +01:00
2017-10-30 21:20:02 +01:00
2018-01-05 15:56:37 +01:00
2019-03-06 11:13:56 +01:00
2019-03-06 11:13:56 +01:00
2018-08-27 21:35:09 +02:00
2019-02-23 18:28:51 +11:00
2019-03-10 13:42:41 +01:00
2018-10-09 20:28:22 +02:00
2019-02-12 10:42:51 +01:00
2018-12-12 13:41:47 +01:00
2018-12-12 13:41:47 +01:00
2018-12-12 13:41:47 +01:00
2018-12-12 13:41:47 +01:00
2019-02-15 20:10:52 +01:00
2019-02-15 20:10:52 +01:00
2019-02-15 20:10:52 +01:00
2019-03-23 22:14:18 +01:00
2019-03-23 22:14:18 +01:00
2019-03-23 22:14:18 +01:00
2019-03-23 22:14:18 +01:00
2019-03-23 22:14:18 +01:00
2019-02-09 21:01:55 +01:00
2017-10-24 12:30:12 +01:00
2019-03-03 14:26:16 +01:00
2018-10-30 21:22:14 +01:00
2019-01-12 21:19:15 +01:00
2018-10-09 20:28:22 +02:00
2019-03-10 23:51:43 +01:00
2019-03-10 23:51:43 +01:00
2018-07-10 20:46:17 +02:00
2018-07-10 20:46:17 +02:00
2019-03-17 19:23:02 +01:00
2019-03-17 19:23:02 +01:00
2019-03-17 19:23:02 +01:00
2018-11-15 14:15:36 +01:00
2018-11-08 16:20:33 +01:00
2017-05-14 21:37:11 +02:00
2018-12-14 20:00:46 +11:00
2018-11-16 10:59:20 +01:00
2017-10-29 13:14:09 +01:00
2019-03-08 12:26:17 +01:00
2018-11-08 16:20:33 +01:00
2017-08-25 07:05:58 +02:00
2018-10-27 22:24:01 +02:00
2018-10-09 20:28:22 +02:00
2017-08-25 07:05:58 +02:00
2019-03-17 19:23:02 +01:00
2019-03-10 01:01:07 +01:00
2019-03-23 22:14:18 +01:00
2019-03-23 22:14:18 +01:00
2018-10-27 22:24:01 +02:00
2018-12-13 11:26:10 +02:00
2018-10-05 13:27:09 +02:00
2018-10-09 20:28:22 +02:00
2018-08-03 18:49:25 +02:00
2019-03-23 22:14:18 +01:00
2019-03-23 22:14:18 +01:00
2019-03-23 22:14:18 +01:00
2019-03-23 22:14:18 +01:00
2018-11-25 18:43:27 +01:00
2018-11-24 00:25:40 +01:00
2018-11-24 00:25:40 +01:00
2018-09-05 22:24:46 +02:00
2018-10-09 20:28:22 +02:00
2015-01-27 23:03:30 +01:00
2014-12-05 09:20:29 +00:00
2014-05-11 12:31:51 +02:00
2018-11-15 15:24:00 +01:00
2018-11-20 23:57:00 +01:00
2018-10-24 13:38:28 +02:00
2014-05-14 02:45:45 +01:00
2014-05-15 17:52:00 +02:00
2019-03-23 22:14:18 +01:00
2019-03-23 22:14:18 +01:00
2019-02-23 17:08:54 +01:00
2014-12-05 09:20:29 +00:00
2018-11-20 23:11:25 +01:00
2018-10-30 21:22:14 +01:00
2019-02-09 21:01:55 +01:00
2018-10-30 21:22:14 +01:00
2019-02-08 21:45:50 +01:00
2019-03-04 21:17:02 +01:00
2019-02-28 00:02:47 +01:00
2019-02-28 00:02:47 +01:00
2019-02-18 17:54:02 +01:00
2019-02-18 17:54:02 +01:00
2018-12-12 14:23:44 +01:00
2018-10-09 20:28:22 +02:00
2018-12-05 19:33:20 +01:00
2018-11-15 14:16:05 +01:00
2018-10-09 20:28:22 +02:00
2017-10-30 13:10:08 +01:00
2018-10-09 20:28:22 +02:00
2019-01-13 16:32:34 +01:00
2018-06-08 22:46:47 +02:00
2018-12-27 11:55:21 +01:00
2018-12-20 10:49:22 +01:00
2018-12-05 18:37:52 +01:00
2019-01-14 20:03:15 +01:00
2019-03-17 19:23:02 +01:00
2019-02-28 00:02:47 +01:00
2019-02-23 21:22:12 +01:00
2018-12-05 18:37:52 +01:00
2019-02-23 21:22:12 +01:00
2016-08-29 15:43:20 +01:00
2019-03-25 18:49:19 +01:00
2019-02-21 14:19:47 +01:00
2019-03-23 22:14:18 +01:00
2019-03-23 22:14:18 +01:00
2019-03-17 19:23:02 +01:00
2018-11-23 18:35:52 +01:00
2019-03-16 19:45:15 +01:00
2019-03-16 19:45:15 +01:00
2019-03-23 22:14:18 +01:00
2017-10-30 13:10:08 +01:00
2018-10-09 20:28:22 +02:00
2017-09-03 21:25:29 +02:00
2018-10-08 17:48:12 +11:00
2018-05-20 13:54:24 +01:00