-
-
Notifications
You must be signed in to change notification settings - Fork 94
Description
I need to use databases in paths that are longer than 1024 characters. Therefore sqlite has different VFSes (https://www.sqlite.org/vfs.html).
But if i set vfs=win32-longpath in my connecton string i cannot open any database that is encrypted. Also dbs in paths shorter than 260 characters cannot be opened any more. I use RC4 and chacha20 encryption.
But when i remove encryption from the database it works without any problems with paths shorter than 260 characters and also with paths with more than 1024 characters.
So it must be something wrong when there is an encryption for the db.
I use an URI connection string like this:
"file:///E:/DatabaseFilename.db?vfs=win32-longpath&cipher=chacha20&key=XXXX"
Is there a bug in the SQLite3MultipleCiphers implementation? Or am i doing something wrong?