J
J
Jonh Doe2013-11-30 20:53:26
PHP
Jonh Doe, 2013-11-30 20:53:26

sqlite3 + aes256 + php4.2?

If you create a database with aes256, then even if there is 'aes256: key' (where key is the key with which I created the database) in the parameter, when creating an instance of the PDO class, I get the error SQLSTATE[HY000]: General error: 26 file is encrypted or is not a database
Actually, if you create a database with aes128, then the situation does not change.
The manual says that this parameter (encryption_key) is just a string, and not a word about what format it should have.
I found only in the php bugtrack an article from 10 years old that there was some kind of bug. Actually there was a representation of the form 'aes128: key'
PS I create the base in SQLiteManager

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SabMakc, 2013-12-01
@SabMakc

Have you tried opening the native sqlite3 driver?
www.php.net/manual/ru/sqlite3.open.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question