Closed rogerbinns closed 1 month ago
If you do pragma abc = x'1234' then you get a syntax error at the x. Connection.pragma currently encodes binary that way.
pragma abc = x'1234'
x
The two choices are either to reject the value, or to wrap the blob value in double quotes so it becomes pragma abc = "x'1234'".
pragma abc = "x'1234'"
The latter is what SLite3 Multiple Ciphers expects. SEE uses a separate pragma hexkey.
Not going to fix. SQLite might accept blobs in the future, so doing magic conversion now won't help.
If you do
pragma abc = x'1234'
then you get a syntax error at thex
. Connection.pragma currently encodes binary that way.The two choices are either to reject the value, or to wrap the blob value in double quotes so it becomes
pragma abc = "x'1234'"
.The latter is what SLite3 Multiple Ciphers expects. SEE uses a separate pragma hexkey.