]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add note regarding encryption-related pragmas
authorFederico Caselli <cfederico87@gmail.com>
Mon, 7 Jun 2021 19:14:05 +0000 (21:14 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 7 Jun 2021 19:35:30 +0000 (21:35 +0200)
passed in the url in pysqlcipher.

Fixes: #6589
Change-Id: I86f93f84ef2bd374c4832a70e26e4901d024ed4b

doc/build/changelog/unreleased_13/6589.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/pysqlcipher.py

diff --git a/doc/build/changelog/unreleased_13/6589.rst b/doc/build/changelog/unreleased_13/6589.rst
new file mode 100644 (file)
index 0000000..7d7530e
--- /dev/null
@@ -0,0 +1,6 @@
+.. change::
+    :tags: bug, pysqlcipher
+    :tickets: 6589
+    :versions: 1.4.18
+
+    Add note regarding encryption-related pragmas passed in the url.
index 1a9337671ed318785ac14d4030af80cecfc1bc2a..aafc00844f0968936219850b6513a5ea9e9d7859 100644 (file)
@@ -68,6 +68,11 @@ new connection.  Currently, ``cipher``, ``kdf_iter``
 
     e = create_engine('sqlite+pysqlcipher://:testing@/foo.db?cipher=aes-256-cfb&kdf_iter=64000')
 
+.. warning:: Previous versions of sqlalchemy did not take into consideration
+   the encryption-related pragmas passed in the url string, that were silently
+   ignored. This may cause errors when opening files saved by a
+   previous sqlalchemy version if the encryption options do not match.
+
 
 Pooling Behavior
 ----------------