* Tue Apr 13 2021 Martin Pluskal <mpluskal@suse.com>
- Update to version 4.4.3:
* Updates baseline to ustream SQLite 3.34.1
* Fixes sqlcipher_export handling of NULL parameters
* Removes randomization of rekey-delete tests to avoid false test failures
* Changes internal usage of sqlite_master to sqlite_schema
* Omits unusued profiling function under certain defines to avoid compiler warnings
* Thu Jan 28 2021 Dirk Müller <dmueller@suse.com>
- update to 4.4.2:
- Improve error handling to resolve potential corruption if an encryption
operation failed while operating in WAL mode
- Changes to OpenSSL library cryptographic provider to reduce initialization
complexity
- Adjust cipher_integrity_check to skip locking page to avoid a spurious error
report for very large databases
- Miscellaneous code and comment cleanup
- Updates baseline to upstream SQLite 3.33.0
- Fixes double-free bug in cipher_default_plaintext_header_size
- Changes SQLCipher tests to use suite runner
- Improvement to cipher_integrity_check tests to minimize false negatives
- Deprecates PRAGMA cipher_store_pass
* Mon Oct 26 2020 Dirk Mueller <dmueller@suse.com>
- update to 4.4.0:
- Updates baseline to upstream SQLite 3.31.0
- Adjusts shell to report SQLCipher version alongside SQLite version
- Fixes various build warnings under several compilers
- Removes unused id and status functions from provider interface
* Fri Apr 17 2020 Martin Pluskal <mpluskal@suse.com>
- Update to version 4.3.0:
* Updates baseline to upstream SQLite 3.30.1
* PRAGMA key now returns text result value "ok" after execution
* Adjusts backup API so that encrypted to encrypted backups are
permitted
* Adds NSS crypto provider implementation
* Fixes OpenSSL provider compatibility with BoringSSL
* Separates memory related traces to reduce verbosity of logging
* Fixes output of PRAGMA cipher_integrity_check on big endian
platforms
* Cryptograpic provider interface cleanup
* Rework of mutex allocation and management
* Resolves miscellaneous build warnings
* Force error state at database pager level if SQLCipher
initialization fails
* Fri Oct 25 2019 Martin Pluskal <mpluskal@suse.com>
- Update to version 4.2.0:
* Adds PRAGMA cipher_integrity_check to perform independent
verification of page HMACs
* Updates baseline to upstream SQLite 3.28.0
* Improves PRAGMA cipher_migrate to handle keys containing
non-terminating zero bytes
* Mon May 13 2019 Paolo Stivanin <info@paolostivanin.com>
- Update to v4.1.0:
* Adds PRAGMA cipher_settings to query current database
codec settings
* Adds PRAGMA cipher_default_settings to query current
default SQLCipher options
* PRAGMA cipher_hmac_pgno is now deprecated
* PRAGMA cipher_hmac_salt_mask is now deprecated
* PRAGMA fast_kdf_iter is now deprecated
* Disable backup API for encrypted databases (this was
previously documented as not-working and non-supported,
but will now explicitly error out on initialization)
* Default page size for databases increased to 4096 bytes
(up from 1024)
* Default PBKDF2 iterations increased to 256,000
(up from 64,000)
* Default KDF algorithm is now PBKDF2-HMAC-SHA512
(from PBKDF2-HMAC-SHA1)
* Default HMAC algorithm is now HMAC-SHA512 (from HMAC-SHA1)
* PRAGMA cipher is now disabled and no longer supported
(after multi-year deprecation)
* PRAGMA rekey_cipher is now disabled and no longer supported
* PRAGMA rekey_kdf_iter is now disabled and no longer
supported
* By default all memory allocated internally by SQLite before
the memory is wiped before it is freed
* PRAGMA cipher_memory_security: allows full memory wiping
to be disabled for performance when the feature is
not required
* PRAGMA cipher_kdf_algorithm, cipher_default_kdf_algorithm
to control KDF algorithm selection between PBKDF2-HMAC-SHA1,
PBKDF2-HMAC-SHA256 and PBKDF2-HMAC-SHA512
* PRAGMA cipher_hmac_algorithm, cipher_default_hmac_algorithm
to control HMAC algorithm selection between HMAC-SHA1,
HMAC-SHA256 and PBKDF2-HMAC-SHA512
* When compiled with readline support, PRAGMA key and rekey
lines will no longer be saved to history
* Adds second optional parameter to sqlcipher_export to specify
source database to support bidirectional exports
* PRAGMA cipher_plaintext_header_size and
cipher_default_plaintext_header_size: allocates a portion of
the database header which will not be encrypted to allow
identification as a SQLite database
* PRAGMA cipher_salt: retrieve or set the salt value for
the database
Version: 4.19.0-bp161.1.1
* Wed Sep 30 2026 Martin Pluskal <mpluskal@suse.com>
- Update to version 4.19.0 (sync with Factory):
* Fixes CVE-2026-51936 (boo#1283286): a crafted source database
name passed to sqlcipher_export() could run statements that
defensive mode would otherwise block
* Update the SQLite baseline from 3.45.3 to 3.53.4
* Rename the library subpackage to the soname-based
libsqlcipher0 and build it as libsqlcipher.so.0, updating
baselibs.conf
* Drop the tcl-sqlcipher subpackage: upstream's new build no
longer produces a standalone sqlcipher Tcl binding
* Add a %check smoke test for the encryption path
* See the 4.17.0 and 4.16.0 entries below for the rest of it
* Wed Sep 09 2026 Martin Pluskal <mpluskal@suse.com>
- Update to version 4.19.0:
* Security: quote schema aliases in sqlcipher_export() so
attacker-controlled attached-database names cannot alter
generated SQL
* Security: error out on a non-empty but invalid hexkey URI
parameter instead of silently writing a plaintext database
* Include the crypto-provider error code in KDF error messages
* Fix escaping of cipher_migrate file names
* Avoid returning NULL rows from cipher_settings if allocation
fails
* Avoid leaking a partially initialized codec context on init
errors
* Fix error reporting for failed rekey operations
* Adjust permanent-error-state handling so the pager is not
left invalid
* Improve consistency of private-heap memory tracking
* Wed Aug 19 2026 Martin Pluskal <mpluskal@suse.com>
- Update to version 4.18.0:
* Update SQLite baseline from 3.53.3 to 3.53.4
* Fix GCC "relocation truncated to fit" link error for
optimized x86_64 builds (gh#sqlcipher/sqlcipher#600)
- Re-enable LTO now that the xoshiro TLS relocation overflow
from 4.17.0 is fixed upstream
- Add a %check smoke test for the encryption path
- Explicitly BuildRequires gcc and make
* Wed Jul 08 2026 Martin Pluskal <mpluskal@suse.com>
- Update to version 4.17.0:
* Update SQLite baseline from 3.53.1 to 3.53.3
* Standardize error responses when an incorrect key is used
during initial schema modification attempts
* Improve error identification and handling in the LibTomCrypt
provider, including a fortuna reinitialization fix
* Strengthen thread safety for debug memory counters and
xoshiro state management
* Add optional SQLCIPHER_OMIT_MALLOC macro to aid testing with
Address Sanitizer
* Various additional bug fixes and general improvements
- Disable LTO: the new thread-local xoshiro PRNG state makes the
x86_64 sqlite3 shell fail to link under -flto with "relocation
truncated to fit: R_X86_64_TPOFF32" (x86_64-specific local-exec
TLS); building without LTO restores the x86_64 build
* Wed Jun 17 2026 Martin Pluskal <mpluskal@suse.com>
- Update to version 4.16.0:
* Update SQLite baseline from 3.46.1 to 3.53.1
* Sanitize source database name passed to sqlcipher_export
(security hardening reported by Deutsche Telekom Security)
* Add PRAGMA cipher_status to verify a database handle is
using encryption
* Restore and improve the LibTomCrypt provider; remove the
deprecated LibTomCrypt and NSS providers
* Numerous error-handling, logging and build fixes across the
4.7.0 - 4.16.0 releases
- Adapt packaging to upstream's new SQLite autosetup build system,
which now installs sqlite3/libsqlite3 names by default:
* Build the shared library as libsqlcipher.so.0 via
- -dll-basename and an explicit soname, and rename the
binary, manpage, pkgconfig file and headers back to
sqlcipher to avoid colliding with the system sqlite3
package (matches Debian and Arch packaging)
* Rename the library subpackage from libsqlcipher-3_46_1-0 to
the soname-based libsqlcipher0; update baselibs.conf
* Drop the tcl-sqlcipher subpackage: upstream's new build no
longer produces a standalone sqlcipher Tcl binding
* Select the OpenSSL crypto provider through CFLAGS defines and
- lcrypto instead of the removed --with-crypto-lib option
* Mon Dec 09 2024 Martin Pluskal <mpluskal@suse.com>
- Update to version 4.6.1:
* Updates baseline to upstream SQLite 3.46.1
* Significant refactor to merge crypto.h, crypto.c, and crypto_impl.c into a single sqlcipher.c source file for simplicity.
* Updates minimum working set size on windows to increase lockable pages
* Adds new PRAGMA cipher_log_source for filtering log output on higher verbosity levels
* Improves log output by including the log level and source prior to message
* Improves error logging in PRAGMA cipher_migrate
* Fixes issue where log level and target would be overwritten if set prior to initialization
* Corrects Podspec license element to use specific BSD 3 Clause
* Fixes default log output to console for macOS
Version: 3.4.2-bp150.2.5
* Thu Apr 19 2018 mpluskal@suse.com
- Cleanup with spec-cleaner
- Rename tcl binding package
- Adjust dependencies of tcl bindings
* Wed Apr 18 2018 ecsos@opensuse.org
- update to 3.4.2
- Merge upstream SQLite 3.20.1
- Text strings for SQLITE_ERROR and SQLITE_NOTADB changed to
match upstream SQLite
- Remove static modifier for codec password functions
- Page alignment for mlock
- Fix segfault in sqlcipher_cipher_ctx_cmp during rekey operation
- Fix sqlcipher_export and cipher_migrate when tracing API in use
- Validate codec page size when setting
- Guard OpenSSL initialization and cleanup routines
- Allow additional linker options to be passed via command line
for Windows platforms
* Sun Mar 26 2017 ecsos@opensuse.org
- update to 3.4.1
* Added support for OpenSSL 1.1.0
* Merged upstream SQLite 3.15.2
* Mon Apr 18 2016 mpluskal@suse.com
- Use pretty name for tarball
* Sun Apr 17 2016 ecsos@opensuse.org
- update to 3.4.0
- Added `PRAGMA cipher_provider_version`
- Merged upstream SQLite 3.11.0
- Deprecated `PRAGMA cipher` command
* Thu Feb 04 2016 mpluskal@suse.com
- Use optflags
- Fix building of tcl support on SLE11
* Sun Dec 20 2015 mpluskal@suse.com
- Cleanup spec file
* Sat Jul 18 2015 goedhart.martijn@gmail.com
- Update to c01b94f (2015-07-13)
* Mon Oct 27 2014 goedhart.martijn@gmail.com
- Update to e7b8d1f (2014-09-30)
* Tue Jun 24 2014 goedhart.martijn@gmail.com
- Update to 9096584 (2014-04-23)
* Wed Dec 18 2013 goedhart.martijn@gmail.com
- Update to 8d0acdb (2013-12-06)
* Wed Dec 18 2013 goedhart.martijn@gmail.com
- Update to 8d0acdb (2013-12-06)
* Wed Dec 18 2013 goedhart.martijn@gmail.com
- Update to 8d0acdb (2013-12-06)