Hi, @sjlombardo - thank you for your last message. I have tried your suggestions but unfortunately they do not work. Additionally, some of these settings give messages that they are deprecated.
I will describe my situation since the beginning:
I have an application that uses sqlcipher 1.1.9 or 2.0 in amalgamation version. After updating the sqlcipher to version 4.3.0 (latest one), the application does not work with the old database. Fortunately, it has a mechanism that recreates the db so when I remove the old db by hand, the app recreates it (using new sqlcipher). Then the application works properly. Both amalgamation versions were taken without any important changes.
Additionally, I have built the sqlcipher (in version 4.3.0) as a separate binary. Using the command line tool I can properly open the database created by the updated version of an app. However, I cannot open the old database although the key is the same.
The ideal situation would be to migrate somehow old database to new one.
Here I have some questions: is there any way to print all settings of the sqlcipher in the cmd line tool? Is there any api in c++ to use in the code to print the sqlcipher settings? Do settings for the amalgamation version differ from the settings for the standalone version?